public class DocumentBackedFolderItem extends AbstractDocumentBackedFileSystemItem implements FolderItem
DocumentModel backed implementation of a FolderItem.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canCreateChild |
docId, docPath, docTitle, repositoryNamecanDelete, canRename, creationDate, creator, factoryName, FILE_SYSTEM_ITEM_ID_SEPARATOR, folder, id, lastContributor, lastModificationDate, name, parentId, path, principal, userName| Modifier | Constructor and Description |
|---|---|
protected |
DocumentBackedFolderItem() |
|
DocumentBackedFolderItem(String factoryName,
DocumentModel doc) |
|
DocumentBackedFolderItem(String factoryName,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
|
DocumentBackedFolderItem(String factoryName,
FolderItem parentItem,
DocumentModel doc) |
|
DocumentBackedFolderItem(String factoryName,
FolderItem parentItem,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
| Modifier and Type | Method and Description |
|---|---|
FileItem |
createFile(Blob blob) |
FolderItem |
createFolder(String name) |
boolean |
getCanCreateChild() |
List<FileSystemItem> |
getChildren() |
protected FileManager |
getFileManager() |
protected void |
initialize(DocumentModel doc) |
void |
rename(String name) |
protected void |
setCanCreateChild(boolean canCreateChild) |
canMove, computeId, delete, getDocId, getDocPath, getDocument, getDocumentById, getRepositoryName, getTrashService, handleCollectionMember, move, parseFileSystemId, setId, updateLastModificationDatecompareTo, equals, getCanDelete, getCanRename, getCreationDate, getCreator, getFileSystemItemAdapterService, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, getUserName, hashCode, isFolder, setCanDelete, setCanRename, setCreationDate, setCreator, setFolder, setLastContributor, setLastModificationDate, setName, setParentId, setPath, setUserName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanMove, delete, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, isFolder, movecompareToprotected boolean canCreateChild
public DocumentBackedFolderItem(String factoryName, DocumentModel doc)
public DocumentBackedFolderItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint)
public DocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)
public DocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
protected DocumentBackedFolderItem()
public void rename(String name)
rename in interface FileSystemItemrename in class AbstractFileSystemItempublic List<FileSystemItem> getChildren()
getChildren in interface FolderItempublic boolean getCanCreateChild()
getCanCreateChild in interface FolderItempublic FolderItem createFolder(String name)
createFolder in interface FolderItempublic FileItem createFile(Blob blob)
createFile in interface FolderItemprotected void initialize(DocumentModel doc)
protected FileManager getFileManager()
protected void setCanCreateChild(boolean canCreateChild)
Copyright © 2015 Nuxeo SA. All rights reserved.