public interface WebDavBackend
void saveChanges()
throws ClientException
ClientExceptionvoid discardChanges()
throws ClientException
ClientExceptionboolean isLocked(DocumentRef ref) throws ClientException
ClientExceptionboolean canUnlock(DocumentRef ref) throws ClientException
ClientExceptionString lock(DocumentRef ref) throws ClientException
ClientExceptionboolean unlock(DocumentRef ref) throws ClientException
ClientExceptionString getCheckoutUser(DocumentRef ref) throws ClientException
ClientExceptionDocumentModel resolveLocation(String location) throws ClientException
ClientExceptionvoid removeItem(String location) throws ClientException
ClientExceptionvoid removeItem(DocumentRef ref) throws ClientException
ClientExceptionvoid renameItem(DocumentModel source, String destinationName) throws ClientException
ClientExceptionDocumentModel moveItem(DocumentModel source, PathRef targetParentRef) throws ClientException
ClientExceptionDocumentModel copyItem(DocumentModel source, PathRef targetParentRef) throws ClientException
ClientExceptionDocumentModel createFolder(String parentPath, String name) throws ClientException
ClientExceptionDocumentModel createFile(String parentPath, String name, Blob content) throws ClientException
ClientExceptionDocumentModel createFile(String parentPath, String name) throws ClientException
ClientExceptionDocumentModel updateDocument(DocumentModel doc, String name, Blob content) throws ClientException
ClientExceptionList<DocumentModel> getChildren(DocumentRef ref) throws ClientException
ClientExceptionboolean exists(String location)
boolean hasPermission(DocumentRef docRef, String permission) throws ClientException
ClientExceptionString getDisplayName(DocumentModel doc)
LinkedList<String> getVirtualFolderNames() throws ClientException
ClientExceptionboolean isVirtual()
DocumentModel getDocument(String location) throws Exception
ExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.