Class 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
    • Field Summary

      • Fields inherited from class org.alfresco.web.evaluator.BaseEvaluator

        args, metadata, negateOutput
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean evaluate​(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.web.evaluator.BaseEvaluator

        evaluate, evaluate, evaluate, getArg, getArgs, getContainerType, getHasContent, getHeader, getIsLocked, getIsPortlet, getIsWorkingCopy, getJSONValue, getMatchesCurrentUser, getMetadata, getNodeAspects, getNodeType, getProperty, getSiteId, getSitePreset, getUserId, setNegateOutput
    • Constructor Detail

      • IncompleteEventEvaluator

        public IncompleteEventEvaluator()
    • 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:
        evaluate in interface org.alfresco.web.evaluator.Evaluator
        Specified by:
        evaluate in class org.alfresco.web.evaluator.BaseEvaluator
        Parameters:
        jsonObject -
        Returns:
        boolean