Class JPAJSONGroupDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<A>
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractAnyDAO<Group>
-
- org.apache.syncope.core.persistence.jpa.dao.JPAGroupDAO
-
- org.apache.syncope.core.persistence.jpa.dao.JPAJSONGroupDAO
-
-
Field Summary
Fields Modifier and Type Field Description protected JPAJSONAnyDAO
anyDAO
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.JPAGroupDAO
ADYNMEMB_TABLE, anyMatchDAO, anyObjectDAO, anySearchDAO, plainAttrDAO, publisher, searchCondVisitor, UDYNMEMB_TABLE, userDAO
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractAnyDAO
anyUtilsFactory, derSchemaDAO, dynRealmDAO, plainSchemaDAO
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
DEFAULT_PAGE_SIZE
-
-
Constructor Summary
Constructors Constructor Description JPAJSONGroupDAO(AnyUtilsFactory anyUtilsFactory, ApplicationEventPublisher publisher, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, DynRealmDAO dynRealmDAO, AnyMatchDAO anyMatchDAO, PlainAttrDAO plainAttrDAO, UserDAO userDAO, AnyObjectDAO anyObjectDAO, AnySearchDAO searchDAO, SearchCondVisitor searchCondVisitor, JPAJSONAnyDAO anyDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Group>
findByDerAttrValue(DerSchema schema, String value, boolean ignoreCaseMatch)
Find any objects by derived attribute value.Optional<Group>
findByPlainAttrUniqueValue(PlainSchema schema, PlainAttrUniqueValue attrUniqueValue, boolean ignoreCaseMatch)
List<Group>
findByPlainAttrValue(PlainSchema schema, PlainAttrValue attrValue, boolean ignoreCaseMatch)
Group
save(Group group)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.JPAGroupDAO
buildDynMembershipCond, clearADynMembers, clearUDynMembers, count, countADynMembers, countAMembers, countByRealm, countUDynMembers, countUMembers, delete, existsAMembership, existsUMembership, findADynMembers, findAll, findAllKeys, findAllResourceKeys, findAMembers, findAMemberships, findByName, findKey, findKeysByNamePattern, findLastChange, findOwnedByGroup, findOwnedByUser, findTypeExtensions, findUDynMembers, findUMembers, findUMemberships, findWithADynMemberships, findWithUDynMemberships, init, refreshDynMemberships, refreshDynMemberships, removeDynMemberships, removeDynMemberships, saveAndRefreshDynMemberships, securityChecks, securityChecks
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractAnyDAO
anyUtils, authFind, delete, find, findAllKeys, findAllowedSchemas, findByKeys, findByResource, findDynRealms, findLastChange, getAllMatchingCond
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
authFind, delete, find, findAllowedSchemas, findByKeys, findByResource, findDynRealms, getAllMatchingCond
-
-
-
-
Field Detail
-
anyDAO
protected final JPAJSONAnyDAO anyDAO
-
-
Constructor Detail
-
JPAJSONGroupDAO
public JPAJSONGroupDAO(AnyUtilsFactory anyUtilsFactory, ApplicationEventPublisher publisher, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, DynRealmDAO dynRealmDAO, AnyMatchDAO anyMatchDAO, PlainAttrDAO plainAttrDAO, UserDAO userDAO, AnyObjectDAO anyObjectDAO, AnySearchDAO searchDAO, SearchCondVisitor searchCondVisitor, JPAJSONAnyDAO anyDAO)
-
-
Method Detail
-
findByPlainAttrValue
public List<Group> findByPlainAttrValue(PlainSchema schema, PlainAttrValue attrValue, boolean ignoreCaseMatch)
- Specified by:
findByPlainAttrValue
in interfaceAnyDAO<Group>
- Overrides:
findByPlainAttrValue
in classAbstractAnyDAO<Group>
-
findByPlainAttrUniqueValue
public Optional<Group> findByPlainAttrUniqueValue(PlainSchema schema, PlainAttrUniqueValue attrUniqueValue, boolean ignoreCaseMatch)
- Specified by:
findByPlainAttrUniqueValue
in interfaceAnyDAO<Group>
- Overrides:
findByPlainAttrUniqueValue
in classAbstractAnyDAO<Group>
-
findByDerAttrValue
public List<Group> findByDerAttrValue(DerSchema schema, String value, boolean ignoreCaseMatch)
Description copied from interface:AnyDAO
Find any objects by derived attribute value. This method could fail if one or more string literals contained into the derived attribute value provided derive from identifier (schema key) replacement. When you are going to specify a derived attribute expression you must be quite sure that string literals used to build the expression cannot be found into the attribute values used to replace attribute schema keys used as identifiers.- Specified by:
findByDerAttrValue
in interfaceAnyDAO<Group>
- Overrides:
findByDerAttrValue
in classAbstractAnyDAO<Group>
- Parameters:
schema
- derived schemavalue
- derived attribute valueignoreCaseMatch
- whether comparison for string values should take case into account or not- Returns:
- list of any objects
-
-