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
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected String
protected String
protected String
protected long
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canMove
(FolderItem dest) void
delete()
boolean
boolean
boolean
boolean
long
getSize()
int
hashCode()
move
(FolderItem dest) void
void
setCanCreateChild
(boolean canCreateChild) void
setCanScrollDescendants
(boolean canScrollDescendants) void
setCanUpdate
(boolean canUpdate) void
void
setDigestAlgorithm
(String digestAlgorithm) void
setDownloadURL
(String downloadURL) void
setSize
(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:
equals
in classAbstractFileSystemItem
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractFileSystemItem
-