public class DocumentServlet extends OKMRemoteServiceServlet implements OKMDocumentService
WORKSPACE
Constructor and Description |
---|
DocumentServlet() |
doGetSerializationPolicy, getLanguage, getUserWorkspaceSession, init, saveUserWorkspaceSession, setLanguage, updateSessionManager
checkPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public List<GWTDocument> getChilds(String fldPath, Map<String,GWTFilter> mapFilter) throws OKMException
getChilds
in interface OKMDocumentService
OKMException
public List<GWTVersion> getVersionHistory(String docPath) throws OKMException
getVersionHistory
in interface OKMDocumentService
OKMException
public void delete(String docPath) throws OKMException
delete
in interface OKMDocumentService
OKMException
public void checkout(String docPath) throws OKMException
checkout
in interface OKMDocumentService
OKMException
public void cancelCheckout(String docPath) throws OKMException
cancelCheckout
in interface OKMDocumentService
OKMException
public void lock(String docPath) throws OKMException
lock
in interface OKMDocumentService
OKMException
public void unlock(String docPath) throws OKMException
unlock
in interface OKMDocumentService
OKMException
public GWTDocument rename(String docPath, String newName) throws OKMException
rename
in interface OKMDocumentService
OKMException
public void move(String docPath, String destPath) throws OKMException
move
in interface OKMDocumentService
OKMException
public void purge(String docPath) throws OKMException
purge
in interface OKMDocumentService
OKMException
public void restoreVersion(String docPath, String versionId) throws OKMException
restoreVersion
in interface OKMDocumentService
OKMException
public GWTDocument get(String docPath) throws OKMException
get
in interface OKMDocumentService
OKMException
public void copy(String docPath, String fldPath) throws OKMException
copy
in interface OKMDocumentService
OKMException
public Boolean isValid(String docPath) throws OKMException
isValid
in interface OKMDocumentService
OKMException
public Long getVersionHistorySize(String docPath) throws OKMException
getVersionHistorySize
in interface OKMDocumentService
OKMException
public void purgeVersionHistory(String docPath) throws OKMException
purgeVersionHistory
in interface OKMDocumentService
OKMException
public void forceUnlock(String docPath) throws OKMException
forceUnlock
in interface OKMDocumentService
OKMException
public void forceCancelCheckout(String docPath) throws OKMException
forceCancelCheckout
in interface OKMDocumentService
OKMException
public GWTDocument createFromTemplate(String tplPath, String destinationPath, List<GWTFormElement> formProperties, Map<String,List<Map<String,String>>> tableProperties) throws OKMException
createFromTemplate
in interface OKMDocumentService
OKMException
public String updateFromTemplate(String tplPath, String destinationPath, List<GWTFormElement> formProperties, Map<String,List<Map<String,String>>> tableProperties) throws OKMException
updateFromTemplate
in interface OKMDocumentService
OKMException
public String convertToPdf(String docPath) throws OKMException
convertToPdf
in interface OKMDocumentService
OKMException
public void liveEditCheckin(String docPath, String mails, String users, String roles, String message, String comment, int increaseVersion) throws OKMException
liveEditCheckin
in interface OKMDocumentService
OKMException
public void liveEditCancelCheckout(String docPath) throws OKMException
liveEditCancelCheckout
in interface OKMDocumentService
OKMException
public void liveEditForceCancelCheckout(String docPath) throws OKMException
liveEditForceCancelCheckout
in interface OKMDocumentService
OKMException
public void mergePdf(String docName, List<String> paths) throws OKMException
mergePdf
in interface OKMDocumentService
OKMException
public List<GWTDocument> getAllTemplates() throws OKMException
getAllTemplates
in interface OKMDocumentService
OKMException
public void createFromTemplate(String docPath, String fldPath, String name, GWTExtendedAttributes attributes) throws OKMException
createFromTemplate
in interface OKMDocumentService
OKMException
public String getHTMLContent(String path, boolean checkout) throws OKMException
getHTMLContent
in interface OKMDocumentService
OKMException
public void setHTMLContent(String docPath, String mails, String users, String roles, String message, String content, String comment, int increaseVersion) throws OKMException
setHTMLContent
in interface OKMDocumentService
OKMException
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.