public abstract class AbstractVirtualFolderItem extends AbstractFileSystemItem implements FolderItem
FolderItem
.Modifier and Type | Field and Description |
---|---|
protected boolean |
canCreateChild |
canDelete, canRename, creationDate, creator, factoryName, FILE_SYSTEM_ITEM_ID_SEPARATOR, folder, id, lastContributor, lastModificationDate, name, parentId, path, principal, userName
Modifier | Constructor and Description |
---|---|
protected |
AbstractVirtualFolderItem() |
|
AbstractVirtualFolderItem(String factoryName,
Principal principal,
String parentId,
String parentPath,
String folderName) |
Modifier and Type | Method and Description |
---|---|
boolean |
canMove(FolderItem dest) |
FileItem |
createFile(Blob blob) |
FolderItem |
createFolder(String name) |
void |
delete() |
boolean |
getCanCreateChild() |
abstract List<FileSystemItem> |
getChildren() |
FileSystemItem |
move(FolderItem dest) |
void |
rename(String name) |
protected void |
setCanCreateChild(boolean canCreateChild) |
compareTo, equals, getCanDelete, getCanRename, getCreationDate, getCreator, getFileSystemItemAdapterService, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, getUserName, hashCode, isFolder, setCanDelete, setCanRename, setCreationDate, setCreator, setFolder, setId, setLastContributor, setLastModificationDate, setName, setParentId, setPath, setUserName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, isFolder
compareTo
protected boolean canCreateChild
public AbstractVirtualFolderItem(String factoryName, Principal principal, String parentId, String parentPath, String folderName)
protected AbstractVirtualFolderItem()
public abstract List<FileSystemItem> getChildren()
getChildren
in interface FolderItem
public void rename(String name)
rename
in interface FileSystemItem
rename
in class AbstractFileSystemItem
public void delete()
delete
in interface FileSystemItem
delete
in class AbstractFileSystemItem
public boolean canMove(FolderItem dest)
canMove
in interface FileSystemItem
canMove
in class AbstractFileSystemItem
public FileSystemItem move(FolderItem dest)
move
in interface FileSystemItem
move
in class AbstractFileSystemItem
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 setCanCreateChild(boolean canCreateChild)
Copyright © 2016 Nuxeo SA. All rights reserved.