Package org.nuxeo.drive.adapter
Interface FileSystemItem
- All Superinterfaces:
- Comparable<FileSystemItem>
- All Known Subinterfaces:
- FileItem,- FolderItem
- All Known Implementing Classes:
- AbstractDocumentBackedFileSystemItem,- AbstractFileSystemItem,- AbstractVirtualFolderItem,- CollectionSyncRootFolderItem,- DefaultSyncRootFolderItem,- DefaultTopLevelFolderItem,- DocumentBackedFileItem,- DocumentBackedFolderItem,- ESSyncRootFolderItem,- PermissionTopLevelFolderItem,- SharedSyncRootParentFolderItem,- SimpleFileSystemItem,- UserSyncRootParentFolderItem,- UserWorkspaceSyncRootParentFolderItem,- UserWorkspaceTopLevelFolderItem
Representation of a file system item, typically a file or a folder.
- Author:
- Antoine Taillefer
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanMove(FolderItem dest) voiddelete()booleanbooleangetId()Gets a unique id generated server-side.getName()Gets the name displayed in the file system.Gets the parentFileSystemItemid.getPath()A concatenation of ancestor ids with '/' as prefix and separator.booleanisFolder()move(FolderItem dest) voidMethods inherited from interface java.lang.ComparablecompareTo
- 
Method Details- 
getIdString getId()Gets a unique id generated server-side.
- 
getParentIdString getParentId()Gets the parentFileSystemItemid.
- 
getPathString getPath()A concatenation of ancestor ids with '/' as prefix and separator.
- 
getNameString getName()Gets the name displayed in the file system.
- 
isFolderboolean isFolder()
- 
getCreatorString getCreator()
- 
getLastContributorString getLastContributor()
- 
getCreationDateCalendar getCreationDate()
- 
getLastModificationDateCalendar getLastModificationDate()
- 
getCanRenameboolean getCanRename()
- 
rename
- 
getCanDeleteboolean getCanDelete()
- 
deletevoid delete()
- 
getLockInfoLock getLockInfo()
- 
canMove
- 
move
 
-