|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.socialnetworkintegration.SocialNetworkMessageQueueItem
public class SocialNetworkMessageQueueItem
Represents the entity that is an item in the queue for social network message actions (publish, update and remove). It is persisted even after the underlining queue process is deleted (removed or processed). This is was created for mere observance of the queue by the end-user.
Field Summary | |
---|---|
static String |
NAME_QUERY_FIND_BY_MESSAGE_ID_DESC
Named query to bring the latest item associated to a message (by it's id). |
Constructor Summary | |
---|---|
SocialNetworkMessageQueueItem()
|
Method Summary | |
---|---|
SocialNetworkAccount |
getAccount()
Returns the social network account this item belongs to. |
char |
getAction()
Returns the action. |
Locale |
getLocale()
Returns the locale. |
String |
getMessageContent()
Returns the messageContent. |
String |
getMessageId()
Returns the messageId. |
String |
getProcessId()
Returns the processId. |
Date |
getPublishDateTime()
Returns the publishDateTime. |
SocialNetworkMessageStatus |
getStatus()
Returns the status. |
void |
setAccount(SocialNetworkAccount account)
Sets the social network account this item belongs to. |
void |
setAction(char action)
Sets the action. |
void |
setLocale(Locale locale)
Sets the locale. |
void |
setMessageContent(String messageContent)
Sets the messageContent. |
void |
setMessageId(String messageId)
Sets the messageId. |
void |
setProcessId(String processId)
Sets the processId. |
void |
setPublishDateTime(Date date)
Sets the publishDateTime. |
void |
setStatus(SocialNetworkMessageStatus status)
Sets the status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME_QUERY_FIND_BY_MESSAGE_ID_DESC
Constructor Detail |
---|
public SocialNetworkMessageQueueItem()
Method Detail |
---|
public String getMessageId()
public void setMessageId(String messageId)
messageId
- the messageId value to set.public String getProcessId()
public void setProcessId(String processId)
processId
- the processId value to set.public String getMessageContent()
public void setMessageContent(String messageContent)
messageContent
- the messageContent value to set.public SocialNetworkAccount getAccount()
public void setAccount(SocialNetworkAccount account)
account
- the social network account this item belongs to.public Locale getLocale()
public void setLocale(Locale locale)
locale
- the locale value to set.public Date getPublishDateTime()
public void setPublishDateTime(Date date)
date
- the publishDateTime value to set.public SocialNetworkMessageStatus getStatus()
public void setStatus(SocialNetworkMessageStatus status)
status
- the status value to set.public char getAction()
public void setAction(char action)
action
- the action value to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |