atg.commerce.promotion
Class PromotionUpsellTargeter
java.lang.Object
   atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
       atg.nucleus.GenericService
atg.nucleus.GenericService
           atg.targeting.DynamicContentTargeter
atg.targeting.DynamicContentTargeter
               atg.commerce.promotion.PromotionUpsellTargeter
atg.commerce.promotion.PromotionUpsellTargeter
- All Implemented Interfaces: 
- atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, atg.targeting.ContentHistoryManager, atg.targeting.overrides.TargetingObjectsFactory<atg.targeting.RuleBasedRepositoryTargeter>, atg.targeting.PCCEditableComponent, atg.targeting.RepositoryTargeter, Targeter, java.util.EventListener
- Direct Known Subclasses: 
- PromotionUpsellProductTargeter
- public class PromotionUpsellTargeter 
- extends DynamicContentTargeter
This targeter returns all closenessQualifiers associated with the current
 session's order.
| Field Summary | 
| static java.lang.String | CLASS_VERSIONClass version string
 | 
 
| Fields inherited from class atg.targeting.DynamicContentTargeter | 
| mContentHistoryPath, mDescription, mImpressionLimit, mImpressionLimitPerTargeter, mOverriddenRulesets, mOverriddenTargeters, mRepository, mRepositoryViewName, mRulesets, mRuleStrings, mSortBy, mSortDirectives, mTargeters | 
 
 
 
 
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging | 
| DEFAULT_LOG_TRACE_STATUS | 
 
 
 
| Methods inherited from class atg.targeting.DynamicContentTargeter | 
| 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 | 
 
| Methods inherited from class atg.nucleus.GenericService | 
| 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 | 
 
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl | 
| vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 | 
 
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
 
 
PromotionUpsellTargeter
public PromotionUpsellTargeter()
setPromotionUpsellTools
public void setPromotionUpsellTools(PromotionUpsellTools pPromotionUpsellTools)
- The tools component for closenessQualifiers
 
- 
- Parameters:
- pPromotionUpsellTools- the tools component for closenessQualifiers
 
getPromotionUpsellTools
public PromotionUpsellTools getPromotionUpsellTools()
- 
- Returns:
- The tools component for closenessQualifiers
 
target
public java.lang.Object[] target(NameResolver pNameResolver)
                          throws atg.targeting.TargetingException
- returns all closenessQualifiers associated with the current
 session's order.
 
- 
- Specified by:
- targetin interface- Targeter
- Overrides:
- targetin class- DynamicContentTargeter
 
- 
- Throws:
- atg.targeting.TargetingException- if a problem was encountered 
 during the targeting operation
 
target
public java.lang.Object[] target(NameResolver pNameResolver,
                                 int pMaxNumber)
                          throws atg.targeting.TargetingException
- returns all closenessQualifiers associated with the current
 session's order, with a maximum of pMaxNumber closenesQualifiers returned.
 
- 
- Specified by:
- targetin interface- Targeter
- Overrides:
- targetin class- DynamicContentTargeter
 
- 
- Parameters:
- pMaxNumber- the maximum number of elements to return;
 if -1, the entire result set will be retrieved
- Throws:
- atg.targeting.TargetingException- if a problem was encountered 
 during the targeting operation
 
target
public java.lang.Object[] target(NameResolver pNameResolver,
                                 int pStartIndex,
                                 int pMaxNumber)
                          throws atg.targeting.TargetingException
- returns a subset of closenessQualifiers associated with the current
 session's order.
 
 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.
 
 
- 
- Specified by:
- targetin interface- Targeter
- Overrides:
- targetin class- DynamicContentTargeter
 
- 
- Parameters:
- pStartIndex- the starting index; must be >= 0
- pMaxNumber- the maximum number of elements to return; 
 if -1, the entire result set starting at index pStartIndex will
 be retrieved
- Throws:
- atg.targeting.TargetingException- if a problem was encountered 
 during the targeting operation