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 Summary
Modifier and TypeMethodDescriptionboolean
canMove
(FolderItem dest) void
delete()
boolean
boolean
getId()
Gets a unique id generated server-side.getName()
Gets the name displayed in the file system.Gets the parentFileSystemItem
id.getPath()
A concatenation of ancestor ids with '/' as prefix and separator.boolean
isFolder()
move
(FolderItem dest) void
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getId
String getId()Gets a unique id generated server-side. -
getParentId
String getParentId()Gets the parentFileSystemItem
id. -
getPath
String getPath()A concatenation of ancestor ids with '/' as prefix and separator. -
getName
String getName()Gets the name displayed in the file system. -
isFolder
boolean isFolder() -
getCreator
String getCreator() -
getLastContributor
String getLastContributor() -
getCreationDate
Calendar getCreationDate() -
getLastModificationDate
Calendar getLastModificationDate() -
getCanRename
boolean getCanRename() -
rename
-
getCanDelete
boolean getCanDelete() -
delete
void delete() -
getLockInfo
Lock getLockInfo() -
canMove
-
move
-