public class UserWorkspaceTopLevelFolderItem extends DocumentBackedFolderItem
FolderItem
.
Implements the following tree:
Nuxeo Drive |-- User workspace child 1 |-- User workspace child 2 |-- ... |-- My synchronized folders |-- Synchronized folder 1 |-- Synchronized folder 2 |-- ...
FILE_SYSTEM_ITEM_ID_SEPARATOR
Constructor and Description |
---|
UserWorkspaceTopLevelFolderItem(String factoryName,
DocumentModel userWorkspace,
String folderName,
String syncRootParentFactoryName) |
UserWorkspaceTopLevelFolderItem(String factoryName,
DocumentModel userWorkspace,
String folderName,
String syncRootParentFactoryName,
boolean relaxSyncRootConstraint) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
List<FileSystemItem> |
getChildren() |
FileSystemItem |
move(FolderItem dest) |
void |
rename(String name) |
createFile, createFolder, getCanCreateChild
canMove
compareTo, equals, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, getUserName, hashCode, isFolder, toString
canMove, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, isFolder
compareTo
public UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName) throws ClientException
ClientException
public UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName, boolean relaxSyncRootConstraint) throws ClientException
ClientException
public void rename(String name) throws ClientException
rename
in interface FileSystemItem
rename
in class DocumentBackedFolderItem
ClientException
public void delete() throws ClientException
delete
in interface FileSystemItem
delete
in class AbstractDocumentBackedFileSystemItem
ClientException
public FileSystemItem move(FolderItem dest) throws ClientException
move
in interface FileSystemItem
move
in class AbstractDocumentBackedFileSystemItem
ClientException
public List<FileSystemItem> getChildren() throws ClientException
getChildren
in interface FolderItem
getChildren
in class DocumentBackedFolderItem
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.