Package org.alfresco.opencmis.search
Interface CMISQueryOptions.CMISQueryFilter
- Enclosing class:
CMISQueryOptions
public static interface CMISQueryOptions.CMISQueryFilter
Allows to filter CMIS query results. Implementations are responsible for adjusting the DB and Index queries.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyAFTSFilter(Consumer<String> aftsConsumer) CMIS DB query can fall back to the Search Index.applyTo(Constraint constraint, QueryModelFactory queryModelFactory) Responsible for adjusting already existingConstraintpropertyEquality(String propertyName, String propertyValue)
-
Method Details
-
propertyEquality
-
applyTo
Responsible for adjusting already existingConstraint- Parameters:
constraint- already existing constraints. Can benull(noWHEREclause).queryModelFactory- factory for creatingConstraints.- Returns:
Constrainteffective constraints.
-
applyAFTSFilter
CMIS DB query can fall back to the Search Index. When it happens this method is responsible for generating the AFTS filter the index query.- Parameters:
aftsConsumer-Consumerfor the AFTS filter.
-