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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextualize(Context context) protected ExpressiongetExpression(List<Expression> criteriaExpressions) Get the final expression based on the list of criteria expressionMethods inherited from class org.ametys.cms.content.consistency.ContentConsistencySearcher
searchResults, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ContentConsistencySearcher
public ContentConsistencySearcher()
-
-
Method Details
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
getExpression
Description copied from class:ContentConsistencySearcherGet the final expression based on the list of criteria expression- Overrides:
getExpressionin classContentConsistencySearcher- Parameters:
criteriaExpressions- a list of expressions- Returns:
- an expression or null if the list is empty
-