Class ActivityHelper
java.lang.Object
org.ametys.plugins.repository.activities.ActivityHelper
Helper for implementing
ActivityHolder in JCR.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetActivityXPathQuery(Expression activityExpression) Creates the XPath query corresponding to specifiedExpression.
-
Method Details
-
getActivityXPathQuery
Creates the XPath query corresponding to specifiedExpression. 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.
-