public interface AnyObjectDAO extends AnyDAO<AnyObject>
DEFAULT_PAGE_SIZE
Modifier and Type | Method and Description |
---|---|
Map<String,Integer> |
countByRealm(AnyType anyType) |
Map<AnyType,Integer> |
countByType()
Counts the number of instances for each type.
|
Collection<String> |
findAllGroupKeys(AnyObject anyObject) |
Collection<Group> |
findAllGroups(AnyObject anyObject) |
List<Relationship<Any<?>,AnyObject>> |
findAllRelationships(AnyObject anyObject) |
Collection<ExternalResource> |
findAllResources(AnyObject anyObject) |
AnyObject |
findByName(String name) |
List<Group> |
findDynGroups(String key) |
AMembership |
findMembership(String key) |
Pair<Set<String>,Set<String>> |
saveAndGetDynGroupMembs(AnyObject anyObject) |
void |
securityChecks(Set<String> authRealms,
String key,
String realm,
Collection<String> groups)
Checks if the calling user is authorized to access the Any Object matching the provided key, under the given
realm.
|
authFind, count, delete, delete, find, findAll, findAllKeys, findAllowedSchemas, findAllResourceKeys, findByDerAttrValue, findByKeys, findByPlainAttrUniqueValue, findByPlainAttrValue, findByResource, findDynRealms, findKey, findLastChange, getAllMatchingCond, save
void securityChecks(Set<String> authRealms, String key, String realm, Collection<String> groups)
authRealms
- realms for which the calling user owns entitlement(s) to checkkey
- Any Object keyrealm
- Any Object's realm full pathgroups
- group the Any Object is member ofMap<AnyType,Integer> countByType()
AMembership findMembership(String key)
List<Relationship<Any<?>,AnyObject>> findAllRelationships(AnyObject anyObject)
Collection<Group> findAllGroups(AnyObject anyObject)
Collection<String> findAllGroupKeys(AnyObject anyObject)
Collection<ExternalResource> findAllResources(AnyObject anyObject)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.