Class MySQLJPARealmSearchDAO
java.lang.Object
org.apache.syncope.core.persistence.common.dao.AbstractSearchDAO
org.apache.syncope.core.persistence.common.dao.AbstractRealmSearchDAO
org.apache.syncope.core.persistence.jpa.dao.AbstractJPARealmSearchDAO
org.apache.syncope.core.persistence.jpa.dao.MySQLJPARealmSearchDAO
- All Implemented Interfaces:
RealmSearchDAO
- Direct Known Subclasses:
MariaDBJPARealmSearchDAO
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractJPARealmSearchDAO
AbstractJPARealmSearchDAO.AttrCondQuery, AbstractJPARealmSearchDAO.QueryInfoNested classes/interfaces inherited from class org.apache.syncope.core.persistence.common.dao.AbstractSearchDAO
AbstractSearchDAO.CheckResult<C extends AttrCond> -
Field Summary
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractJPARealmSearchDAO
entityManager, realmUtilsFields inherited from class org.apache.syncope.core.persistence.common.dao.AbstractRealmSearchDAO
RELATIONSHIP_FIELDSFields inherited from class org.apache.syncope.core.persistence.common.dao.AbstractSearchDAO
ALWAYS_FALSE_CLAUSE, entityFactory, LITERAL_COMPARATOR, LOG, plainSchemaDAO, validator -
Constructor Summary
ConstructorsConstructorDescriptionMySQLJPARealmSearchDAO(EntityManager entityManager, PlainSchemaDAO plainSchemaDAO, EntityFactory entityFactory, PlainAttrValidationManager validator, RealmUtils realmUtils) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildFrom(Set<String> plainSchemas, OrderBySupport obs) protected RealmSearchNode.LeaffilJSONAttrQuery(PlainAttrValue attrValue, PlainSchema schema, AttrCond cond, boolean not, List<Object> parameters) protected static Stringfrom(PlainSchema schema) protected AbstractJPARealmSearchDAO.AttrCondQuerygetQuery(AttrCond cond, boolean not, AbstractSearchDAO.CheckResult<AttrCond> checked, List<Object> parameters) protected voidparseOrderByForPlainSchema(OrderBySupport obs, OrderBySupport.Item item, org.springframework.data.domain.Sort.Order clause, PlainSchema schema, String fieldName) Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractJPARealmSearchDAO
buildWhere, doCount, doSearch, fillAttrQuery, fillWithParameters, findByFullPath, findByName, findChildren, findDescendants, getQuery, getQuery, getQuery, getQuery, getQueryForCustomConds, parseOrderBy, parseOrderByForCustom, parseOrderByForField, setParameter, visitNodeMethods inherited from class org.apache.syncope.core.persistence.common.dao.AbstractRealmSearchDAO
count, findByDerAttrValue, searchMethods inherited from class org.apache.syncope.core.persistence.common.dao.AbstractSearchDAO
buildDerAttrValueConditions, check, check, key, split, syncopeClientExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.syncope.core.persistence.api.dao.RealmSearchDAO
findAncestors, findAncestors, getAllMatchingCond
-
Constructor Details
-
MySQLJPARealmSearchDAO
public MySQLJPARealmSearchDAO(EntityManager entityManager, PlainSchemaDAO plainSchemaDAO, EntityFactory entityFactory, PlainAttrValidationManager validator, RealmUtils realmUtils)
-
-
Method Details
-
from
-
parseOrderByForPlainSchema
protected void parseOrderByForPlainSchema(OrderBySupport obs, OrderBySupport.Item item, org.springframework.data.domain.Sort.Order clause, PlainSchema schema, String fieldName) - Specified by:
parseOrderByForPlainSchemain classAbstractJPARealmSearchDAO
-
filJSONAttrQuery
protected RealmSearchNode.Leaf filJSONAttrQuery(PlainAttrValue attrValue, PlainSchema schema, AttrCond cond, boolean not, List<Object> parameters) -
getQuery
protected AbstractJPARealmSearchDAO.AttrCondQuery getQuery(AttrCond cond, boolean not, AbstractSearchDAO.CheckResult<AttrCond> checked, List<Object> parameters) - Specified by:
getQueryin classAbstractJPARealmSearchDAO
-
buildFrom
- Overrides:
buildFromin classAbstractJPARealmSearchDAO
-