public class SimpleBackend extends AbstractCoreBackend
destroy, discardChanges, discardChanges, getSession, getSession, saveChanges, saveChanges, setSession
public String getRootPath()
public String getRootUrl()
public String getBackendDisplayName()
public boolean exists(String location)
public boolean hasPermission(DocumentRef docRef, String permission) throws ClientException
ClientException
public DocumentModel updateDocument(DocumentModel doc, String name, Blob content) throws ClientException
ClientException
public LinkedList<String> getVirtualFolderNames() throws ClientException
ClientException
public final boolean isVirtual()
public boolean isRoot()
public DocumentModel resolveLocation(String location) throws ClientException
ClientException
public void removeItem(String location) throws ClientException
ClientException
public void removeItem(DocumentRef ref) throws ClientException
ClientException
public void renameItem(DocumentModel source, String destinationName) throws ClientException
ClientException
public DocumentModel moveItem(DocumentModel source, PathRef targetParentRef) throws ClientException
ClientException
public DocumentModel moveItem(DocumentModel source, DocumentRef targetParentRef, String name) throws ClientException
ClientException
public DocumentModel copyItem(DocumentModel source, PathRef targetParentRef) throws ClientException
ClientException
public DocumentModel createFolder(String parentPath, String name) throws ClientException
ClientException
public DocumentModel createFile(String parentPath, String name, Blob content) throws ClientException
ClientException
public DocumentModel createFile(String parentPath, String name) throws ClientException
ClientException
public String getDisplayName(DocumentModel doc)
public List<DocumentModel> getChildren(DocumentRef ref) throws ClientException
ClientException
public boolean isLocked(DocumentRef ref) throws ClientException
ClientException
public boolean canUnlock(DocumentRef ref) throws ClientException
ClientException
public String lock(DocumentRef ref) throws ClientException
ClientException
public boolean unlock(DocumentRef ref) throws ClientException
ClientException
public String getCheckoutUser(DocumentRef ref) throws ClientException
ClientException
public DocumentModel getDocument(String location) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.