Class BaseRMEvaluator

    • Field Summary

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

        args, metadata, negateOutput
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseRMEvaluator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.json.simple.JSONArray getRMIndicators​(org.json.simple.JSONObject jsonObject)
      Retrieve a JSONArray of applicable indicators
      protected org.json.simple.JSONObject getRMNode​(org.json.simple.JSONObject jsonObject)
      Retrieve a JSONObject representing the RM extended properties
      protected boolean isDocLibRecord​(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
    • Constructor Detail

      • BaseRMEvaluator

        public BaseRMEvaluator()
    • 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