public interface Backend
String getRootPath()
String getRootUrl()
CoreSession getSession() throws ClientException
ClientExceptionCoreSession getSession(boolean synchronize) throws ClientException
ClientExceptionString getBackendDisplayName()
void saveChanges()
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
ClientExceptionorg.nuxeo.common.utils.Path parseLocation(String location)
DocumentModel 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 moveItem(DocumentModel source, DocumentRef targetParentRef, String name) throws ClientException
ClientExceptionDocumentModel updateDocument(DocumentModel doc, String name, Blob content) 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
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()
boolean isRoot()
String getVirtualPath(String path) throws ClientException
ClientExceptionDocumentModel getDocument(String location) throws ClientException
ClientExceptionCopyright © 2020 Nuxeo SA. All rights reserved.