Package org.nuxeo.drive.adapter.impl
Class SimpleFileSystemItem
java.lang.Object
org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
org.nuxeo.drive.adapter.impl.SimpleFileSystemItem
- All Implemented Interfaces:
Comparable<FileSystemItem>,FileSystemItem
Simple FileSystemItem just holding data, used for JSON deserialization.
- Since:
- 9.10-HF01, 10.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected longFields inherited from class org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
canDelete, canRename, creationDate, creator, factoryName, FILE_SYSTEM_ITEM_ID_SEPARATOR, FILE_SYSTEM_ITEM_PATH_SEPARATOR, folder, id, lastContributor, lastModificationDate, lockInfo, name, parentId, path, principal, userName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanMove(FolderItem dest) voiddelete()booleanbooleanbooleanbooleanlonggetSize()inthashCode()move(FolderItem dest) voidvoidsetCanCreateChild(boolean canCreateChild) voidsetCanScrollDescendants(boolean canScrollDescendants) voidsetCanUpdate(boolean canUpdate) voidvoidsetDigestAlgorithm(String digestAlgorithm) voidsetDownloadURL(String downloadURL) voidsetSize(long size) Methods inherited from class org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
compareTo, getCanDelete, getCanRename, getCreationDate, getCreator, getFileSystemItemAdapterService, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, getUserName, isFolder, setCanDelete, setCanRename, setCreationDate, setCreator, setFolder, setId, setLastContributor, setLastModificationDate, setLockInfo, setName, setParentId, setPath, setUserName, toString
-
Field Details
-
downloadURL
-
digestAlgorithm
-
digest
-
size
protected long size- Since:
- 11.1
-
canUpdate
protected boolean canUpdate -
canCreateChild
protected boolean canCreateChild -
canScrollDescendants
protected boolean canScrollDescendants
-
-
Constructor Details
-
SimpleFileSystemItem
public SimpleFileSystemItem()
-
-
Method Details
-
getDownloadURL
-
getDigestAlgorithm
-
getDigest
-
getSize
public long getSize()- Since:
- 11.1
-
getCanUpdate
public boolean getCanUpdate() -
getCanCreateChild
public boolean getCanCreateChild() -
getCanScrollDescendants
public boolean getCanScrollDescendants() -
setDownloadURL
-
setDigestAlgorithm
-
setDigest
-
setSize
public void setSize(long size) - Since:
- 11.1
-
setCanUpdate
public void setCanUpdate(boolean canUpdate) -
setCanCreateChild
public void setCanCreateChild(boolean canCreateChild) -
setCanScrollDescendants
public void setCanScrollDescendants(boolean canScrollDescendants) -
rename
-
delete
public void delete() -
canMove
-
move
-
equals
- Overrides:
equalsin classAbstractFileSystemItem
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractFileSystemItem
-