com.atlassian.jira.security.roles
Class ProjectRoleManager.ProjectIdToProjectRoleIdsMap

java.lang.Object
  extended by com.atlassian.jira.security.roles.ProjectRoleManager.ProjectIdToProjectRoleIdsMap
All Implemented Interfaces:
Iterable<ProjectRoleManager.ProjectIdToProjectRoleIdsMap.Entry>
Enclosing interface:
ProjectRoleManager

public static class ProjectRoleManager.ProjectIdToProjectRoleIdsMap
extends Object
implements Iterable<ProjectRoleManager.ProjectIdToProjectRoleIdsMap.Entry>

This class implements is backed by the map with project ID as a key and a collection of project role IDs as the mapped value of the map.


Nested Class Summary
static class ProjectRoleManager.ProjectIdToProjectRoleIdsMap.Entry
          Map entry that holds the project id and the collection of project role ids
 
Constructor Summary
ProjectRoleManager.ProjectIdToProjectRoleIdsMap()
           
 
Method Summary
 void add(Long projectId, Long projectRoleId)
           
 boolean isEmpty()
          Returns true if the map is empty, false otherwise
 Iterator<ProjectRoleManager.ProjectIdToProjectRoleIdsMap.Entry> iterator()
          Returns an iterator for this map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectRoleManager.ProjectIdToProjectRoleIdsMap

public ProjectRoleManager.ProjectIdToProjectRoleIdsMap()
Method Detail

add

public void add(Long projectId,
                Long projectRoleId)

isEmpty

public boolean isEmpty()
Returns true if the map is empty, false otherwise

Returns:
true if the map is empty, false otherwise

iterator

public Iterator<ProjectRoleManager.ProjectIdToProjectRoleIdsMap.Entry> iterator()
Returns an iterator for this map

Specified by:
iterator in interface Iterable<ProjectRoleManager.ProjectIdToProjectRoleIdsMap.Entry>
Returns:
an iterator


Copyright © 2002-2012 Atlassian. All Rights Reserved.