Interface AnyObjectDAO
- All Known Subinterfaces:
AnyObjectRepo
,AnyObjectRepo
-
Field Summary
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
DEFAULT_PAGE_SIZE
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
DEFAULT_SORT
-
Method Summary
Modifier and TypeMethodDescriptioncountByRealm
(AnyType anyType) Counts the number of instances for each type.void
deleteMembership
(AMembership membership) findAllGroupKeys
(AnyObject anyObject) findAllGroups
(AnyObject anyObject) findAllRelationships
(AnyObject anyObject) findAllResources
(AnyObject anyObject) findByName
(String name) findByName
(String type, String name) findDynGroups
(String key) findMembership
(String key) 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.Methods inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
authFind, findAll, findAllowedSchemas, findAllResourceKeys, findByDerAttrValue, findByKeys, findByResourcesContaining, findDynRealms, findLastChange, getAllMatchingCond
Methods inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
count, delete, deleteById, existsById, findAll, findById, save
-
Method Details
-
findKey
-
findByName
-
findByName
-
securityChecks
Checks if the calling user is authorized to access the Any Object matching the provided key, under the given realm.- Parameters:
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 of
-
countByType
Counts the number of instances for each type. The returned map is expected to be sorted on values.- Returns:
- the number of instances for each type
-
countByRealm
-
findMembership
-
deleteMembership
-
findDynGroups
-
findAllRelationships
-
findAllGroups
-
findAllGroupKeys
-
findAllResources
-
saveAndGetDynGroupMembs
-