public class CollectionSyncRootFolderItem extends DefaultSyncRootFolderItem implements FolderItem
FolderItem
.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 |
CollectionSyncRootFolderItem() |
|
CollectionSyncRootFolderItem(String factoryName,
FolderItem parentItem,
DocumentModel doc) |
|
CollectionSyncRootFolderItem(String factoryName,
FolderItem parentItem,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
Modifier and Type | Method and Description |
---|---|
FileItem |
createFile(Blob blob) |
FolderItem |
createFolder(String name) |
List<FileSystemItem> |
getChildren() |
protected void |
initialize(DocumentModel doc) |
canMove, delete, move
getCanCreateChild, getFileManager, rename, setCanCreateChild
computeId, getDocId, getDocPath, getDocument, getDocumentById, getRepositoryName, getTrashService, handleCollectionMember, 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
getCanCreateChild
canMove, delete, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, isFolder, move, rename
compareTo
public CollectionSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)
public CollectionSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
protected CollectionSyncRootFolderItem()
public List<FileSystemItem> getChildren()
getChildren
in interface FolderItem
getChildren
in class DocumentBackedFolderItem
public FolderItem createFolder(String name)
createFolder
in interface FolderItem
createFolder
in class DocumentBackedFolderItem
public FileItem createFile(Blob blob)
createFile
in interface FolderItem
createFile
in class DocumentBackedFolderItem
protected final void initialize(DocumentModel doc)
initialize
in class DocumentBackedFolderItem
Copyright © 2015 Nuxeo SA. All rights reserved.