Package step.plugins.messages
Class Message
- java.lang.Object
-
- step.core.accessors.AbstractIdentifiableObject
-
- step.plugins.messages.Message
-
public class Message extends step.core.accessors.AbstractIdentifiableObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Message.Field
static class
Message.Importance
static class
Message.State
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBody()
java.lang.String
getCategory()
Message.Importance
getImportance()
Message.State
getStateForCurrentUser()
java.lang.String
getSubcategory()
java.lang.String
getSubject()
long
getTimestamp()
java.lang.String
getTopicKey()
boolean
isSticky()
Message
setBody(java.lang.String body)
Message
setCategory(java.lang.String category)
Message
setImportance(Message.Importance importance)
void
setStateForCurrentUser(Message.State stateForCurrentUser)
Message
setSticky(boolean sticky)
Message
setSubcategory(java.lang.String subcategory)
Message
setSubject(java.lang.String subject)
Message
setTimestamp(long timestamp)
Message
setTopicKey(java.lang.String topicKey)
-
-
-
Method Detail
-
getStateForCurrentUser
public Message.State getStateForCurrentUser()
-
setStateForCurrentUser
public void setStateForCurrentUser(Message.State stateForCurrentUser)
-
setSubject
public Message setSubject(java.lang.String subject)
-
setBody
public Message setBody(java.lang.String body)
-
setCategory
public Message setCategory(java.lang.String category)
-
setSubcategory
public Message setSubcategory(java.lang.String subcategory)
-
setTopicKey
public Message setTopicKey(java.lang.String topicKey)
-
setSticky
public Message setSticky(boolean sticky)
-
setTimestamp
public Message setTimestamp(long timestamp)
-
setImportance
public Message setImportance(Message.Importance importance)
-
getTimestamp
public long getTimestamp()
-
getSubject
public java.lang.String getSubject()
-
getBody
public java.lang.String getBody()
-
getCategory
public java.lang.String getCategory()
-
getSubcategory
public java.lang.String getSubcategory()
-
getTopicKey
public java.lang.String getTopicKey()
-
isSticky
public boolean isSticky()
-
getImportance
public Message.Importance getImportance()
-
-