Class IsUserRecordContributor

  • All Implemented Interfaces:
    org.alfresco.web.evaluator.Evaluator

    public class IsUserRecordContributor
    extends org.alfresco.web.evaluator.BaseEvaluator
    Checks if the user is a record contributor
    Since:
    2.3
    Author:
    Roy Wetherall
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.alfresco.web.extensibility.SlingshotEvaluatorUtil util
      slingshot evaluator util
      • 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)  
      void setSlingshotEvaluatorUtil​(org.alfresco.web.extensibility.SlingshotEvaluatorUtil slingshotExtensibilityUtil)  
      • 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
    • Field Detail

      • util

        protected org.alfresco.web.extensibility.SlingshotEvaluatorUtil util
        slingshot evaluator util
    • Constructor Detail

      • IsUserRecordContributor

        public IsUserRecordContributor()
    • Method Detail

      • setSlingshotEvaluatorUtil

        public void setSlingshotEvaluatorUtil​(org.alfresco.web.extensibility.SlingshotEvaluatorUtil slingshotExtensibilityUtil)
        Parameters:
        slingshotExtensibilityUtil - SlingshotEvaluatorUtil
      • evaluate

        public boolean evaluate​(org.json.simple.JSONObject jsonObject)
        Specified by:
        evaluate in interface org.alfresco.web.evaluator.Evaluator
        Specified by:
        evaluate in class org.alfresco.web.evaluator.BaseEvaluator
        See Also:
        BaseEvaluator.evaluate(org.json.simple.JSONObject)