public abstract class AbstractFileSystemItem extends Object implements FileSystemItem
FileSystemItem implementations.AbstractDocumentBackedFileSystemItem,
DefaultTopLevelFolderItem,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_SYSTEM_ITEM_ID_SEPARATOR |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
canMove(FolderItem dest) |
int |
compareTo(FileSystemItem other) |
abstract void |
delete() |
boolean |
equals(Object obj) |
boolean |
getCanDelete() |
boolean |
getCanRename() |
Calendar |
getCreationDate() |
String |
getCreator() |
String |
getId()
Gets a unique id generated server-side.
|
Calendar |
getLastModificationDate() |
String |
getName()
Gets the name displayed in the file system.
|
String |
getParentId()
Gets the parent
FileSystemItem id. |
String |
getPath()
A concatenation of ancestor ids with '/' as prefix
and separator.
|
String |
getUserName() |
int |
hashCode() |
boolean |
isFolder() |
abstract FileSystemItem |
move(FolderItem dest) |
abstract void |
rename(String name) |
String |
toString() |
public static final String FILE_SYSTEM_ITEM_ID_SEPARATOR
public abstract void rename(String name) throws ClientException
rename in interface FileSystemItemClientExceptionpublic abstract void delete()
throws ClientException
delete in interface FileSystemItemClientExceptionpublic abstract boolean canMove(FolderItem dest) throws ClientException
canMove in interface FileSystemItemClientExceptionpublic abstract FileSystemItem move(FolderItem dest) throws ClientException
move in interface FileSystemItemClientExceptionpublic String getId()
FileSystemItemgetId in interface FileSystemItempublic String getPath()
FileSystemItemgetPath in interface FileSystemItempublic String getParentId()
FileSystemItemFileSystemItem id.getParentId in interface FileSystemItempublic String getName()
FileSystemItemgetName in interface FileSystemItempublic boolean isFolder()
isFolder in interface FileSystemItempublic String getCreator()
getCreator in interface FileSystemItempublic Calendar getCreationDate()
getCreationDate in interface FileSystemItempublic Calendar getLastModificationDate()
getLastModificationDate in interface FileSystemItempublic boolean getCanRename()
getCanRename in interface FileSystemItempublic boolean getCanDelete()
getCanDelete in interface FileSystemItempublic String getUserName()
public int compareTo(FileSystemItem other)
compareTo in interface Comparable<FileSystemItem>Copyright © 2014 Nuxeo SA. All rights reserved.