net.refractions.udig.issues
Interface IListStrategy


public interface IListStrategy

Provides the methods the StrategizedIssuesList requires for accessing the remote store.

Since:
1.1.0
Author:
Jesse

Method Summary
 void addIssues(java.util.List<? extends IIssue> issues)
          Adds issues to the back end
 java.lang.String getExtensionID()
          Returns The extension id of the list as defined in a plugin.xml file.
 java.util.Collection<? extends IIssue> getIssues()
          Returns a list of issues, the issues should be ordered in the correct order.
 void modifyIssue(IIssue issue)
          Saves the issue to the storage
 void removeIssues(java.util.Collection<? extends IIssue> issues)
          Removes the issues from storage
 

Method Detail

addIssues

void addIssues(java.util.List<? extends IIssue> issues)
               throws java.io.IOException
Adds issues to the back end

Parameters:
issues - issues to add.
Throws:
java.io.IOException

modifyIssue

void modifyIssue(IIssue issue)
                 throws java.io.IOException
Saves the issue to the storage

Parameters:
issue - issue to save
Throws:
java.io.IOException

removeIssues

void removeIssues(java.util.Collection<? extends IIssue> issues)
                  throws java.io.IOException
Removes the issues from storage

Parameters:
issues - issues to remove.
Throws:
java.io.IOException

getIssues

java.util.Collection<? extends IIssue> getIssues()
                                                 throws java.io.IOException
Returns a list of issues, the issues should be ordered in the correct order.

Returns:
a list of issues
Throws:
java.io.IOException

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.