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 |
canCreateChilddocId, docPath, docTitle, repositoryNamecanDelete, 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, setCanCreateChildcanMove, computeId, getDocId, getDocPath, getDocument, getDocumentById, getRepositoryName, getTrashService, handleCollectionMember, parseFileSystemId, setId, updateLastModificationDatecompareTo, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanMove, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, isFoldercompareToprotected 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 FileSystemItemrename in class DocumentBackedFolderItempublic void delete()
delete in interface FileSystemItemdelete in class AbstractDocumentBackedFileSystemItempublic FileSystemItem move(FolderItem dest)
move in interface FileSystemItemmove in class AbstractDocumentBackedFileSystemItempublic List<FileSystemItem> getChildren()
getChildren in interface FolderItemgetChildren in class DocumentBackedFolderItemprotected NuxeoDriveManager getNuxeoDriveManager()
Copyright © 2015 Nuxeo SA. All rights reserved.