Class ContentTargetingRuleXrefImpl
java.lang.Object
com.broadleafcommerce.advancedcms.domain.targeting.ContentTargetingRuleXrefImpl
- All Implemented Interfaces:
ContentTargetingRuleXref,Serializable,org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingRuleXref>,org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity,org.broadleafcommerce.common.rule.SimpleRule
@Entity
public class ContentTargetingRuleXrefImpl
extends Object
implements ContentTargetingRuleXref, org.broadleafcommerce.common.rule.SimpleRule, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
Maps join between a content targeter and its targeting rules.
- Author:
- bpolster
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentTargeterprotected ContentTargetingRuleprotected Longprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void<G extends ContentTargetingRuleXref>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) Returns the associatedContentTargeterReturns the associatedContentTargetingRulegetId()Returns the id of this content targeting rule.getKey()The key for this map element.voidsetContentTargeter(ContentTargeter contentTargeter) Sets the associatedContentTargetervoidsetContentTargetingRule(ContentTargetingRule contentTargetingRule) Sets the associatedContentTargetingRulevoidSets the id of this content targeting rule.voidSets the key for this map elementvoidsetMatchRule(String matchRule)
-
Field Details
-
id
-
contentTargeter
-
contentTargetingRule
-
key
-
-
Constructor Details
-
ContentTargetingRuleXrefImpl
public ContentTargetingRuleXrefImpl()
-
-
Method Details
-
getId
Description copied from interface:ContentTargetingRuleXrefReturns the id of this content targeting rule.- Specified by:
getIdin interfaceContentTargetingRuleXref- Returns:
-
setId
Description copied from interface:ContentTargetingRuleXrefSets the id of this content targeting rule.- Specified by:
setIdin interfaceContentTargetingRuleXref
-
getContentTargeter
Description copied from interface:ContentTargetingRuleXrefReturns the associatedContentTargeter- Specified by:
getContentTargeterin interfaceContentTargetingRuleXref- Returns:
-
setContentTargeter
Description copied from interface:ContentTargetingRuleXrefSets the associatedContentTargeter- Specified by:
setContentTargeterin interfaceContentTargetingRuleXref
-
getContentTargetingRule
Description copied from interface:ContentTargetingRuleXrefReturns the associatedContentTargetingRule- Specified by:
getContentTargetingRulein interfaceContentTargetingRuleXref- Returns:
-
setContentTargetingRule
Description copied from interface:ContentTargetingRuleXrefSets the associatedContentTargetingRule- Specified by:
setContentTargetingRulein interfaceContentTargetingRuleXref
-
getKey
Description copied from interface:ContentTargetingRuleXrefThe key for this map element.- Specified by:
getKeyin interfaceContentTargetingRuleXref- Returns:
-
setKey
Description copied from interface:ContentTargetingRuleXrefSets the key for this map element- Specified by:
setKeyin interfaceContentTargetingRuleXref
-
getMatchRule
- Specified by:
getMatchRulein interfaceorg.broadleafcommerce.common.rule.SimpleRule
-
setMatchRule
- Specified by:
setMatchRulein interfaceorg.broadleafcommerce.common.rule.SimpleRule
-
createEntityInstance
protected void createEntityInstance() -
createOrRetrieveCopyInstance
public <G extends ContentTargetingRuleXref> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext multiTenantCopyContext) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingRuleXref>- Throws:
CloneNotSupportedException
-