Class Note

All Implemented Interfaces:
Serializable, GloballyUnique, Versioned

@Entity public class Note extends PersistableBusinessObjectBaseAdapter
Represents a user note in the system.
See Also:
  • Constructor Details

    • Note

      public Note()
  • Method Details

    • setNotePostedTimestampToCurrent

      public void setNotePostedTimestampToCurrent()
      Sets the setNotePostedTimestamp(Timestamp) to the current time.
    • getNoteIdentifier

      public Long getNoteIdentifier()
      Gets the noteIdentifier attribute.
      Returns:
      Returns the noteIdentifier.
    • setNoteIdentifier

      public void setNoteIdentifier(Long noteIdentifier)
      Sets the noteIdentifier attribute value.
      Parameters:
      noteIdentifier - The noteIdentifier to set.
    • getRemoteObjectIdentifier

      public String getRemoteObjectIdentifier()
      Gets the remoteObjectIdentifier attribute.
      Returns:
      Returns the remoteObjectIdentifier
    • setRemoteObjectIdentifier

      public void setRemoteObjectIdentifier(String remoteObjectIdentifier)
      Sets the remoteObjectIdentifier attribute.
      Parameters:
      remoteObjectIdentifier - The remoteObjectIdentifier to set.
    • getAuthorUniversalIdentifier

      public String getAuthorUniversalIdentifier()
      Gets the authorUniversalIdentifier attribute.
      Returns:
      Returns the authorUniversalIdentifier
    • setAuthorUniversalIdentifier

      public void setAuthorUniversalIdentifier(String noteAuthorIdentifier)
      Sets the authorUniversalIdentifier attribute.
      Parameters:
      noteAuthorIdentifier - The author ID to be set as the AuthorUniversalIdentifier
    • getNotePostedTimestamp

      public Timestamp getNotePostedTimestamp()
      Gets the notePostedTimestamp attribute.
      Returns:
      Returns the notePostedTimestamp
    • setNotePostedTimestamp

      public void setNotePostedTimestamp(Timestamp notePostedTimestamp)
      Sets the notePostedTimestamp attribute.
      Parameters:
      notePostedTimestamp - The notePostedTimestamp to set.
    • getNoteTypeCode

      public String getNoteTypeCode()
      Gets the noteTypeCode attribute.
      Returns:
      Returns the noteTypeCode
    • setNoteTypeCode

      public void setNoteTypeCode(String noteTypeCode)
      Sets the noteTypeCode attribute.
      Parameters:
      noteTypeCode - The noteTypeCode to set.
    • getNoteText

      public String getNoteText()
      Gets the noteText attribute.
      Returns:
      Returns the noteText
    • setNoteText

      public void setNoteText(String noteText)
      Sets the noteText attribute.
      Parameters:
      noteText - The noteText to set.
    • getNoteTopicText

      public String getNoteTopicText()
      Gets the noteTopicText attribute.
      Returns:
      Returns the noteTopicText.
    • setNoteTopicText

      public void setNoteTopicText(String noteTopicText)
      Sets the noteTopicText attribute value.
      Parameters:
      noteTopicText - The noteTopicText to set.
    • getNotePurgeCode

      public String getNotePurgeCode()
      Gets the notePurgeCode attribute.
      Returns:
      Returns the notePurgeCode
    • setNotePurgeCode

      public void setNotePurgeCode(String notePurgeCode)
      Sets the notePurgeCode attribute.
      Parameters:
      notePurgeCode - The notePurgeCode to set.
    • getNoteType

      public NoteType getNoteType()
      Gets the noteType attribute.
      Returns:
      Returns the noteType.
    • setNoteType

      @Deprecated public void setNoteType(NoteType noteType)
      Deprecated.
      Sets the noteType attribute value.
      Parameters:
      noteType - The noteType to set.
    • getAuthorUniversal

      public Person getAuthorUniversal()
      Gets the authorUniversal attribute.
      Returns:
      Returns the authorUniversal.
    • setAuthorUniversal

      @Deprecated public void setAuthorUniversal(Person authorUniversal)
      Deprecated.
      Sets the authorUniversal attribute value.
      Parameters:
      authorUniversal - The authorUniversal to set.
    • getAttachment

      public Attachment getAttachment()
      Gets the attachment attribute.
      Returns:
      Returns the attachment.
    • setAttachment

      public void setAttachment(Attachment attachment)
      Sets the attachment attribute value.
      Parameters:
      attachment - The attachment to set.
    • getAttachmentIdentifier

      public String getAttachmentIdentifier()
      Gets the attachmentIdentifier attribute.
      Returns:
      Returns the attachmentIdentifier.
    • setAttachmentIdentifier

      public void setAttachmentIdentifier(String attachmentIdentifier)
      Sets the attachmentIdentifier attribute value.
      Parameters:
      attachmentIdentifier - The attachmentIdentifier to set.
    • addAttachment

      public void addAttachment(Attachment attachment)
      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

      public AdHocRouteRecipient getAdHocRouteRecipient()
      Returns:
      the adHocRouteRecipient
    • setAdHocRouteRecipient

      public void setAdHocRouteRecipient(AdHocRouteRecipient adHocRouteRecipient)
      Parameters:
      adHocRouteRecipient - the adHocRouteRecipient to set
    • getAttachmentLink

      public String getAttachmentLink()
      Returns:
      the attachmentLink
    • refresh

      public void refresh()
      Description copied from class: PersistableBusinessObjectBaseAdapter
      getService Refreshes the reference objects from the primitive values.
      Overrides:
      refresh in class PersistableBusinessObjectBaseAdapter
      See Also: