Class BaseRMEvaluator
- java.lang.Object
-
- org.alfresco.web.evaluator.BaseEvaluator
-
- org.alfresco.module.org_alfresco_module_rm_share.evaluator.BaseRMEvaluator
-
- All Implemented Interfaces:
org.alfresco.web.evaluator.Evaluator
- Direct Known Subclasses:
ActionEvaluator,DocLibFrozenIndicatorEvaluator,DocLibRecordIndicatorEvaluator,DocLibRmSiteExistsEvaluator,HoldsCommonEvaluator,IncompleteEventEvaluator,IndicatorEvaluator,UITypeEvaluator,UnlinkActionEvaluator,VersionRecordEvaluator
public abstract class BaseRMEvaluator extends org.alfresco.web.evaluator.BaseEvaluatorBase class for RM evaluators
-
-
Constructor Summary
Constructors Constructor Description BaseRMEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.json.simple.JSONArraygetRMIndicators(org.json.simple.JSONObject jsonObject)Retrieve a JSONArray of applicable indicatorsprotected org.json.simple.JSONObjectgetRMNode(org.json.simple.JSONObject jsonObject)Retrieve a JSONObject representing the RM extended propertiesprotected booleanisDocLibRecord(org.json.simple.JSONObject jsonObject)-
Methods inherited from class org.alfresco.web.evaluator.BaseEvaluator
evaluate, evaluate, evaluate, evaluate, getArg, getArgs, getContainerType, getHasContent, getHeader, getIsLocked, getIsPortlet, getIsWorkingCopy, getJSONValue, getMatchesCurrentUser, getMetadata, getNodeAspects, getNodeType, getProperty, getSiteId, getSitePreset, getUserId, setNegateOutput
-
-
-
-
Method Detail
-
isDocLibRecord
protected final boolean isDocLibRecord(org.json.simple.JSONObject jsonObject)
-
getRMNode
protected final org.json.simple.JSONObject getRMNode(org.json.simple.JSONObject jsonObject)
Retrieve a JSONObject representing the RM extended properties- Parameters:
jsonObject- JSONObject containing a "node" object as returned from the ApplicationScriptUtils class.- Returns:
- JSONArray containing aspects on the node
-
getRMIndicators
protected org.json.simple.JSONArray getRMIndicators(org.json.simple.JSONObject jsonObject)
Retrieve a JSONArray of applicable indicators- Parameters:
jsonObject- JSONObject containing a "node" object as returned from the ApplicationScriptUtils class.- Returns:
- JSONArray containing applicable indicators the UI may choose to display
-
-