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 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.Comparable
compareTo
-
Method Details
-
getId
String getId()Gets a unique id generated server-side. -
getParentId
String getParentId()Gets the parentFileSystemItemid. -
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
-