Class SystemMessage
- java.lang.Object
 - 
- com.logicaldoc.core.PersistentObject
 - 
- com.logicaldoc.core.communication.Message
 - 
- com.logicaldoc.core.communication.SystemMessage
 
 
 
 
- 
public class SystemMessage extends Message
SystemMessages are messages which an user only can send to other system users.- Since:
 - 1.0
 - Author:
 - Michael Scholz, Marco Meschieri - LogicalDOC
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intSTATUS_DELIVEREDstatic intSTATUS_ERRORstatic intSTATUS_NEW- 
Fields inherited from class com.logicaldoc.core.communication.Message
TYPE_NOTIFICATION, TYPE_SYSTEM 
- 
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SystemMessage() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()intgetConfirmation()intgetDateScope()DategetLastNotified()intgetPrio()intgetStatus()intgetTrials()voidsetConfirmation(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, wasReadBy 
- 
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString 
 - 
 
 - 
 
- 
- 
Field Detail
- 
STATUS_NEW
public static final int STATUS_NEW
- See Also:
 - Constant Field Values
 
 
- 
STATUS_DELIVERED
public static final int STATUS_DELIVERED
- See Also:
 - Constant Field Values
 
 
- 
STATUS_ERROR
public static final int STATUS_ERROR
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
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
public Date getLastNotified()
 
- 
setLastNotified
public void setLastNotified(Date lastNotified)
 
- 
getStatus
public int getStatus()
 
- 
setStatus
public void setStatus(int status)
 
- 
getTrials
public int getTrials()
 
- 
setTrials
public void setTrials(int trials)
 
- 
clone
public Object clone() throws CloneNotSupportedException
- Throws:
 CloneNotSupportedException
 
 - 
 
 -