|
|||||||||
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.TargetingResults
public class TargetingResults
A service which can be used to perform a targeting operation and produce an Enumeration of targeting results.
When the bufferSize
property is specified,
targeting is performed in chunks - each time more elements are
needed, they are obtained by performing a targeting operation
which returns the next array of size bufferSize
.
TargetingEnumeration
,
Targeter
,
TargetingSourceMap
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
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 | |
---|---|
TargetingResults()
|
Method Summary | |
---|---|
void |
doStartService()
Called after the service has been created, placed into the naming hierarchy, and initialized with its configured property values. |
int |
getBufferSize()
Returns the number of items to target for in each iteration. |
ComponentNameResolver |
getNameResolver()
Returns a ComponentNameResolver corresponding to the source map, if it has been specified; otherwise, returns a global ComponentNameResolver. |
ComponentNameResolver |
getNameResolver(DynamoHttpServletRequest pRequest)
Returns a ComponentNameResolver corresponding to the source map, if it has been specified; otherwise, returns the ComponentNameResolver which uses the passed in request for resolution. |
java.util.Enumeration |
getResults()
Returns targeting results as an Enumeration. |
java.util.Enumeration |
getResults(DynamoHttpServletRequest pRequest)
Returns targeting results as an Enumeration. |
TargetingSourceMap |
getSourceMap()
Returns the source map used by the targeter. |
Targeter |
getTargeter()
Returns the targeter to use for the targeting operation. |
void |
setBufferSize(int pBufferSize)
Sets the number of items to target for in each iteration. |
void |
setSourceMap(TargetingSourceMap pSourceMap)
Sets the source map used by the targeter. |
void |
setTargeter(Targeter pTargeter)
Sets the targeter to use for the targeting operation. |
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 TargetingResults()
Method Detail |
---|
public Targeter getTargeter()
public void setTargeter(Targeter pTargeter)
public TargetingSourceMap getSourceMap()
public void setSourceMap(TargetingSourceMap pSourceMap)
public ComponentNameResolver getNameResolver(DynamoHttpServletRequest pRequest)
ComponentNameResolver
,
TargetingSourceMap.getNameResolver(DynamoHttpServletRequest)
public ComponentNameResolver getNameResolver()
NameResolver
,
TargetingSourceMap.getNameResolver()
public int getBufferSize()
public void setBufferSize(int pBufferSize)
public java.util.Enumeration getResults(DynamoHttpServletRequest pRequest)
public java.util.Enumeration getResults()
getResults(null)
, and should only be
called if the targeter's rules don't depend on the properties of
the current request or session.
public void doStartService() throws ServiceException
doStartService
in class GenericService
ServiceException
- if the service had a problem
starting up
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |