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