|
|||||||||
| 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 java.lang.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 |
java.util.Collection |
addAll(java.util.Collection 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. |
java.lang.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) |
java.lang.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 |
java.util.List |
listContents()
Returns a list holding the whole content of this folder. |
void |
remove(DMSObject o)
Removes the passed object from this folder |
void |
removeAll(java.util.Collection 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, getOid, 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, getStore, getTableName, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore |
| Field Detail |
|---|
static final java.lang.String PATH_SEPARATOR
| Method Detail |
|---|
DMSObject add(DMSObject o)
throws java.lang.Exception
o - the object to be added
java.lang.Exception
java.util.Collection addAll(java.util.Collection v)
throws java.lang.Exception
v - the collection holding the objects to be added
java.lang.Exception
void clear()
throws java.lang.Exception
java.lang.Exceptionboolean contains(DMSObject o)
java.util.List listContents()
boolean isEmpty()
void remove(DMSObject o)
throws java.lang.Exception
java.lang.Exception
void removeAll(java.util.Collection v)
throws java.lang.Exception
java.lang.Exceptionint size()
OrgUnit getOrgUnit()
void setOrgUnit(OrgUnit ou)
throws java.lang.Exception
java.lang.ExceptionProcessInstance getProcessContext()
void setProcessContext(ProcessInstance process)
java.lang.String getPathToRoot()
DMSFolder getParentFolder()
java.lang.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 | ||||||||