Class IncompleteEventEvaluator
- java.lang.Object
-
- org.alfresco.web.evaluator.BaseEvaluator
-
- org.alfresco.module.org_alfresco_module_rm_share.evaluator.BaseRMEvaluator
-
- org.alfresco.module.org_alfresco_module_rm_share.evaluator.IncompleteEventEvaluator
-
- All Implemented Interfaces:
org.alfresco.web.evaluator.Evaluator
public class IncompleteEventEvaluator extends BaseRMEvaluator
Check for an incomplete disposition event and the 'combineDispositionStepConditions' property This will prevent an action being offered while there is an incomplete event if the user has requested to combine an event and date condition- Author:
- ross gale
-
-
Constructor Summary
Constructors Constructor Description IncompleteEventEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(org.json.simple.JSONObject jsonObject)Returns false if there is an incomplete event and the combineDispositionStepConditions property is true otherwise return true.-
Methods inherited from class org.alfresco.module.org_alfresco_module_rm_share.evaluator.BaseRMEvaluator
getRMIndicators, getRMNode, isDocLibRecord
-
Methods inherited from class org.alfresco.web.evaluator.BaseEvaluator
evaluate, evaluate, evaluate, getArg, getArgs, getContainerType, getHasContent, getHeader, getIsLocked, getIsPortlet, getIsWorkingCopy, getJSONValue, getMatchesCurrentUser, getMetadata, getNodeAspects, getNodeType, getProperty, getSiteId, getSitePreset, getUserId, setNegateOutput
-
-
-
-
Method Detail
-
evaluate
public boolean evaluate(org.json.simple.JSONObject jsonObject)
Returns false if there is an incomplete event and the combineDispositionStepConditions property is true otherwise return true.- Specified by:
evaluatein interfaceorg.alfresco.web.evaluator.Evaluator- Specified by:
evaluatein classorg.alfresco.web.evaluator.BaseEvaluator- Parameters:
jsonObject-- Returns:
- boolean
-
-