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 |-- ...
Modifier and Type | Field and Description |
---|---|
protected String |
syncRootParentFactoryName |
protected DocumentModel |
userWorkspace |
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 |
UserWorkspaceTopLevelFolderItem() |
|
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() |
protected NuxeoDriveManager |
getNuxeoDriveManager() |
FileSystemItem |
move(FolderItem dest) |
void |
rename(String name) |
createFile, createFolder, getCanCreateChild, getFileManager, initialize, setCanCreateChild
canMove, 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
canMove, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, isFolder
compareTo
protected DocumentModel userWorkspace
protected String syncRootParentFactoryName
public UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName)
public UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName, boolean relaxSyncRootConstraint)
protected UserWorkspaceTopLevelFolderItem()
public void rename(String name)
rename
in interface FileSystemItem
rename
in class DocumentBackedFolderItem
public void delete()
delete
in interface FileSystemItem
delete
in class AbstractDocumentBackedFileSystemItem
public FileSystemItem move(FolderItem dest)
move
in interface FileSystemItem
move
in class AbstractDocumentBackedFileSystemItem
public List<FileSystemItem> getChildren()
getChildren
in interface FolderItem
getChildren
in class DocumentBackedFolderItem
protected NuxeoDriveManager getNuxeoDriveManager()
Copyright © 2015 Nuxeo SA. All rights reserved.