Class ActivityHelper

java.lang.Object
org.ametys.plugins.repository.activities.ActivityHelper

public final class ActivityHelper extends Object
Helper for implementing ActivityHolder in JCR.
  • Method Details

    • getActivityXPathQuery

      public static String getActivityXPathQuery(Expression activityExpression)
      Creates the XPath query corresponding to specified Expression. The query will include to sort the result by activity date. If no expression is provided, all the activity nodes will be returned
      Parameters:
      activityExpression - the query predicates. can be null.
      Returns:
      the created XPath query.