All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
boolean |
canUnlock(DocumentRef ref) |
protected boolean |
cleanTrashPath(DocumentModel parent,
String name) |
protected boolean |
cleanTrashPath(DocumentRef parentRef,
String name) |
DocumentModel |
copyItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
createFile(String parentPath,
String name) |
DocumentModel |
createFile(String parentPath,
String name,
Blob content) |
DocumentModel |
createFolder(String parentPath,
String name) |
protected String |
encode(byte[] bytes,
String encoding) |
boolean |
exists(String location) |
Backend |
getBackend(String path) |
String |
getBackendDisplayName() |
String |
getCheckoutUser(DocumentRef ref) |
List<DocumentModel> |
getChildren(DocumentRef ref) |
String |
getDisplayName(DocumentModel doc) |
DocumentModel |
getDocument(String location) |
protected String |
getFileName(DocumentModel doc) |
protected PathCache |
getPathCache() |
String |
getRootPath() |
String |
getRootUrl() |
protected TrashService |
getTrashService() |
LinkedList<String> |
getVirtualFolderNames() |
String |
getVirtualPath(String path) |
boolean |
hasPermission(DocumentRef docRef,
String permission) |
boolean |
isLocked(DocumentRef ref) |
boolean |
isRename(String source,
String destination) |
boolean |
isRoot() |
protected boolean |
isTrashDocument(DocumentModel model) |
boolean |
isVirtual() |
String |
lock(DocumentRef ref) |
DocumentModel |
moveItem(DocumentModel source,
DocumentRef targetParentRef,
String name) |
DocumentModel |
moveItem(DocumentModel source,
PathRef targetParentRef) |
Path |
parseLocation(String location) |
void |
removeItem(DocumentRef ref) |
void |
removeItem(String location) |
void |
renameItem(DocumentModel source,
String destinationName) |
DocumentModel |
resolveLocation(String location) |
protected DocumentModel |
resolveParent(String location) |
boolean |
unlock(DocumentRef ref) |
DocumentModel |
updateDocument(DocumentModel doc,
String name,
Blob content) |