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, repositoryName
canDelete, 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, updateLastModificationDate
compareTo, 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canMove, delete, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, isFolder, move
compareTo
protected 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 FileSystemItem
rename
in class AbstractFileSystemItem
public List<FileSystemItem> getChildren()
getChildren
in interface FolderItem
public boolean getCanCreateChild()
getCanCreateChild
in interface FolderItem
public FolderItem createFolder(String name)
createFolder
in interface FolderItem
public FileItem createFile(Blob blob)
createFile
in interface FolderItem
protected void initialize(DocumentModel doc)
protected FileManager getFileManager()
protected void setCanCreateChild(boolean canCreateChild)
Copyright © 2015 Nuxeo SA. All rights reserved.