public abstract class AbstractVirtualFolderItem extends AbstractFileSystemItem implements FolderItem
FolderItem
.FILE_SYSTEM_ITEM_ID_SEPARATOR
Constructor and Description |
---|
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) |
compareTo, equals, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastModificationDate, getName, getParentId, getPath, getUserName, hashCode, isFolder, toString
getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastModificationDate, getName, getParentId, getPath, isFolder
compareTo
public AbstractVirtualFolderItem(String factoryName, Principal principal, String parentId, String parentPath, String folderName) throws ClientException
ClientException
public abstract List<FileSystemItem> getChildren() throws ClientException
getChildren
in interface FolderItem
ClientException
public void rename(String name) throws ClientException
rename
in interface FileSystemItem
rename
in class AbstractFileSystemItem
ClientException
public void delete() throws ClientException
delete
in interface FileSystemItem
delete
in class AbstractFileSystemItem
ClientException
public boolean canMove(FolderItem dest) throws ClientException
canMove
in interface FileSystemItem
canMove
in class AbstractFileSystemItem
ClientException
public FileSystemItem move(FolderItem dest) throws ClientException
move
in interface FileSystemItem
move
in class AbstractFileSystemItem
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 © 2013 Nuxeo SA. All Rights Reserved.