@AccessLevel(value=EXTERNAL)
public interface Note
extends curam.util.persistence.StandardEntity
Note
entity.Modifier and Type | Method and Description |
---|---|
void |
checkSecurity()
Performs the security check for this note ensuring the user has appropriate
sensitivity level to view this note.
|
curam.util.type.DateTime |
getCreationDateTime()
Retrieves the date and time the note was created on.
|
java.lang.String |
getLastNote()
Gets the last note entered on this note.
|
java.lang.String |
getNotesText()
Retrieves the value of the notesText field.
|
curam.codetable.impl.NOTEPRIORITYEntry |
getPriority()
Retrieves the priority value of the note.
|
curam.codetable.impl.SENSITIVITYEntry |
getSensitivity()
Retrieves the sensitivity value for the note.
|
java.lang.String |
getSubjectText()
Retrieves the subjectText value for the note.
|
User |
getUser()
Retrieves the
User who created the note entry. |
java.util.List<NoteDetails> |
listNoteDetails()
Retrieves a
List of the NoteDetails for this note. |
curam.codetable.impl.SENSITIVITYEntry getSensitivity()
java.lang.String getNotesText()
User getUser()
User
who created the note entry.curam.util.type.DateTime getCreationDateTime()
curam.codetable.impl.NOTEPRIORITYEntry getPriority()
java.lang.String getSubjectText()
java.lang.String getLastNote() throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.InformationalException
- Generic Exception Signaturecuram.util.exception.AppException
- Generic Exception Signaturejava.util.List<NoteDetails> listNoteDetails()
List
of the NoteDetails
for this note. Each
note detail represents an note entry by a User
for this note.
This method retrieves the details of each note entry in a object form
rather the xml format which is returned through getNotesText()
.
void checkSecurity() throws curam.util.exception.InformationalException
If the security check fails then the user does not have the appropriate sensitivity level for viewing this note and an exception is thrown.
curam.util.exception.InformationalException
- BPOGENERALSECURITYExceptionCreator#ERR_SENSITIVITY_READ_ACCESS_DENIED()
if the user does not have the sensitivity level to view this note