Class OJPAJSONAnySearchDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<Any<?>>
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractAnySearchDAO
-
- org.apache.syncope.core.persistence.jpa.dao.JPAAnySearchDAO
-
- org.apache.syncope.core.persistence.jpa.dao.OJPAJSONAnySearchDAO
-
- All Implemented Interfaces:
AnySearchDAO
,DAO<Any<?>>
public class OJPAJSONAnySearchDAO extends JPAAnySearchDAO
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.JPAAnySearchDAO
SELECT_COLS_FROM_VIEW
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractAnySearchDAO
anyObjectDAO, anyUtilsFactory, dynRealmDAO, entityFactory, groupDAO, plainSchemaDAO, realmDAO, RELATIONSHIP_FIELDS, userDAO, validator
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description OJPAJSONAnySearchDAO(RealmDAO realmDAO, DynRealmDAO dynRealmDAO, UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, PlainSchemaDAO schemaDAO, EntityFactory entityFactory, AnyUtilsFactory anyUtilsFactory, PlainAttrValidationManager validator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillAttrQuery(AnyUtils anyUtils, StringBuilder query, PlainAttrValue attrValue, PlainSchema schema, AttrCond cond, boolean not, List<Object> parameters, SearchSupport svs)
protected String
getQuery(AttrCond cond, boolean not, List<Object> parameters, SearchSupport svs)
protected void
parseOrderByForPlainSchema(SearchSupport svs, OrderBySupport obs, OrderBySupport.Item item, OrderByClause clause, PlainSchema schema, String fieldName)
protected void
processOBS(SearchSupport svs, OrderBySupport obs, StringBuilder where)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.JPAAnySearchDAO
buildAdminRealmsFilter, buildOrderBy, buildSelect, buildWhere, doCount, doSearch, fillAttrQuery, fillWithParameters, getAdminRealmsFilter, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getQueryForCustomConds, key, parseOrderBy, parseOrderByForCustom, parseOrderByForField, queryOp, setParameter
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractAnySearchDAO
buildEffectiveCond, buildResult, check, check, check, check, check, count, search, search, search
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Constructor Detail
-
OJPAJSONAnySearchDAO
public OJPAJSONAnySearchDAO(RealmDAO realmDAO, DynRealmDAO dynRealmDAO, UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, PlainSchemaDAO schemaDAO, EntityFactory entityFactory, AnyUtilsFactory anyUtilsFactory, PlainAttrValidationManager validator)
-
-
Method Detail
-
processOBS
protected void processOBS(SearchSupport svs, OrderBySupport obs, StringBuilder where)
- Overrides:
processOBS
in classJPAAnySearchDAO
-
parseOrderByForPlainSchema
protected void parseOrderByForPlainSchema(SearchSupport svs, OrderBySupport obs, OrderBySupport.Item item, OrderByClause clause, PlainSchema schema, String fieldName)
- Overrides:
parseOrderByForPlainSchema
in classJPAAnySearchDAO
-
fillAttrQuery
protected void fillAttrQuery(AnyUtils anyUtils, StringBuilder query, PlainAttrValue attrValue, PlainSchema schema, AttrCond cond, boolean not, List<Object> parameters, SearchSupport svs)
-
getQuery
protected String getQuery(AttrCond cond, boolean not, List<Object> parameters, SearchSupport svs)
- Overrides:
getQuery
in classJPAAnySearchDAO
-
-