|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SchemeGroupsToRoleTransformerService
Service to do validation that passes through to a SchemeGroupsToRolesTransformer.
| Method Summary | |
|---|---|
SchemeTransformResults |
doTransform(com.atlassian.crowd.embedded.api.User currentUser,
List schemes,
Set regularExpressionRoleMappings,
ErrorCollection errorCollection)
|
Collection |
getGroupsWithGlobalUsePermission(Collection groups)
Accepts a Collection of group names and returns a sub-Collection containing the groups that have been granted the global Permissions.USE permission. |
Collection |
getGroupsWithoutGlobalUsePermission(Collection groups)
Accepts a Collection of group names and returns a sub-Collection containing the groups that have NOT been granted the global Permissions.USE permission. |
boolean |
isAnyGroupGrantedGlobalUsePermission(Collection groups)
Determines whether one or more of the supplied group names matches a group that's been granted the global Permissions.USE permission |
boolean |
isGroupGrantedGlobalUsePermission(String groupName)
Determines whether supplied group name matches a group that's been granted the global Permissions.USE permission |
void |
persistTransformationResults(com.atlassian.crowd.embedded.api.User currentUser,
SchemeTransformResults schemeTransformResults,
ErrorCollection errorCollection)
|
| Method Detail |
|---|
SchemeTransformResults doTransform(com.atlassian.crowd.embedded.api.User currentUser,
List schemes,
Set regularExpressionRoleMappings,
ErrorCollection errorCollection)
void persistTransformationResults(com.atlassian.crowd.embedded.api.User currentUser,
SchemeTransformResults schemeTransformResults,
ErrorCollection errorCollection)
Collection getGroupsWithGlobalUsePermission(Collection groups)
groups - a Collection of group names (not null, may be empty)
Collection getGroupsWithoutGlobalUsePermission(Collection groups)
groups - a Collection of group names (not null, may be empty)
boolean isGroupGrantedGlobalUsePermission(String groupName)
groupName - a group name
boolean isAnyGroupGrantedGlobalUsePermission(Collection groups)
groups - a Collection of group names (not null, may be empty)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||