public class NodeTypeEvaluator extends BaseEvaluator
args, metadata, negateOutput| Constructor and Description |
|---|
NodeTypeEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(org.json.simple.JSONObject jsonObject)
Evaluator implementations abstract method.
|
void |
setAllowSubtypes(boolean allowSubtypes)
Whether subtypes are allowed or not.
|
void |
setDictionary(DictionaryQuery dictionary)
Dictionary Query bean reference
|
void |
setTypes(java.util.ArrayList types)
Define the list of types to check for
|
evaluate, evaluate, evaluate, getArg, getArgs, getContainerType, getHeader, getIsLocked, getIsPortlet, getIsWorkingCopy, getJSONValue, getMatchesCurrentUser, getMetadata, getNodeAspects, getNodeType, getProperty, getSiteId, getSitePreset, getUserId, setNegateOutputpublic void setDictionary(DictionaryQuery dictionary)
dictionary - public void setAllowSubtypes(boolean allowSubtypes)
allowSubtypes - public void setTypes(java.util.ArrayList types)
types - public boolean evaluate(org.json.simple.JSONObject jsonObject)
BaseEvaluatorevaluate in interface Evaluatorevaluate in class BaseEvaluatorjsonObject - The object the evaluation is forCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.