|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DMSObject
Method Summary | |
---|---|
void |
attachNote(DMSNote note,
User user)
Attaches the passed note to this object |
PermissionList |
getAcl()
Returns the acl of this object. |
java.util.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. |
java.util.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. |
java.lang.String |
getIcon()
Returns the path and name of the icon representing this object. |
java.lang.String |
getName()
Returns the name of this object. |
java.lang.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. |
java.util.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. |
java.util.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,
java.lang.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 |
setAcl(PermissionList acl)
Sets the acl for this object. |
void |
setName(java.lang.String name)
Sets the name of this object to passed string. |
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 |
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
name
- the new namejava.lang.String getIcon()
java.lang.Exception
java.util.Date getCreatedAt()
User getCreatedBy()
java.util.Date getChangedAt()
User getChangedBy()
java.lang.String getTypeName()
DMSObject makeCopy(User user)
user
- the user who wants to make the copy.void setAcl(PermissionList acl)
acl
- the acl to be setPermissionList getAcl()
OrgUnit getDefaultOrgUnit()
PersistentVersion makeVersion(User user, java.lang.String description)
user
- the user who wants to make the versiondescription
- the description text for this versionjava.util.List<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 notejava.util.List<DMSNote> listAttachedNotes(User user)
user
- the user who requests the attached notesboolean hasAttachedNotes(User user)
user
- the user for whom this request is performed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |