com.atlassian.jira.scheme.mapper
Class RoleToGroupsMapping

java.lang.Object
  extended by com.atlassian.jira.scheme.mapper.RoleToGroupsMapping

public class RoleToGroupsMapping
extends Object

Represents a mapping between many or one group/s and a ProjectRole. This object also has some convenience methods that allow us to find the Set of users that will be unwrapped into the project role as part of the mapping.


Constructor Summary
RoleToGroupsMapping(GroupToRoleMapping groupToRoleMapping)
           
 
Method Summary
 void addMappedGroup(Group group)
           
 GroupToRoleMapping getGroupToRoleMapping()
           
 Collection getMappedGroupNames()
           
 Collection getMappedGroups()
           
 ProjectRole getProjectRole()
           
 Collection getUnpackedUsers()
           
 Collection getUnpackedUsersLimited(int limit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleToGroupsMapping

public RoleToGroupsMapping(GroupToRoleMapping groupToRoleMapping)
Method Detail

getProjectRole

public ProjectRole getProjectRole()

addMappedGroup

public void addMappedGroup(Group group)

getGroupToRoleMapping

public GroupToRoleMapping getGroupToRoleMapping()

getMappedGroups

public Collection getMappedGroups()

getMappedGroupNames

public Collection getMappedGroupNames()

getUnpackedUsers

public Collection getUnpackedUsers()

getUnpackedUsersLimited

public Collection getUnpackedUsersLimited(int limit)


Copyright © 2002-2009 Atlassian. All Rights Reserved.