Package org.kuali.rice.krad.bo
Class Note
java.lang.Object
org.kuali.rice.krad.bo.DataObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBaseAdapter
org.kuali.rice.krad.bo.Note
- All Implemented Interfaces:
Serializable,GloballyUnique,Versioned
Represents a user note in the system.
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBaseAdapter
extension, newCollectionRecordFields inherited from class org.kuali.rice.krad.bo.DataObjectBase
objectId, versionNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(Attachment attachment) Adds the given attachment to this note.Gets the attachment attribute.Gets the attachmentIdentifier attribute.Gets the authorUniversal attribute.Gets the authorUniversalIdentifier attribute.Gets the noteIdentifier attribute.Gets the notePostedTimestamp attribute.Gets the notePurgeCode attribute.Gets the noteText attribute.Gets the noteTopicText attribute.Gets the noteType attribute.Gets the noteTypeCode attribute.Gets the remoteObjectIdentifier attribute.voidrefresh()getService Refreshes the reference objects from the primitive values.voidRemoves the current attachment, if any.voidsetAdHocRouteRecipient(AdHocRouteRecipient adHocRouteRecipient) voidsetAttachment(Attachment attachment) Sets the attachment attribute value.voidsetAttachmentIdentifier(String attachmentIdentifier) Sets the attachmentIdentifier attribute value.voidsetAuthorUniversal(Person authorUniversal) Deprecated.voidsetAuthorUniversalIdentifier(String noteAuthorIdentifier) Sets the authorUniversalIdentifier attribute.voidsetNoteIdentifier(Long noteIdentifier) Sets the noteIdentifier attribute value.voidsetNotePostedTimestamp(Timestamp notePostedTimestamp) Sets the notePostedTimestamp attribute.voidSets thesetNotePostedTimestamp(Timestamp)to the current time.voidsetNotePurgeCode(String notePurgeCode) Sets the notePurgeCode attribute.voidsetNoteText(String noteText) Sets the noteText attribute.voidsetNoteTopicText(String noteTopicText) Sets the noteTopicText attribute value.voidsetNoteType(NoteType noteType) Deprecated.voidsetNoteTypeCode(String noteTypeCode) Sets the noteTypeCode attribute.voidsetRemoteObjectIdentifier(String remoteObjectIdentifier) Sets the remoteObjectIdentifier attribute.Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBaseAdapter
buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecordMethods inherited from class org.kuali.rice.krad.bo.DataObjectBase
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
-
Constructor Details
-
Note
public Note()
-
-
Method Details
-
setNotePostedTimestampToCurrent
public void setNotePostedTimestampToCurrent()Sets thesetNotePostedTimestamp(Timestamp)to the current time. -
getNoteIdentifier
Gets the noteIdentifier attribute.- Returns:
- Returns the noteIdentifier.
-
setNoteIdentifier
Sets the noteIdentifier attribute value.- Parameters:
noteIdentifier- The noteIdentifier to set.
-
getRemoteObjectIdentifier
Gets the remoteObjectIdentifier attribute.- Returns:
- Returns the remoteObjectIdentifier
-
setRemoteObjectIdentifier
Sets the remoteObjectIdentifier attribute.- Parameters:
remoteObjectIdentifier- The remoteObjectIdentifier to set.
-
getAuthorUniversalIdentifier
Gets the authorUniversalIdentifier attribute.- Returns:
- Returns the authorUniversalIdentifier
-
setAuthorUniversalIdentifier
Sets the authorUniversalIdentifier attribute.- Parameters:
noteAuthorIdentifier- The author ID to be set as the AuthorUniversalIdentifier
-
getNotePostedTimestamp
Gets the notePostedTimestamp attribute.- Returns:
- Returns the notePostedTimestamp
-
setNotePostedTimestamp
Sets the notePostedTimestamp attribute.- Parameters:
notePostedTimestamp- The notePostedTimestamp to set.
-
getNoteTypeCode
Gets the noteTypeCode attribute.- Returns:
- Returns the noteTypeCode
-
setNoteTypeCode
Sets the noteTypeCode attribute.- Parameters:
noteTypeCode- The noteTypeCode to set.
-
getNoteText
Gets the noteText attribute.- Returns:
- Returns the noteText
-
setNoteText
Sets the noteText attribute.- Parameters:
noteText- The noteText to set.
-
getNoteTopicText
Gets the noteTopicText attribute.- Returns:
- Returns the noteTopicText.
-
setNoteTopicText
Sets the noteTopicText attribute value.- Parameters:
noteTopicText- The noteTopicText to set.
-
getNotePurgeCode
Gets the notePurgeCode attribute.- Returns:
- Returns the notePurgeCode
-
setNotePurgeCode
Sets the notePurgeCode attribute.- Parameters:
notePurgeCode- The notePurgeCode to set.
-
getNoteType
Gets the noteType attribute.- Returns:
- Returns the noteType.
-
setNoteType
Deprecated.Sets the noteType attribute value.- Parameters:
noteType- The noteType to set.
-
getAuthorUniversal
Gets the authorUniversal attribute.- Returns:
- Returns the authorUniversal.
-
setAuthorUniversal
Deprecated.Sets the authorUniversal attribute value.- Parameters:
authorUniversal- The authorUniversal to set.
-
getAttachment
Gets the attachment attribute.- Returns:
- Returns the attachment.
-
setAttachment
Sets the attachment attribute value.- Parameters:
attachment- The attachment to set.
-
getAttachmentIdentifier
Gets the attachmentIdentifier attribute.- Returns:
- Returns the attachmentIdentifier.
-
setAttachmentIdentifier
Sets the attachmentIdentifier attribute value.- Parameters:
attachmentIdentifier- The attachmentIdentifier to set.
-
addAttachment
Adds the given attachment to this note. More specifically, sets both the attachmentIdentifier and the attachment reference, since they both need to be done separately now that we aren't using anonymous keys.- Parameters:
attachment-
-
removeAttachment
public void removeAttachment()Removes the current attachment, if any. More specifically, clears both the attachmentIdentifier and the attachment reference, since they both need to be done separately now that we aren't using anonymous keys. -
getAdHocRouteRecipient
- Returns:
- the adHocRouteRecipient
-
setAdHocRouteRecipient
- Parameters:
adHocRouteRecipient- the adHocRouteRecipient to set
-
getAttachmentLink
- Returns:
- the attachmentLink
-
refresh
public void refresh()Description copied from class:PersistableBusinessObjectBaseAdaptergetService Refreshes the reference objects from the primitive values.- Overrides:
refreshin classPersistableBusinessObjectBaseAdapter- See Also:
-