Class ContentMessageIntegration


  • public class ContentMessageIntegration
    extends java.lang.Object
    Content message integration.
    Since:
    6.1.0
    Version:
    $Revision: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
    • Field Detail

      • NAMED_QUERY_FIND_BY_CONTENT_LOCALE

        public static final java.lang.String NAMED_QUERY_FIND_BY_CONTENT_LOCALE
        Named query used to find content message integrations by the content locale.
        See Also:
        Constant Field Values
      • NAMED_QUERY_FIND_BY_MESSAGE_AND_CONTENT_LOCALE

        public static final java.lang.String NAMED_QUERY_FIND_BY_MESSAGE_AND_CONTENT_LOCALE
        Named query used to find a content message integration by message and content locale.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContentMessageIntegration

        public ContentMessageIntegration​(ContentLocale contentLocale,
                                         SocialNetworkMessage message)
        Creates a new content message integration.
        Parameters:
        contentLocale - the content locale.
        message - the message.
        Since:
        6.1.0
    • Method Detail

      • getContentLocale

        public ContentLocale getContentLocale()
        Returns the contentLocale.
        Returns:
        the contentLocale
        Since:
        6.1.0
      • setContentLocale

        public void setContentLocale​(ContentLocale contentLocale)
        Sets the contentLocale.
        Parameters:
        contentLocale - the contentLocale value to set.
        Since:
        6.1.0
      • getMessage

        public SocialNetworkMessage getMessage()
        Returns the message.
        Returns:
        the message
        Since:
        6.1.0
      • setMessage

        public void setMessage​(SocialNetworkMessage message)
        Sets the message.
        Parameters:
        message - the message value to set.
        Since:
        6.1.0
      • getContentMessageIntegrations

        public static java.util.List<ContentMessageIntegration> getContentMessageIntegrations​(ContentLocale contentLocale)
        Returns a list of integrations by a content locale.
        Parameters:
        contentLocale - the content locale.
        Returns:
        a list of integrations by a content locale.
        Since:
        6.1.0
      • isDefault

        public boolean isDefault()
        Returns the isDefault.
        Returns:
        the isDefault
        Since:
        6.1.0
      • setDefault

        public void setDefault​(boolean isDefault)
        Sets the isDefault.
        Parameters:
        isDefault - the isDefault value to set.
        Since:
        6.1.0