|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.process.filter.Filter atg.process.filter.ExpressionFilter
public abstract class ExpressionFilter
A filter which is satisfied if applying its operator to its
operands (which are Expression
objects) yields true.
Expression
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.process.filter.Filter |
---|
FALSE, TRUE |
Constructor Summary | |
---|---|
ExpressionFilter()
|
Method Summary | |
---|---|
void |
configure(java.lang.String pOperator,
java.lang.Object pConfiguration)
Configures this ExpressionFilter using the given configuration object. |
boolean |
equals(java.lang.Object pObject)
Returns true if the given object is an ExpressionFilter with the same operator and operands. |
Expression[] |
getOperands()
Returns the operands. |
java.lang.String |
getOperator()
Returns the operator. |
void |
initialize(java.lang.String pOperator,
Expression[] pOperands)
Initializes this ExpressionFilter, given its operator and operands. |
protected boolean |
operandsEquals(ExpressionFilter pFilter)
Returns true if the given ExpressionFilter has the same operands as this ExpressionFilter. |
void |
setOperands(Expression[] pOperands)
Sets the operands. |
void |
setOperator(java.lang.String pOperator)
Sets the operator. |
java.lang.String |
toString()
Returns the String representation of the filter. |
Methods inherited from class atg.process.filter.Filter |
---|
andFilters, andFilters, assumeFalse, assumeTrue, createProcessInstanceQuery, createSubjectQuery, evaluate, 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
Constructor Detail |
---|
public ExpressionFilter()
Method Detail |
---|
public java.lang.String getOperator()
public void setOperator(java.lang.String pOperator)
public Expression[] getOperands()
public void setOperands(Expression[] pOperands)
public void configure(java.lang.String pOperator, java.lang.Object pConfiguration) throws ProcessException, java.lang.UnsupportedOperationException
This operation is optional. This default implementation throws an UnsupportedOperationException.
ProcessException
- if the filter could not be configured
- for example, because some of the required properties are
missing from the configuration
java.lang.UnsupportedOperationException
- if this filter is not
configurablepublic void initialize(java.lang.String pOperator, Expression[] pOperands) throws ProcessException
ProcessException
- if the filter could not be
initializedpublic boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
protected boolean operandsEquals(ExpressionFilter pFilter)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |