Class SystemMessage
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.communication.Message
com.logicaldoc.core.communication.SystemMessage
- All Implemented Interfaces:
Serializable
SystemMessages are messages which an user only can send to other system
users.
- Since:
- 1.0
- Author:
- Michael Scholz, Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.logicaldoc.core.communication.Message
TYPE_NOTIFICATION, TYPE_SYSTEMFields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintgetPrio()intintvoidsetConfirmation(int conf) voidsetDateScope(int scope) voidsetLastNotified(Date lastNotified) voidsetPrio(int pri) voidsetStatus(int status) voidsetTrials(int trials) Methods inherited from class com.logicaldoc.core.communication.Message
getAuthor, getHtml, getLocale, getMessageText, getReceivedDate, getRecipient, getRecipients, getSentDate, getSubject, getType, isNotify, setAuthor, setHtml, setLocale, setMessageText, setNotify, setReceivedDate, setRecipients, setSentDate, setSubject, setType, wasReadByMethods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Field Details
-
STATUS_NEW
public static final int STATUS_NEW- See Also:
-
STATUS_DELIVERED
public static final int STATUS_DELIVERED- See Also:
-
STATUS_ERROR
public static final int STATUS_ERROR- See Also:
-
-
Constructor Details
-
SystemMessage
public SystemMessage() -
SystemMessage
-
-
Method Details
-
getDateScope
public int getDateScope() -
getPrio
public int getPrio() -
getConfirmation
public int getConfirmation() -
setDateScope
public void setDateScope(int scope) -
setPrio
public void setPrio(int pri) -
setConfirmation
public void setConfirmation(int conf) -
getLastNotified
-
setLastNotified
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getTrials
public int getTrials() -
setTrials
public void setTrials(int trials)
-