lumis.socialnetworkintegration
Class SocialNetworkMessageQueueItem

Package class diagram package SocialNetworkMessageQueueItem
java.lang.Object
  extended by lumis.socialnetworkintegration.SocialNetworkMessageQueueItem
All Implemented Interfaces:
Serializable

public class SocialNetworkMessageQueueItem
extends Object
implements Serializable

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.

Since:
6.1.0
See Also:
Serialized Form

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

NAME_QUERY_FIND_BY_MESSAGE_ID_DESC

public static final String NAME_QUERY_FIND_BY_MESSAGE_ID_DESC
Named query to bring the latest item associated to a message (by it's id).

See Also:
Constant Field Values
Constructor Detail

SocialNetworkMessageQueueItem

public SocialNetworkMessageQueueItem()
Method Detail

getMessageId

public String getMessageId()
Returns the messageId.

Returns:
the messageId
Since:
6.1.0

setMessageId

public void setMessageId(String messageId)
Sets the messageId.

Parameters:
messageId - the messageId value to set.
Since:
6.1.0

getProcessId

public String getProcessId()
Returns the processId.

Returns:
the processId
Since:
6.1.0

setProcessId

public void setProcessId(String processId)
Sets the processId.

Parameters:
processId - the processId value to set.
Since:
6.1.0

getMessageContent

public String getMessageContent()
Returns the messageContent.

Returns:
the messageContent
Since:
6.1.0

setMessageContent

public void setMessageContent(String messageContent)
Sets the messageContent.

Parameters:
messageContent - the messageContent value to set.
Since:
6.1.0

getAccount

public SocialNetworkAccount getAccount()
Returns the social network account this item belongs to.

Returns:
the the social network account this item belongs to.
Since:
6.1.0

setAccount

public void setAccount(SocialNetworkAccount account)
Sets the social network account this item belongs to.

Parameters:
account - the social network account this item belongs to.
Since:
6.1.0

getLocale

public Locale getLocale()
Returns the locale.

Returns:
the locale
Since:
6.1.0

setLocale

public void setLocale(Locale locale)
Sets the locale.

Parameters:
locale - the locale value to set.
Since:
6.1.0

getPublishDateTime

public Date getPublishDateTime()
Returns the publishDateTime.

Returns:
the publishDateTime
Since:
6.1.0

setPublishDateTime

public void setPublishDateTime(Date date)
Sets the publishDateTime.

Parameters:
date - the publishDateTime value to set.
Since:
6.1.0

getStatus

public SocialNetworkMessageStatus getStatus()
Returns the status.

Returns:
the status
Since:
6.1.0

setStatus

public void setStatus(SocialNetworkMessageStatus status)
Sets the status.

Parameters:
status - the status value to set.
Since:
6.1.0

getAction

public char getAction()
Returns the action.

Returns:
the action
Since:
6.1.0

setAction

public void setAction(char action)
Sets the action.

Parameters:
action - the action value to set.
Since:
6.1.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.