public class PromotionUpsellTargeter extends DynamicContentTargeter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
mContentHistoryPath, mDescription, mImpressionLimit, mImpressionLimitPerTargeter, mOverriddenRulesets, mOverriddenTargeters, mRepository, mRepositoryViewName, mRulesets, mRuleStrings, mSortBy, mSortDirectives, mTargeters
SERVICE_INFO_KEY
NO_MAX_NUMBER, NO_START_INDEX
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
PromotionUpsellTargeter() |
Modifier and Type | Method and Description |
---|---|
PromotionUpsellTools |
getPromotionUpsellTools() |
void |
setPromotionUpsellTools(PromotionUpsellTools pPromotionUpsellTools)
The tools component for closenessQualifiers
|
java.lang.Object[] |
target(NameResolver pNameResolver)
returns all closenessQualifiers associated with the current
session's order.
|
java.lang.Object[] |
target(NameResolver pNameResolver,
int pMaxNumber)
returns all closenessQualifiers associated with the current
session's order, with a maximum of pMaxNumber closenesQualifiers returned.
|
java.lang.Object[] |
target(NameResolver pNameResolver,
int pStartIndex,
int pMaxNumber)
returns a subset of closenessQualifiers associated with the current
session's order.
|
atMost, buildSortDirectives, buildTargeters, convertRuleSetsToTargetingObjects, countContentShown, createTargeterConfiguration, doStartService, doStopService, filter, findSiteTargeters, getContentHistory, getContentHistoryContext, getContentHistoryPath, getDescription, getDisplayRuleStrings, getDisplayRuleStrings, getDisplayRuleStringsUsingCurrentRequest, getImpressionLimit, getLogger, getNumRulesets, getOverriddenRulesets, getRepository, getRepositoryView, getRepositoryViewName, getRulesets, getRuleStrings, getSiteRulesets, getSortBy, getTargeters, isContentShown, isImpressionLimitPerTargeter, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logWarning, logWarning, logWarning, registerContentShown, setContentHistoryPath, setDescription, setImpressionLimit, setImpressionLimitPerTargeter, setLogger, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingWarning, setOverriddenRulesets, setRepository, setRepositoryViewName, setRulesets, setRuleStrings, setSiteRulesets, setSortBy, start, stop, updateTargeters, zapTargeters
addLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingTrace, isRunning, logTrace, logTrace, logTrace, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingTrace, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public void setPromotionUpsellTools(PromotionUpsellTools pPromotionUpsellTools)
pPromotionUpsellTools
- the tools component for closenessQualifierspublic PromotionUpsellTools getPromotionUpsellTools()
public java.lang.Object[] target(NameResolver pNameResolver) throws atg.targeting.TargetingException
target
in interface Targeter
target
in class DynamicContentTargeter
atg.targeting.TargetingException
- if a problem was encountered
during the targeting operationpublic java.lang.Object[] target(NameResolver pNameResolver, int pMaxNumber) throws atg.targeting.TargetingException
target
in interface Targeter
target
in class DynamicContentTargeter
pMaxNumber
- the maximum number of elements to return;
if -1, the entire result set will be retrievedatg.targeting.TargetingException
- if a problem was encountered
during the targeting operationpublic java.lang.Object[] target(NameResolver pNameResolver, int pStartIndex, int pMaxNumber) throws atg.targeting.TargetingException
Returns null if no items are found matching the targeting criteria, or if the number of items found is smaller than the specified starting index.
target
in interface Targeter
target
in class DynamicContentTargeter
pStartIndex
- the starting index; must be >= 0pMaxNumber
- the maximum number of elements to return;
if -1, the entire result set starting at index pStartIndex will
be retrievedatg.targeting.TargetingException
- if a problem was encountered
during the targeting operation