-
Field Summary
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
DEFAULT_SORT
-
Method Summary
void
void
long
long
long
long
boolean
boolean
Evaluates all the dynamic group membership conditions against the given anyObject (invoked during save).
Evaluates all the dynamic group membership conditions against the given user (invoked during save).
Removes the dynamic group memberships of the given anyObject (invoked during delete).
Removes the dynamic group memberships of the given anyObject (invoked during delete).
Saves the provided group and refreshes all User and AnyObject members.
void
Checks if the calling user is authorized to access the Group matching the provided key, under the given
realm.
Methods inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
authFind, findAll, findAllowedSchemas, findByDerAttrValue, findByKeys, findByPlainAttrUniqueValue, findByPlainAttrValue, findByResourcesContaining, findDynRealms, findLastChange, getAllMatchingCond
-
Method Details
-
-
-
securityChecks
Checks if the calling user is authorized to access the Group matching the provided key, under the given
realm.
- Parameters:
authRealms
- realms for which the calling user owns entitlement(s) to check
key
- Group key
realm
- Group's realm full path
-
-
-
-
-
-
-
-
-
existsAMembership
boolean existsAMembership(String anyObjectKey,
String groupKey)
-
-
-
countAMembers
long countAMembers(String groupKey)
-
countUMembers
long countUMembers(String groupKey)
-
countADynMembers
long countADynMembers(Group group)
-
countUDynMembers
long countUDynMembers(Group group)
-
clearADynMembers
void clearADynMembers(Group group)
-
refreshDynMemberships
Evaluates all the dynamic group membership conditions against the given anyObject (invoked during save).
- Parameters:
anyObject
- anyObject being saved
- Returns:
- pair of groups dynamically assigned before and after refresh
-
removeDynMemberships
Removes the dynamic group memberships of the given anyObject (invoked during delete).
- Parameters:
anyObject
- anyObject being deleted
- Returns:
- groups dynamically assigned before refresh
-
-
clearUDynMembers
void clearUDynMembers(Group group)
-
refreshDynMemberships
Evaluates all the dynamic group membership conditions against the given user (invoked during save).
- Parameters:
user
- user being saved
- Returns:
- pair of groups dynamically assigned before and after refresh
-
removeDynMemberships
Removes the dynamic group memberships of the given anyObject (invoked during delete).
- Parameters:
user
- user being deleted
- Returns:
- groups dynamically assigned before refresh
-
saveAndRefreshDynMemberships
Saves the provided group and refreshes all User and AnyObject members.
- Parameters:
group
- group to save
- Returns:
- merged group
-
-