public abstract class AbstractVirtualBackend extends AbstractCoreBackend implements VirtualBackend
discardChanges, discardChanges, getSession, getSession, saveChanges, saveChanges, setSessionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdiscardChanges, getSession, getSession, saveChanges, setSessionpublic String getRootPath()
getRootPath in interface Backendpublic String getRootUrl()
getRootUrl in interface Backendpublic String getBackendDisplayName()
getBackendDisplayName in interface Backendpublic LinkedList<String> getVirtualFolderNames() throws ClientException
getVirtualFolderNames in interface BackendClientExceptionpublic Backend getBackend(String uri)
getBackend in interface Backendpublic void destroy()
destroy in interface Backenddestroy in class AbstractCoreBackendpublic boolean isLocked(DocumentRef ref) throws ClientException
isLocked in interface BackendClientExceptionpublic boolean canUnlock(DocumentRef ref) throws ClientException
canUnlock in interface BackendClientExceptionpublic String lock(DocumentRef ref) throws ClientException
lock in interface BackendClientExceptionpublic boolean unlock(DocumentRef ref) throws ClientException
unlock in interface BackendClientExceptionpublic String getCheckoutUser(DocumentRef ref) throws ClientException
getCheckoutUser in interface BackendClientExceptionpublic DocumentModel resolveLocation(String location) throws ClientException
resolveLocation in interface BackendClientExceptionpublic Path parseLocation(String location)
parseLocation in interface Backendpublic void removeItem(String location) throws ClientException
removeItem in interface BackendClientExceptionpublic void removeItem(DocumentRef ref) throws ClientException
removeItem in interface BackendClientExceptionpublic void renameItem(DocumentModel source, String destinationName) throws ClientException
renameItem in interface BackendClientExceptionpublic DocumentModel moveItem(DocumentModel source, PathRef targetParentRef) throws ClientException
moveItem in interface BackendClientExceptionpublic DocumentModel copyItem(DocumentModel source, PathRef targetParentRef) throws ClientException
copyItem in interface BackendClientExceptionpublic DocumentModel createFolder(String parentPath, String name) throws ClientException
createFolder in interface BackendClientExceptionpublic DocumentModel createFile(String parentPath, String name, Blob content) throws ClientException
createFile in interface BackendClientExceptionpublic DocumentModel createFile(String parentPath, String name) throws ClientException
createFile in interface BackendClientExceptionpublic List<DocumentModel> getChildren(DocumentRef ref) throws ClientException
getChildren in interface BackendClientExceptionpublic String getDisplayName(DocumentModel doc)
getDisplayName in interface Backendpublic boolean hasPermission(DocumentRef docRef, String permission) throws ClientException
hasPermission in interface BackendClientExceptionpublic DocumentModel getDocument(String location) throws ClientException
getDocument in interface BackendClientExceptionpublic DocumentModel updateDocument(DocumentModel doc, String name, Blob content) throws ClientException
updateDocument in interface BackendClientExceptionpublic DocumentModel moveItem(DocumentModel source, DocumentRef targetParentRef, String name) throws ClientException
moveItem in interface BackendClientExceptionpublic String getVirtualPath(String path) throws ClientException
getVirtualPath in interface BackendClientExceptionpublic LinkedList<String> getOrderedBackendNames() throws ClientException
getOrderedBackendNames in interface VirtualBackendClientExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.