public class DirectoryData extends CommonData implements SystemData
Directory
,
Developer documentation: Files and directoriesModifier and Type | Field and Description |
---|---|
private boolean |
autoCompress |
private boolean |
autoShare |
private Set<FileData> |
files |
private DirectoryData |
parent |
private Set<DirectoryData> |
subdirectories |
private String |
systemId |
MAX_SYSTEM_ID_LENGTH
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
DirectoryData() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoCompress()
If files that are uploaded to this directory be compressed or not.
|
boolean |
getAutoShare()
If new files and subdirectories should inherit the share permission
on this directory or not.
|
(package private) Set<FileData> |
getFiles()
This is the inverse end.
|
String |
getName()
Get the name of the item.
|
DirectoryData |
getParent()
Get the parent directory of this directory.
|
(package private) Set<DirectoryData> |
getSubdirectories()
This is the inverse end.
|
String |
getSystemId()
Get the system id for the item.
|
void |
setAutoCompress(boolean autoCompress) |
void |
setAutoShare(boolean autoShare) |
(package private) void |
setFiles(Set<FileData> files) |
void |
setParent(DirectoryData parent) |
(package private) void |
setSubdirectories(Set<DirectoryData> subdirectories) |
void |
setSystemId(String systemId) |
getDescription, isRemoved, setDescription, setName, setRemoved
getItemKey, getProjectKey, setItemKey, setProjectKey
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
getOwner, setOwner
private String systemId
private DirectoryData parent
private boolean autoCompress
private boolean autoShare
private Set<DirectoryData> subdirectories
public String getName()
getName
in interface NameableData
getName
in class CommonData
String
with the name of the itempublic String getSystemId()
SystemData
getSystemId
in interface SystemData
public void setSystemId(String systemId)
public DirectoryData getParent()
public void setParent(DirectoryData parent)
public boolean getAutoCompress()
public void setAutoCompress(boolean autoCompress)
public boolean getAutoShare()
public void setAutoShare(boolean autoShare)
Set<FileData> getFiles()
FileData.getDirectory()
Set<DirectoryData> getSubdirectories()
getParent()
void setSubdirectories(Set<DirectoryData> subdirectories)