Class AbstractAnyMatchDAO
java.lang.Object
org.apache.syncope.core.persistence.common.dao.AbstractAnyMatchDAO
- All Implemented Interfaces:
AnyMatchDAO
- Direct Known Subclasses:
JPAAnyMatchDAO,Neo4jAnyMatchDAO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnyObjectDAOprotected final AnyUtilsFactoryprotected final EntityFactoryprotected final GroupDAOprotected static final Loggerprotected final PlainSchemaDAOprotected final RealmDAOprotected final UserDAOprotected final PlainAttrValidationManager -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAnyMatchDAO(UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, RealmDAO realmDAO, PlainSchemaDAO plainSchemaDAO, AnyUtilsFactory anyUtilsFactory, PlainAttrValidationManager validator, EntityFactory entityFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanmatches(List<PlainAttrValue> anyAttrValues, PlainAttrValue attrValue, PlainSchema schema, AttrCond cond) protected booleanprotected booleanmatches(Any any, AnyTypeCond cond, boolean not) protected booleanprotected booleanmatches(Any any, DynRealmCond cond, boolean not) protected booleanmatches(Any any, ResourceCond cond, boolean not) protected booleanmatches(Group group, MemberCond cond, boolean not) protected booleanmatches(Groupable<?, ?, ?> any, MembershipCond cond, boolean not) protected booleanmatches(Relatable<?, ?> any, RelationshipCond cond, boolean not) protected booleanmatches(Relatable<?, ?> any, RelationshipTypeCond cond, boolean not) protected boolean<T extends Any>
booleanmatches(T any, SearchCond cond) Verify if any matches the given search condition.protected abstract voidrelationshipFieldMatches(PropertyDescriptor pd, AnyCond cond, PlainSchema schema)
-
Field Details
-
LOG
-
userDAO
-
groupDAO
-
anyObjectDAO
-
realmDAO
-
plainSchemaDAO
-
anyUtilsFactory
-
validator
-
entityFactory
-
-
Constructor Details
-
AbstractAnyMatchDAO
public AbstractAnyMatchDAO(UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, RealmDAO realmDAO, PlainSchemaDAO plainSchemaDAO, AnyUtilsFactory anyUtilsFactory, PlainAttrValidationManager validator, EntityFactory entityFactory)
-
-
Method Details
-
matches
Verify if any matches the given search condition.- Specified by:
matchesin interfaceAnyMatchDAO- Type Parameters:
T- any- Parameters:
any- to be checkedcond- to be verified- Returns:
- true if any matches cond
-
matches
-
matches
-
matches
-
matches
-
matches
-
matches
-
matches
-
matches
-
matches
protected boolean matches(List<PlainAttrValue> anyAttrValues, PlainAttrValue attrValue, PlainSchema schema, AttrCond cond) -
matches
-
relationshipFieldMatches
protected abstract void relationshipFieldMatches(PropertyDescriptor pd, AnyCond cond, PlainSchema schema) -
matches
-