Class AbstractAnyMatchDAO
java.lang.Object
org.apache.syncope.core.persistence.common.dao.AbstractAnyMatchDAO
- All Implemented Interfaces:
AnyMatchDAO
- Direct Known Subclasses:
JPAAnyMatchDAO
,Neo4jAnyMatchDAO
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnyObjectDAO
protected final AnyUtilsFactory
protected final EntityFactory
protected final GroupDAO
protected static final Logger
protected final PlainSchemaDAO
protected final RealmDAO
protected final UserDAO
protected final PlainAttrValidationManager
-
Constructor Summary
ConstructorDescriptionAbstractAnyMatchDAO
(UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, RealmDAO realmDAO, PlainSchemaDAO plainSchemaDAO, AnyUtilsFactory anyUtilsFactory, PlainAttrValidationManager validator, EntityFactory entityFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
matches
(List<? extends PlainAttrValue> anyAttrValues, PlainAttrValue attrValue, PlainSchema schema, AttrCond cond) protected boolean
protected boolean
matches
(Any<?> any, AnyTypeCond cond, boolean not) protected boolean
protected boolean
matches
(Any<?> any, DynRealmCond cond, boolean not) protected boolean
matches
(Any<?> any, ResourceCond cond, boolean not) protected boolean
matches
(Group group, MemberCond cond, boolean not) protected boolean
matches
(GroupableRelatable<?, ?, ?, ?, ?> any, MembershipCond cond, boolean not) protected boolean
matches
(GroupableRelatable<?, ?, ?, ?, ?> any, RelationshipCond cond, boolean not) protected boolean
matches
(GroupableRelatable<?, ?, ?, ?, ?> 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 void
relationshipFieldMatches
(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:
matches
in interfaceAnyMatchDAO
- Type Parameters:
T
- any- Parameters:
any
- to be checkedcond
- to be verified- Returns:
- true if any matches cond
-
matches
-
matches
protected boolean matches(GroupableRelatable<?, ?, ?, ?, ?> any, RelationshipTypeCond cond, boolean not) -
matches
-
matches
-
matches
-
matches
-
matches
-
matches
-
matches
protected boolean matches(List<? extends PlainAttrValue> anyAttrValues, PlainAttrValue attrValue, PlainSchema schema, AttrCond cond) -
matches
-
relationshipFieldMatches
protected abstract void relationshipFieldMatches(PropertyDescriptor pd, AnyCond cond, PlainSchema schema) -
matches
-