public class DocumentService extends Object
Constructor and Description |
---|
DocumentService() |
Modifier and Type | Method and Description |
---|---|
void |
cancelCheckout(String docId) |
Version |
checkin(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) |
void |
checkout(String docId) |
void |
copy(String docId,
String dstId) |
Document |
create(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) |
Document |
createSimple(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) |
void |
delete(String docId) |
void |
forceCancelCheckout(String docId) |
void |
forceUnlock(String docId) |
DocumentList |
getChildren(String dstId) |
javax.ws.rs.core.Response |
getContent(String docId) |
javax.ws.rs.core.Response |
getContentByVersion(String docId,
String versionId) |
LockInfo |
getLockInfo(String docId) |
String |
getPath(String uuid) |
Document |
getProperties(String docId) |
VersionList |
getVersionHistory(String docId) |
long |
getVersionHistorySize(String docId) |
boolean |
isCheckedOut(String docId) |
boolean |
isLocked(String docId) |
boolean |
isValid(String docId) |
LockInfo |
lock(String docId) |
void |
move(String docId,
String dstId) |
void |
purge(String docId) |
void |
purgeVersionHistory(String docId) |
Document |
rename(String docId,
String newName) |
void |
restoreVersion(String docId,
String versionId) |
void |
setProperties(Document doc) |
void |
unlock(String docId) |
public Document create(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) throws GenericException
GenericException
public Document createSimple(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) throws GenericException
GenericException
public void delete(String docId) throws GenericException
GenericException
public Document getProperties(String docId) throws GenericException
GenericException
public javax.ws.rs.core.Response getContent(String docId) throws GenericException
GenericException
public javax.ws.rs.core.Response getContentByVersion(String docId, String versionId) throws GenericException
GenericException
public DocumentList getChildren(String dstId) throws GenericException
GenericException
public Document rename(String docId, String newName) throws GenericException
GenericException
public void setProperties(Document doc) throws GenericException
GenericException
public void checkout(String docId) throws GenericException
GenericException
public void cancelCheckout(String docId) throws GenericException
GenericException
public void forceCancelCheckout(String docId) throws GenericException
GenericException
public boolean isCheckedOut(String docId) throws GenericException
GenericException
public Version checkin(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) throws GenericException
GenericException
public VersionList getVersionHistory(String docId) throws GenericException
GenericException
public LockInfo lock(String docId) throws GenericException
GenericException
public void unlock(String docId) throws GenericException
GenericException
public void forceUnlock(String docId) throws GenericException
GenericException
public boolean isLocked(String docId) throws GenericException
GenericException
public LockInfo getLockInfo(String docId) throws GenericException
GenericException
public void purge(String docId) throws GenericException
GenericException
public void move(String docId, String dstId) throws GenericException
GenericException
public void copy(String docId, String dstId) throws GenericException
GenericException
public void restoreVersion(String docId, String versionId) throws GenericException
GenericException
public void purgeVersionHistory(String docId) throws GenericException
GenericException
public long getVersionHistorySize(String docId) throws GenericException
GenericException
public boolean isValid(String docId) throws GenericException
GenericException
public String getPath(String uuid) throws GenericException
GenericException
Copyright © 2015. All Rights Reserved.