Class 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
    Version:
    $Revision: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
    See Also:
    Serialized Form
    • 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
      • 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