public interface Targeter
NameResolver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static int |
NO_MAX_NUMBER
Indicates that no pMaxNumber has been specified
|
static int |
NO_START_INDEX
Indicates that no pStartIndex has been specified
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
target(NameResolver pNameResolver)
Performs a targeting operation, returning an array of "target"
objects.
|
java.lang.Object[] |
target(NameResolver pNameResolver,
int pMaxNumber)
Performs a targeting operation, returning an array of "target"
objects containing at most pMaxNumber elements.
|
java.lang.Object[] |
target(NameResolver pNameResolver,
int pStartIndex,
int pMaxNumber)
Performs a targeting operation, returning an array of "target"
objects, beginning at the starting index of the entire result
set, and containing at most pMaxNumber elements.
|
static final java.lang.String CLASS_VERSION
static final int NO_START_INDEX
static final int NO_MAX_NUMBER
java.lang.Object[] target(NameResolver pNameResolver) throws atg.targeting.TargetingException
Returns null if no items are found matching the targeting criteria.
TargetingException
- if a problem was encountered
during the targeting operationjava.lang.Object[] target(NameResolver pNameResolver, int pMaxNumber) throws atg.targeting.TargetingException
Returns null if no items are found matching the targeting criteria.
pMaxNumber
- the maximum number of elements to return;
if -1, the entire result set will be retrievedTargetingException
- if a problem was encountered
during the targeting operationjava.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.
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 retrievedTargetingException
- if a problem was encountered
during the targeting operation