|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.bc.scheme.mapper.DefaultSchemeGroupsToRoleTransformerService
public class DefaultSchemeGroupsToRoleTransformerService
Created by IntelliJ IDEA. User: detkin Date: Jun 23, 2006 Time: 3:50:27 PM To change this template use File | Settings | File Templates.
| Constructor Summary | |
|---|---|
DefaultSchemeGroupsToRoleTransformerService(SchemeGroupsToRolesTransformer schemeGroupsToRolesTransformer,
PermissionManager permissionManager,
JiraAuthenticationContext jiraAuthenticationContext,
GlobalPermissionManager globalPermissionManager)
|
|
| Method Summary | |
|---|---|
SchemeTransformResults |
doTransform(com.atlassian.crowd.embedded.api.User currentUser,
List schemes,
Set groupRoleMappings,
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 groupNames)
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSchemeGroupsToRoleTransformerService(SchemeGroupsToRolesTransformer schemeGroupsToRolesTransformer,
PermissionManager permissionManager,
JiraAuthenticationContext jiraAuthenticationContext,
GlobalPermissionManager globalPermissionManager)
| Method Detail |
|---|
public SchemeTransformResults doTransform(com.atlassian.crowd.embedded.api.User currentUser,
List schemes,
Set groupRoleMappings,
ErrorCollection errorCollection)
doTransform in interface SchemeGroupsToRoleTransformerService
public void persistTransformationResults(com.atlassian.crowd.embedded.api.User currentUser,
SchemeTransformResults schemeTransformResults,
ErrorCollection errorCollection)
persistTransformationResults in interface SchemeGroupsToRoleTransformerServicepublic boolean isGroupGrantedGlobalUsePermission(String groupName)
SchemeGroupsToRoleTransformerService
isGroupGrantedGlobalUsePermission in interface SchemeGroupsToRoleTransformerServicegroupName - a group name
public boolean isAnyGroupGrantedGlobalUsePermission(Collection groupNames)
SchemeGroupsToRoleTransformerService
isAnyGroupGrantedGlobalUsePermission in interface SchemeGroupsToRoleTransformerServicegroupNames - a Collection of group names (not null, may be empty)
public Collection getGroupsWithGlobalUsePermission(Collection groups)
SchemeGroupsToRoleTransformerService
getGroupsWithGlobalUsePermission in interface SchemeGroupsToRoleTransformerServicegroups - a Collection of group names (not null, may be empty)
public Collection getGroupsWithoutGlobalUsePermission(Collection groups)
SchemeGroupsToRoleTransformerService
getGroupsWithoutGlobalUsePermission in interface SchemeGroupsToRoleTransformerServicegroups - 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 | |||||||||