|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.process.filter.Filter
atg.process.filter.ExpressionFilter
atg.markers.scenario.MarkerExpressionFilter
atg.markers.scenario.ItemHasMarker
atg.markers.userprofiling.ProfileHasMarker
public class ProfileHasMarker
The scenario hasMarker expression class for profiles This expression class returns the profile repository item in method getItemToUse.
This class was created for the following expression operator names, but could be extended for other operators. Additional operator names must be added to the configuration component's hasMarkerOperatorMap
Operator names:
profileHasMarker
profileHasLastMarker
profileHasLastMarkerWithKey
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
PROFILE_HAS_LASTMARKER
Scenario profileHasLastMarker condition name |
static java.lang.String |
PROFILE_HAS_LASTMARKER_WITHKEY
Scenario profileHasLastMarkerWithKey condition name |
static java.lang.String |
PROFILE_HAS_MARKER
Scenario profileHasMarker condition name |
Fields inherited from class atg.markers.scenario.ItemHasMarker |
---|
OP_HAS_LASTMARKER, OP_HAS_LASTMARKER_WITHKEY, OP_HAS_MARKER |
Fields inherited from class atg.markers.scenario.MarkerExpressionFilter |
---|
mMarkerConfiguration |
Fields inherited from class atg.process.filter.Filter |
---|
FALSE, TRUE |
Constructor Summary | |
---|---|
ProfileHasMarker()
|
Method Summary | |
---|---|
protected Query |
createMarkerQuery()
Creates a marker query object that qualifies markers based on the filter's requirements. |
Query |
createProcessInstanceQuery(QueryBuilder pSubjectQueryBuilder,
QueryBuilder pProcessInstanceQueryBuilder)
Creates a process instance query that qualifies the instances by the subject with a marker that matches the filter's requirements |
Query |
createSubjectQuery(QueryBuilder pSubjectQueryBuilder)
Creates a subject query that qualifies the subjects with a marker that matches the filter's requirements. |
protected RepositoryItem |
getItemToUse(ProcessExecutionContext pContext)
This method is called by the evaluate method to provide the RepositoryItem that's used in the hasMarker API calls. |
Methods inherited from class atg.markers.scenario.ItemHasMarker |
---|
evaluate, getHasMarkerOperatorToPerform, initialize |
Methods inherited from class atg.markers.scenario.MarkerExpressionFilter |
---|
configure, getData, getDuplicationMode, getExtendedProperties, getKey, getMarkedItemType, getMarkerConfiguration, getMarkerItemType, getMarkerPropertyName, getRepositoryMarkerManager, getValue, setMarkerConfiguration |
Methods inherited from class atg.process.filter.ExpressionFilter |
---|
equals, getOperands, getOperator, operandsEquals, setOperands, setOperator, toString |
Methods inherited from class atg.process.filter.Filter |
---|
andFilters, andFilters, assumeFalse, assumeTrue, getResourceBundle, getSubjectType, hashCode, implies, isCacheable, negate, orFilters, orFilters, setCacheable, test |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String PROFILE_HAS_MARKER
public static final java.lang.String PROFILE_HAS_LASTMARKER
public static final java.lang.String PROFILE_HAS_LASTMARKER_WITHKEY
Constructor Detail |
---|
public ProfileHasMarker()
Method Detail |
---|
protected Query createMarkerQuery() throws RepositoryException, ProcessException
RepositoryException
ProcessException
public Query createProcessInstanceQuery(QueryBuilder pSubjectQueryBuilder, QueryBuilder pProcessInstanceQueryBuilder) throws RepositoryException, ProcessException
createProcessInstanceQuery
in class Filter
RepositoryException
- if there is a repository problem
constructing the query
ProcessException
- if there is any other problem
creating the querypublic Query createSubjectQuery(QueryBuilder pSubjectQueryBuilder) throws RepositoryException, ProcessException
createSubjectQuery
in class Filter
RepositoryException
- if there is a repository problem
constructing the query
ProcessException
- if there is any other problem
creating the queryprotected RepositoryItem getItemToUse(ProcessExecutionContext pContext)
getItemToUse
in class ItemHasMarker
pContext
- the scenario execution context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |