|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.targeting.DynamicContentTargeter atg.commerce.promotion.PromotionUpsellTargeter
public class PromotionUpsellTargeter
This targeter returns all closenessQualifiers associated with the current session's order.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.targeting.DynamicContentTargeter |
---|
mContentHistoryPath, mDescription, mImpressionLimit, mImpressionLimitPerTargeter, mRepository, mRepositoryViewName, mRulesets, mRuleStrings, mSortBy, mSortDirectives, mTargeters |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.targeting.Targeter |
---|
NO_MAX_NUMBER, NO_START_INDEX |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
PromotionUpsellTargeter()
|
Method Summary | |
---|---|
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. |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PromotionUpsellTargeter()
Method Detail |
---|
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 retrieved
atg.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 retrieved
atg.targeting.TargetingException
- if a problem was encountered
during the targeting operation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |