|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DMSFolder
This interface represents a folder containing DMSObjects.
| Field Summary | |
|---|---|
static String |
PATH_SEPARATOR
Determines the character which is used to separate folders within a path string. |
| Method Summary | |
|---|---|
DMSObject |
add(DMSObject o)
Adds the passed object to its content |
Collection<DMSObject> |
addAll(Collection<? extends DMSObject> v)
Adds all the objects of the passed collection to its content |
boolean |
bequestACL()
Returns true if objects which are added to this folder should inherit the folders ACL, otherwise false is returned |
void |
bequestACL(boolean bequest)
Sets if objects which are added to this folder should inherit the folders ACL. |
void |
clear()
Removes the whole content of this folder |
boolean |
contains(DMSObject o)
Returns true if the passed object is an element of this folder, false otherwise. |
OrgUnit |
getOrgUnit()
Returns the organizational unit to which this folder belongs to |
DMSFolder |
getParentFolder()
Returns the parent of this folder. |
String |
getPathToRoot()
Returns the path to the root as a string |
ProcessInstance |
getProcessContext()
Returns the process to which this folder may belong to (directly or indirectly) |
String |
getTableModel()
Returns the full qualified name of the class which is used for displaying the content of this folder. |
boolean |
isEmpty()
Returns true if this folder is empty, false otherwise |
List<DMSObject> |
listContents()
Returns a list holding the whole content of this folder. |
void |
remove(DMSObject o)
Removes the passed object from this folder |
void |
removeAll(Collection<DMSObject> v)
Removes all the objects in the collection from the folder |
void |
setOrgUnit(OrgUnit ou)
Sets the organizational unit to which this folder belongs to |
void |
setProcessContext(ProcessInstance process)
Sets the process to which this folder may belong to (directly or indirectly) |
int |
size()
Returns the number of elements in this folder. |
| Methods inherited from interface com.groiss.dms.DMSObject |
|---|
attachNote, getAcl, getChangedAt, getChangedBy, getCreatedAt, getCreatedBy, getDefaultOrgUnit, getIcon, getName, getTypeName, hasAttachedNotes, hasVersions, listAttachedNotes, listVersions, makeCopy, makeVersion, removeNote, setAcl, setName |
| Methods inherited from interface com.dec.avw.core.OwnedObject |
|---|
getOwner, ignoreSubstitution |
| Methods inherited from interface com.groiss.store.Persistent |
|---|
dbFields, getOid, getStore, getTableName, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore |
| Field Detail |
|---|
static final String PATH_SEPARATOR
| Method Detail |
|---|
DMSObject add(DMSObject o)
o - the object to be added
Collection<DMSObject> addAll(Collection<? extends DMSObject> v)
v - the collection holding the objects to be added
void clear()
boolean contains(DMSObject o)
List<DMSObject> listContents()
boolean isEmpty()
void remove(DMSObject o)
void removeAll(Collection<DMSObject> v)
int size()
OrgUnit getOrgUnit()
void setOrgUnit(OrgUnit ou)
ProcessInstance getProcessContext()
void setProcessContext(ProcessInstance process)
String getPathToRoot()
DMSFolder getParentFolder()
String getTableModel()
DMSObjectTable
boolean bequestACL()
void bequestACL(boolean bequest)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||