Class PGJPARealmSearchDAO
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.PGJPARealmSearchDAO
- All Implemented Interfaces:
RealmSearchDAO
-
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
FieldsFields 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
ConstructorsConstructorDescriptionPGJPARealmSearchDAO(EntityManager entityManager, PlainSchemaDAO plainSchemaDAO, EntityFactory entityFactory, PlainAttrValidationManager validator, RealmUtils realmUtils) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildFrom(Set<String> plainSchemas, OrderBySupport obs) protected static StringescapeForLikeRegex(String input) protected static StringescapeIfString(String value, boolean isStr) protected RealmSearchNode.LeaffilJSONAttrQuery(PlainAttrValue attrValue, PlainSchema schema, AttrCond cond, boolean not) 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
-
Field Details
-
REGEX_CHARS
- See Also:
-
-
Constructor Details
-
PGJPARealmSearchDAO
public PGJPARealmSearchDAO(EntityManager entityManager, PlainSchemaDAO plainSchemaDAO, EntityFactory entityFactory, PlainAttrValidationManager validator, RealmUtils realmUtils)
-
-
Method Details
-
escapeForLikeRegex
-
escapeIfString
-
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) -
getQuery
protected AbstractJPARealmSearchDAO.AttrCondQuery getQuery(AttrCond cond, boolean not, AbstractSearchDAO.CheckResult<AttrCond> checked, List<Object> parameters) - Specified by:
getQueryin classAbstractJPARealmSearchDAO
-
buildFrom
- Overrides:
buildFromin classAbstractJPARealmSearchDAO
-