AnsweredAssumed Answered

How to create custom action Evaluator in Alfresco 5.0 ?

Question asked by abhinav on Apr 11, 2015
Latest reply on Apr 17, 2015 by abhinav
Hi  Team,
Can you please advice me how can i create custom action Evaluator in alfresco 5.0 enterprise ?

I used to create custom Evaluator in Alfresco 4.2.3.3 enterprise as given below:

import org.json.JSONObject;
import alfresco.web.evaluator.BaseEvaluator;

//example
public class IsCommentUpdated extends BaseEvaluator{

   @Override
   public boolean evaluate(JSONObject arg0) {
      //… code
      return false;
   }
}

"BaseEvaluator" class was present in alfresco-share-4.2.3.3.jar file. but in Alfresco 5.x i can see this jar file.

What is the location of Evaluator classes in 5.x ??


Regards,
Abhinav

Outcomes