Class ContentConsistencySearcher
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.content.consistency.ContentConsistencySearcher
org.ametys.web.content.consistency.ContentConsistencySearcher
- All Implemented Interfaces:
LogEnabled
,Component
,Contextualizable
,Serviceable
public class ContentConsistencySearcher
extends ContentConsistencySearcher
implements Contextualizable
Override to restrict the search to the current site or outside
-
Field Summary
Fields inherited from class org.ametys.cms.content.consistency.ContentConsistencySearcher
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) protected Expression
getExpression
(List<Expression> criteriaExpressions) Get the final expression based on the list of criteria expressionMethods inherited from class org.ametys.cms.content.consistency.ContentConsistencySearcher
searchResults, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ContentConsistencySearcher
public ContentConsistencySearcher()
-
-
Method Details
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
getExpression
Description copied from class:ContentConsistencySearcher
Get the final expression based on the list of criteria expression- Overrides:
getExpression
in classContentConsistencySearcher
- Parameters:
criteriaExpressions
- a list of expressions- Returns:
- an expression or null if the list is empty
-