Class BaseRecordedVersionHistoryEvaluator

    • 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
      protected boolean evaluate​(org.json.simple.JSONObject jsonObject, String policy)
      Evaluation execution implementation.
      • 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
    • Constructor Detail

      • BaseRecordedVersionHistoryEvaluator

        public BaseRecordedVersionHistoryEvaluator()
    • Method Detail

      • evaluate

        protected boolean evaluate​(org.json.simple.JSONObject jsonObject,
                                   String policy)
        Evaluation execution implementation.
        Parameters:
        jsonObject - The json object representing the document wrapping the node as received from a Rhino script
        policy - The recordable version policy
        Returns:
        true if the node's recordable version property value equals to policy, false otherwise