public class DocumentBackedFolderItem extends AbstractDocumentBackedFileSystemItem implements FolderItem
DocumentModel
backed implementation of a FolderItem
.FILE_SYSTEM_ITEM_ID_SEPARATOR
Constructor and Description |
---|
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() |
void |
rename(String name) |
canMove, delete, move
compareTo, equals, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, getUserName, hashCode, isFolder, toString
canMove, delete, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, isFolder, move
compareTo
public DocumentBackedFolderItem(String factoryName, DocumentModel doc) throws ClientException
ClientException
public DocumentBackedFolderItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint) throws ClientException
ClientException
public DocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc) throws ClientException
ClientException
public DocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint) throws ClientException
ClientException
public void rename(String name) throws ClientException
rename
in interface FileSystemItem
rename
in class AbstractFileSystemItem
ClientException
public List<FileSystemItem> getChildren() throws ClientException
getChildren
in interface FolderItem
ClientException
public boolean getCanCreateChild()
getCanCreateChild
in interface FolderItem
public FolderItem createFolder(String name) throws ClientException
createFolder
in interface FolderItem
ClientException
public FileItem createFile(Blob blob) throws ClientException
createFile
in interface FolderItem
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.