public interface DMSFolder extends DMSObject
Modifier and Type | Field and Description |
---|---|
static String |
PATH_SEPARATOR
Determines the character which is used to separate folders within a path string.
|
emptyKeys
Modifier and Type | Method and Description |
---|---|
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()
Deprecated.
since ep10, will be removed in ep11
|
boolean |
isEmpty()
Returns true if this folder is empty, false otherwise
|
List<DMSObject> |
listContents()
Returns a list holding the whole content of this folder.
|
boolean |
remove(DMSObject o)
Removes the passed object from this folder
|
boolean |
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.
|
attachNote, getChangedAt, getChangedBy, getCreatedAt, getCreatedBy, getDefaultOrgUnit, getName, getPermissionList, getTypeName, hasAttachedNotes, hasVersions, listAttachedNotes, listVersions, makeCopy, makeVersion, removeNote, setName, setPermissionList
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getOid, getStore, getTableName, getValue, isFilled, isValid, setFilled, setOid, setOid, setStore, toListString
static final String PATH_SEPARATOR
DMSObject add(DMSObject o)
o
- the object to be addedCollection<DMSObject> addAll(Collection<? extends DMSObject> v)
v
- the collection holding the objects to be addedvoid clear()
boolean contains(DMSObject o)
List<DMSObject> listContents()
boolean isEmpty()
boolean remove(DMSObject o)
boolean removeAll(Collection<DMSObject> v)
int size()
OrgUnit getOrgUnit()
void setOrgUnit(OrgUnit ou)
ProcessInstance getProcessContext()
void setProcessContext(ProcessInstance process)
String getPathToRoot()
DMSFolder getParentFolder()
@Deprecated String getTableModel()
DMSObjectTable
boolean bequestACL()
void bequestACL(boolean bequest)
@enterprise 10.0.36124 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.