public interface DMSObject extends com.dec.avw.core.OwnedObject, Persistent, OptimisticLocking
emptyKeys
Modifier and Type | Method and Description |
---|---|
void |
attachNote(DMSNote note,
User user)
Attaches the passed note to this object
|
Date |
getChangedAt()
Returns the date of the last modification of this object.
|
User |
getChangedBy()
Returns the user who made the last modification of this object.
|
Date |
getCreatedAt()
Returns the date when this object was created
|
User |
getCreatedBy()
Returns the user who created this object
|
OrgUnit |
getDefaultOrgUnit()
Returns the default organizational unit of this object.
|
String |
getName()
Returns the name of this object.
|
PermissionList |
getPermissionList()
Returns the acl of this object.
|
String |
getTypeName()
Returns a string representing the type of this object.
|
boolean |
hasAttachedNotes(User user)
Returns if there are any notes attached to this document which are visible to the passed user.
|
boolean |
hasVersions()
Returns if this form has at least one version.
|
List<DMSNote> |
listAttachedNotes(User user)
Returns a list of the attached notes of this object on which the passed user has the right
to view them.
|
List<PersistentVersion> |
listVersions()
Returns the versions of this form in descending order of their creation date
|
DMSObject |
makeCopy(User user)
Returns a copy of this object.
|
PersistentVersion |
makeVersion(User user,
String description)
Makes a version of this object with the passed string as version description
|
void |
removeNote(DMSNote note,
User user)
Removes the passed note from this object
|
void |
setName(String name)
Sets the name of this object to passed string.
|
void |
setPermissionList(PermissionList acl)
Sets the acl for this object.
|
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getOid, getStore, getTableName, getValue, isFilled, isValid, setFilled, setOid, setOid, setStore, toListString
getTransactionId, increaseTransactionId, setTransactionId
String getName()
void setName(String name)
name
- the new nameDate getCreatedAt()
User getCreatedBy()
Date getChangedAt()
User getChangedBy()
String getTypeName()
DMSObject makeCopy(User user)
user
- the user who wants to make the copy.void setPermissionList(PermissionList acl)
acl
- the acl to be setPermissionList getPermissionList()
OrgUnit getDefaultOrgUnit()
PersistentVersion makeVersion(User user, String description)
user
- the user who wants to make the versiondescription
- the description text for this versionList<PersistentVersion> listVersions()
PersistentVersion
objects.boolean hasVersions()
void attachNote(DMSNote note, User user)
note
- the note to be attacheduser
- the user who wants to attach the notevoid removeNote(DMSNote note, User user)
note
- the note to be removeduser
- the user who wants to remove the noteList<DMSNote> listAttachedNotes(User user)
user
- the user who requests the attached notesboolean hasAttachedNotes(User user)
user
- the user for whom this request is performed@enterprise 10.0.38589 Copyright © 2001-2024 Groiss Informatics GmbH. All Rights Reserved.