Class Message

java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.communication.Message
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EMail, SystemMessage

public abstract class Message extends PersistentObject
This is the parent class for email and system message.
Version:
1.0
Author:
Michael Scholz, Marco Meschieri
See Also:
  • Field Details

  • Constructor Details

    • Message

      public Message()
  • Method Details

    • isNotify

      public boolean isNotify()
    • setNotify

      public void setNotify(boolean notify)
    • getMessageText

      public String getMessageText()
    • getAuthor

      public String getAuthor()
    • getSubject

      public String getSubject()
    • setMessageText

      public void setMessageText(String mess)
    • setAuthor

      public void setAuthor(String auth)
    • setSubject

      public void setSubject(String subj)
    • getSentDate

      public Date getSentDate()
    • setSentDate

      public void setSentDate(Date sentDate)
    • getType

      public int getType()
    • setType

      public void setType(int type)
    • getRecipient

      public Recipient getRecipient(String name)
    • wasReadBy

      public boolean wasReadBy(String name)
    • getRecipients

      public Set<Recipient> getRecipients()
    • setRecipients

      public void setRecipients(Set<Recipient> recipients)
    • getLocale

      public Locale getLocale()
    • setLocale

      public void setLocale(Locale locale)
    • getHtml

      public int getHtml()
    • setHtml

      public void setHtml(int html)
    • getReceivedDate

      public Date getReceivedDate()
    • setReceivedDate

      public void setReceivedDate(Date receivedDate)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PersistentObject
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class PersistentObject