public class SocialNetworkMessageQueueItem extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
SocialNetworkMessageQueueItem() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String NAME_QUERY_FIND_BY_MESSAGE_ID_DESC
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.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.