Class ContentConsistencySearcher
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.content.consistency.ContentConsistencySearcher
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
- Direct Known Subclasses:
ContentConsistencySearcher
public class ContentConsistencySearcher
extends AbstractLogEnabled
implements Serviceable, Component
Execute JCR query to search for content consistency result
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Expression
getExpression
(List<Expression> criteriaExpressions) Get the final expression based on the list of criteria expressionsearchResults
(Map<String, Object> jsonParams) Execute a search based on the provided parameters.void
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
CMS_RIGHTS_TOOLS_GLOBAL_CONSISTENCY
right id to access global consistency tool- See Also:
-
ROLE
the avalon role
-
-
Constructor Details
-
ContentConsistencySearcher
public ContentConsistencySearcher()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
searchResults
Execute a search based on the provided parameters. Only results with failure will be searched Parameters must include :start
andlimit
for paginationsort
for sort criteria definitionvalues
for the criteria definition
- Parameters:
jsonParams
- the json params- Returns:
- json representation of the results based on
ContentConstitencySearchModel
- Throws:
ProcessingException
-
getExpression
Get the final expression based on the list of criteria expression- Parameters:
criteriaExpressions
- a list of expressions- Returns:
- an expression or null if the list is empty
-