public class JPAJSONAnyObjectDAO extends JPAAnyObjectDAO
groupDAO, userDAO
anyUtilsFactory, derSchemaDAO, dynRealmDAO, plainSchemaDAO
LOG
DEFAULT_PAGE_SIZE
Constructor and Description |
---|
JPAJSONAnyObjectDAO() |
Modifier and Type | Method and Description |
---|---|
protected Pair<AnyObject,Pair<Set<String>,Set<String>>> |
doSave(AnyObject anyObject) |
List<AnyObject> |
findByDerAttrValue(DerSchema schema,
String value,
boolean ignoreCaseMatch)
Find any objects by derived attribute value.
|
Optional<AnyObject> |
findByPlainAttrUniqueValue(PlainSchema schema,
PlainAttrUniqueValue attrUniqueValue,
boolean ignoreCaseMatch) |
List<AnyObject> |
findByPlainAttrValue(PlainSchema schema,
PlainAttrValue attrValue,
boolean ignoreCaseMatch) |
AnyObject |
save(AnyObject anyObject) |
count, countByRealm, countByType, delete, findAll, findAllGroupKeys, findAllGroups, findAllKeys, findAllRelationships, findAllResourceKeys, findAllResources, findARelationships, findByName, findDynGroups, findKey, findLastChange, findMembership, findURelationships, init, saveAndGetDynGroupMembs, securityChecks, securityChecks
anyUtils, authFind, convert, delete, find, findAllKeys, findAllowedSchemas, findByKeys, findByResource, findDynRealms, findKey, findLastChange, getAllMatchingCond
clear, detach, entityManager, entityManagerFactory, refresh
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authFind, delete, find, findAllowedSchemas, findByKeys, findByResource, findDynRealms, getAllMatchingCond
public List<AnyObject> findByPlainAttrValue(PlainSchema schema, PlainAttrValue attrValue, boolean ignoreCaseMatch)
findByPlainAttrValue
in interface AnyDAO<AnyObject>
findByPlainAttrValue
in class AbstractAnyDAO<AnyObject>
public Optional<AnyObject> findByPlainAttrUniqueValue(PlainSchema schema, PlainAttrUniqueValue attrUniqueValue, boolean ignoreCaseMatch)
findByPlainAttrUniqueValue
in interface AnyDAO<AnyObject>
findByPlainAttrUniqueValue
in class AbstractAnyDAO<AnyObject>
public List<AnyObject> findByDerAttrValue(DerSchema schema, String value, boolean ignoreCaseMatch)
AnyDAO
findByDerAttrValue
in interface AnyDAO<AnyObject>
findByDerAttrValue
in class AbstractAnyDAO<AnyObject>
schema
- derived schemavalue
- derived attribute valueignoreCaseMatch
- whether comparison for string values should take case into account or notprotected Pair<AnyObject,Pair<Set<String>,Set<String>>> doSave(AnyObject anyObject)
doSave
in class JPAAnyObjectDAO
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.