Class AbstractSearchDAO
java.lang.Object
org.apache.syncope.core.persistence.common.dao.AbstractSearchDAO
- Direct Known Subclasses:
AbstractAnySearchDAO,AbstractRealmSearchDAO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordAbstractSearchDAO.CheckResult<C extends AttrCond> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected final EntityFactoryprotected static final Comparator<String> protected static final Loggerprotected final PlainSchemaDAOprotected final PlainAttrValidationManager -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSearchDAO(PlainSchemaDAO plainSchemaDAO, EntityFactory entityFactory, PlainAttrValidationManager validator) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<SearchCond> buildDerAttrValueConditions(String expression, String value, boolean ignoreCaseMatch) protected AbstractSearchDAO.CheckResult<AnyCond> protected AbstractSearchDAO.CheckResult<AttrCond> static Stringkey(AttrSchemaType schemaType) Split an attribute value recurring on provided literals/tokens.protected static Supplier<SyncopeClientException> syncopeClientException(String message)
-
Field Details
-
LOG
-
ALWAYS_FALSE_CLAUSE
- See Also:
-
LITERAL_COMPARATOR
-
plainSchemaDAO
-
entityFactory
-
validator
-
-
Constructor Details
-
AbstractSearchDAO
protected AbstractSearchDAO(PlainSchemaDAO plainSchemaDAO, EntityFactory entityFactory, PlainAttrValidationManager validator)
-
-
Method Details
-
key
-
split
Split an attribute value recurring on provided literals/tokens.- Parameters:
attrValue- value to be splitliterals- literals/tokens- Returns:
- split value
-
syncopeClientException
-
buildDerAttrValueConditions
protected List<SearchCond> buildDerAttrValueConditions(String expression, String value, boolean ignoreCaseMatch) -
check
-
check
-