Class ContentMessageIntegration
- java.lang.Object
-
- lumis.content.socialnetwork.integration.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 Summary
Fields Modifier and Type Field Description static java.lang.String
NAMED_QUERY_FIND_BY_CONTENT_LOCALE
Named query used to find content message integrations by the content locale.static 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.
-
Constructor Summary
Constructors Constructor Description ContentMessageIntegration(ContentLocale contentLocale, SocialNetworkMessage message)
Creates a new content message integration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentLocale
getContentLocale()
Returns the contentLocale.static java.util.List<ContentMessageIntegration>
getContentMessageIntegrations(ContentLocale contentLocale)
Returns a list of integrations by a content locale.SocialNetworkMessage
getMessage()
Returns the message.boolean
isDefault()
Returns the isDefault.void
setContentLocale(ContentLocale contentLocale)
Sets the contentLocale.void
setDefault(boolean isDefault)
Sets the isDefault.void
setMessage(SocialNetworkMessage message)
Sets the message.
-
-
-
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
-
-