Package com.groiss.dms
Interface DMSNote
- All Superinterfaces:
DMSForm
,DMSObject
,HasLog
,HasOwner
,HasPermissionList
,HasVersionId
,KeyValuePair<String,
,String> OptimisticLocking
,Persistent
,Serializable
The base interface for all notes in @enterprise DMS
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Defines the various types of a note -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Defines the name of the field holding the content of this note.static final String
Defines the name of the field holding the subject of this note.Fields inherited from interface com.groiss.store.Persistent
emptyKeys
-
Method Summary
Modifier and TypeMethodDescriptionReturns the object to which this note is attached to or null if this note is not attached to any object.getType()
Returns if type of this note.void
setType
(DMSNote.Type newType) Sets the type of this note.Methods inherited from interface com.groiss.dms.DMSForm
getField, getFieldType, getFormType, getSubforms, hasField, setActivityContext, setActivityContext, setField
Methods inherited from interface com.groiss.dms.DMSObject
attachNote, getChangedAt, getChangedBy, getCreatedAt, getCreatedBy, getName, getTypeName, hasAttachedNotes, hasVersions, listAttachedNotes, listVersions, makeCopy, makeVersion, removeNote, setName
Methods inherited from interface com.groiss.org.HasPermissionList
getDefaultOrgUnit, getPermissionList, setPermissionList
Methods inherited from interface com.groiss.org.HasVersionId
getVersionId, setVersionId
Methods inherited from interface com.groiss.store.OptimisticLocking
getTransactionId, increaseTransactionId, setTransactionId
Methods inherited from interface com.groiss.store.Persistent
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getOid, getStore, getTableName, getValue, isFilled, isValid, setFilled, setOid, setOid, toListString
-
Field Details
-
SUBJECT
Defines the name of the field holding the subject of this note.- See Also:
-
CONTENT
Defines the name of the field holding the content of this note.- See Also:
-
-
Method Details
-
getAttachedTo
Persistent getAttachedTo()Returns the object to which this note is attached to or null if this note is not attached to any object. -
getType
DMSNote.Type getType()Returns if type of this note.- Returns:
- the type
-
setType
Sets the type of this note.- Parameters:
newType
- the new type
-