public class SimpleFileSystemItem extends AbstractFileSystemItem
Modifier and Type | Field and Description |
---|---|
protected boolean |
canCreateChild |
protected boolean |
canScrollDescendants |
protected boolean |
canUpdate |
protected String |
digest |
protected String |
digestAlgorithm |
protected String |
downloadURL |
canDelete, canRename, creationDate, creator, factoryName, FILE_SYSTEM_ITEM_ID_SEPARATOR, folder, id, lastContributor, lastModificationDate, lockInfo, name, parentId, path, principal, userName
Constructor and Description |
---|
SimpleFileSystemItem() |
Modifier and Type | Method and Description |
---|---|
boolean |
canMove(FolderItem dest) |
void |
delete() |
boolean |
getCanCreateChild() |
boolean |
getCanScrollDescendants() |
boolean |
getCanUpdate() |
String |
getDigest() |
String |
getDigestAlgorithm() |
String |
getDownloadURL() |
FileSystemItem |
move(FolderItem dest) |
void |
rename(String name) |
void |
setCanCreateChild(boolean canCreateChild) |
void |
setCanScrollDescendants(boolean canScrollDescendants) |
void |
setCanUpdate(boolean canUpdate) |
void |
setDigest(String digest) |
void |
setDigestAlgorithm(String digestAlgorithm) |
void |
setDownloadURL(String downloadURL) |
compareTo, equals, getCanDelete, getCanRename, getCreationDate, getCreator, getFileSystemItemAdapterService, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, getUserName, hashCode, isFolder, setCanDelete, setCanRename, setCreationDate, setCreator, setFolder, setId, setLastContributor, setLastModificationDate, setLockInfo, setName, setParentId, setPath, setUserName, toString
protected String downloadURL
protected String digestAlgorithm
protected boolean canUpdate
protected boolean canCreateChild
protected boolean canScrollDescendants
public SimpleFileSystemItem()
public String getDownloadURL()
public String getDigestAlgorithm()
public boolean getCanUpdate()
public boolean getCanCreateChild()
public boolean getCanScrollDescendants()
public void setDownloadURL(String downloadURL)
public void setDigestAlgorithm(String digestAlgorithm)
public void setCanUpdate(boolean canUpdate)
public void setCanCreateChild(boolean canCreateChild)
public void setCanScrollDescendants(boolean canScrollDescendants)
public void rename(String name)
rename
in interface FileSystemItem
rename
in class AbstractFileSystemItem
public void delete()
delete
in interface FileSystemItem
delete
in class AbstractFileSystemItem
public boolean canMove(FolderItem dest)
canMove
in interface FileSystemItem
canMove
in class AbstractFileSystemItem
public FileSystemItem move(FolderItem dest)
move
in interface FileSystemItem
move
in class AbstractFileSystemItem
Copyright © 2018 Nuxeo. All rights reserved.