public interface ContentTargeter extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargeter>
Modifier and Type | Method and Description |
---|---|
Date |
getActiveEndDate()
Returns the last date this
ContentTargeter will be active. |
Date |
getActiveStartDate()
Returns the first date this
ContentTargeter will be used. |
ContentTargetingAction |
getContentTargetingAction()
Returns the action associated with this targeter (when there is only one action).
|
List<ContentTargetingActionXref> |
getContentTargetingActions()
Returns a the list of actions to take for this targeter.
|
String |
getDescription()
Gets the description.
|
Long |
getId()
Gets the primary key.
|
Map<String,ContentTargetingRuleXref> |
getMatchRules()
Returns a map of the rules that determine if this targeter applies
|
String |
getName()
Gets the name.
|
Integer |
getPriority()
Gets the integer priority of this content targeting rule.
|
Set<ContentTargetingItemCriteria> |
getQualifyingItemCriteria()
Returns a map of the cart based rules that determine if this targeter applies.
|
void |
setActiveEndDate(Date activeEndDate)
Sets the last date this
ContentTargeter will be active. |
void |
setActiveStartDate(Date activeStartDate)
Sets the first date this
ContentTargeter will be used. |
void |
setContentTargetingAction(ContentTargetingAction targetingAction)
Sets the action associated with this targeter (when there is only one action).
|
void |
setContentTargetingActions(List<ContentTargetingActionXref> contentTargetingActions)
Sets the list of actions to take for this targeter.
|
void |
setDescription(String description)
Sets the description.
|
void |
setId(Long id)
Sets the primary key.
|
void |
setMatchRules(Map<String,ContentTargetingRuleXref> matchRules)
Sets the rules that determine if this targeter applies
|
void |
setName(String name)
Sets the name.
|
void |
setPriority(Integer priority)
Sets the priority for this rule.
|
void |
setQualifyingItemCriteria(Set<ContentTargetingItemCriteria> qualifyingItemCriteria)
Sets a map of the cart based rules that determine if this targeter applies.
|
void setDescription(@Nonnull String description)
description
- Date getActiveStartDate()
ContentTargeter
will be used. A value of
null means that this targeter is not active and should not be run.void setActiveStartDate(Date activeStartDate)
ContentTargeter
will be used. A value of
null means that this targeter is not active and should not be run.activeStartDate
- - the first day the targeter will be usedDate getActiveEndDate()
ContentTargeter
will be active. A value of null should be
interpreted as a targeter that has no end date.void setActiveEndDate(Date activeEndDate)
ContentTargeter
will be active.activeEndDate
- - the last day the targeter will nul@Nullable Map<String,ContentTargetingRuleXref> getMatchRules()
void setMatchRules(@Nullable Map<String,ContentTargetingRuleXref> matchRules)
matchRules
- @Nullable Set<ContentTargetingItemCriteria> getQualifyingItemCriteria()
void setQualifyingItemCriteria(Set<ContentTargetingItemCriteria> qualifyingItemCriteria)
matchRules
- @Nullable Integer getPriority()
void setPriority(@Nullable Integer priority)
priority
- ContentTargetingAction getContentTargetingAction()
void setContentTargetingAction(ContentTargetingAction targetingAction)
List<ContentTargetingActionXref> getContentTargetingActions()
void setContentTargetingActions(List<ContentTargetingActionXref> contentTargetingActions)
contentTargetingActions
- Copyright © 2020. All rights reserved.