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) |
@Path(value="/create") public Document create(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) throws GenericException
GenericException
@Path(value="/createSimple") public Document createSimple(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) throws GenericException
GenericException
@Path(value="/delete") public void delete(String docId) throws GenericException
GenericException
@Path(value="/getProperties") public Document getProperties(String docId) throws GenericException
GenericException
@Path(value="/getContent") public javax.ws.rs.core.Response getContent(String docId) throws GenericException
GenericException
@Path(value="/getContentByVersion") public javax.ws.rs.core.Response getContentByVersion(String docId, String versionId) throws GenericException
GenericException
@Path(value="/getChildren") public DocumentList getChildren(String dstId) throws GenericException
GenericException
@Path(value="/rename") public Document rename(String docId, String newName) throws GenericException
GenericException
@Path(value="/setProperties") public void setProperties(Document doc) throws GenericException
GenericException
@Path(value="/checkout") public void checkout(String docId) throws GenericException
GenericException
@Path(value="/cancelCheckout") public void cancelCheckout(String docId) throws GenericException
GenericException
@Path(value="/forceCancelCheckout") public void forceCancelCheckout(String docId) throws GenericException
GenericException
@Path(value="/isCheckedOut") public boolean isCheckedOut(String docId) throws GenericException
GenericException
@Path(value="/checkin") public Version checkin(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) throws GenericException
GenericException
@Path(value="/getVersionHistory") public VersionList getVersionHistory(String docId) throws GenericException
GenericException
@Path(value="/lock") public LockInfo lock(String docId) throws GenericException
GenericException
@Path(value="/unlock") public void unlock(String docId) throws GenericException
GenericException
@Path(value="/forceUnlock") public void forceUnlock(String docId) throws GenericException
GenericException
@Path(value="/isLocked") public boolean isLocked(String docId) throws GenericException
GenericException
@Path(value="/getLockInfo") public LockInfo getLockInfo(String docId) throws GenericException
GenericException
@Path(value="/purge") public void purge(String docId) throws GenericException
GenericException
@Path(value="/move") public void move(String docId, String dstId) throws GenericException
GenericException
@Path(value="/copy") public void copy(String docId, String dstId) throws GenericException
GenericException
@Path(value="/restoreVersion") public void restoreVersion(String docId, String versionId) throws GenericException
GenericException
@Path(value="/purgeVersionHistory") public void purgeVersionHistory(String docId) throws GenericException
GenericException
@Path(value="/getVersionHistorySize") public long getVersionHistorySize(String docId) throws GenericException
GenericException
@Path(value="/isValid") public boolean isValid(String docId) throws GenericException
GenericException
@Path(value="/getPath/{uuid}") public String getPath(String uuid) throws GenericException
GenericException
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.