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

java.lang.Object
  extended by com.atlassian.jira.security.roles.ProjectRoleManager.ProjectIdToProjectRoleIdsMap
Enclosing interface:
ProjectRoleManager

public static class ProjectRoleManager.ProjectIdToProjectRoleIdsMap
extends Object

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
static interface ProjectRoleManager.ProjectIdToProjectRoleIdsMap.Iterator
          Iterator interface for this map
 
Constructor Summary
ProjectRoleManager.ProjectIdToProjectRoleIdsMap()
           
 
Method Summary
 void add(Long projectId, Long projectRoleId)
          NOTE: Null parameters are silently ignored - nothing is added.
 boolean isEmpty()
          Returns true if the map is empty, false otherwise
 ProjectRoleManager.ProjectIdToProjectRoleIdsMap.Iterator 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)
NOTE: Null parameters are silently ignored - nothing is added.

Parameters:
projectId -
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 ProjectRoleManager.ProjectIdToProjectRoleIdsMap.Iterator iterator()
Returns an iterator for this map

Returns:
an iterator


Copyright © 2002-2008 Atlassian. All Rights Reserved.