public interface Backend
String getRootPath()
String getRootUrl()
CoreSession getSession() throws ClientException
ClientException
CoreSession getSession(boolean synchronize) throws ClientException
ClientException
String getBackendDisplayName()
void saveChanges() throws ClientException
ClientException
boolean isLocked(DocumentRef ref) throws ClientException
ClientException
boolean canUnlock(DocumentRef ref) throws ClientException
ClientException
String lock(DocumentRef ref) throws ClientException
ClientException
boolean unlock(DocumentRef ref) throws ClientException
ClientException
String getCheckoutUser(DocumentRef ref) throws ClientException
ClientException
DocumentModel resolveLocation(String location) throws ClientException
ClientException
void removeItem(String location) throws ClientException
ClientException
void removeItem(DocumentRef ref) throws ClientException
ClientException
void renameItem(DocumentModel source, String destinationName) throws ClientException
ClientException
DocumentModel moveItem(DocumentModel source, PathRef targetParentRef) throws ClientException
ClientException
DocumentModel moveItem(DocumentModel source, DocumentRef targetParentRef, String name) throws ClientException
ClientException
DocumentModel updateDocument(DocumentModel doc, String name, Blob content) throws ClientException
ClientException
DocumentModel copyItem(DocumentModel source, PathRef targetParentRef) throws ClientException
ClientException
DocumentModel createFolder(String parentPath, String name) throws ClientException
ClientException
DocumentModel createFile(String parentPath, String name, Blob content) throws ClientException
ClientException
DocumentModel createFile(String parentPath, String name) throws ClientException
ClientException
List<DocumentModel> getChildren(DocumentRef ref) throws ClientException
ClientException
boolean exists(String location)
boolean hasPermission(DocumentRef docRef, String permission) throws ClientException
ClientException
String getDisplayName(DocumentModel doc)
LinkedList<String> getVirtualFolderNames() throws ClientException
ClientException
boolean isVirtual()
boolean isRoot()
String getVirtualPath(String path) throws ClientException
ClientException
DocumentModel getDocument(String location) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.