net.refractions.udig.issues
Interface IIssuesList

All Superinterfaces:
java.util.Collection<IIssue>, java.lang.Iterable<IIssue>, java.util.List<IIssue>
All Known Subinterfaces:
IRemoteIssuesList
All Known Implementing Classes:
IssuesList, StrategizedIssuesList

public interface IIssuesList
extends java.util.List<IIssue>

Encapsulates a list of issues. The default implementation is a list kept in memory. But other implementation can be defined by the

Since:
1.1.0
Author:
Jesse

Method Summary
 void addListener(IIssuesListListener listener)
          Add Listener to list
 java.lang.String getExtensionID()
          Returns The extension id of the list as defined in a plugin.xml file.
 java.util.Set<java.lang.String> getGroups()
          Returns a set of all the issue groups that are in the list.
 java.util.List<IIssue> getIssues(java.lang.String groupId)
          Gets the all issues with the groupID
 void removeIssues(java.lang.String groupId)
          Remove all issues in the group.
 void removeListener(IIssuesListListener listener)
          Remove listener from list
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getGroups

java.util.Set<java.lang.String> getGroups()
Returns a set of all the issue groups that are in the list.

Returns:
a set of all the issue groups.

getIssues

java.util.List<IIssue> getIssues(java.lang.String groupId)
Gets the all issues with the groupID

Parameters:
groupId - groupId of a group of issues
Returns:
all issues with the groupID

removeIssues

void removeIssues(java.lang.String groupId)
Remove all issues in the group.

Parameters:
groupId - group id of issues to remove

addListener

void addListener(IIssuesListListener listener)
Add Listener to list

Parameters:
listener - listener to add

removeListener

void removeListener(IIssuesListListener listener)
Remove listener from list

Parameters:
listener - listener to remove

getExtensionID

java.lang.String getExtensionID()
Returns The extension id of the list as defined in a plugin.xml file.

Returns:
The extension id of the list as defined in a plugin.xml file.