|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.issues.StrategizedIssuesList
public class StrategizedIssuesList
An implementation that uses a strategy object to communicate with the storage device. This object takes care of notification listening and saving.
Constructor Summary | |
---|---|
StrategizedIssuesList()
|
Method Summary | ||
---|---|---|
boolean |
add(IIssue o)
|
|
void |
add(int index,
IIssue element)
|
|
boolean |
addAll(java.util.Collection<? extends IIssue> c)
|
|
boolean |
addAll(int index,
java.util.Collection<? extends IIssue> c)
|
|
void |
addFirst(IIssue o)
|
|
void |
addLast(IIssue o)
|
|
void |
addListener(IIssuesListListener listener)
Add Listener to list |
|
void |
clear()
|
|
boolean |
contains(java.lang.Object arg0)
|
|
boolean |
containsAll(java.util.Collection<?> arg0)
|
|
boolean |
equals(java.lang.Object arg0)
|
|
IIssue |
get(int index)
|
|
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 |
|
int |
hashCode()
|
|
int |
indexOf(java.lang.Object arg0)
|
|
void |
init(IListStrategy strategy)
|
|
boolean |
isEmpty()
|
|
java.util.Iterator<IIssue> |
iterator()
|
|
int |
lastIndexOf(java.lang.Object arg0)
|
|
java.util.ListIterator<IIssue> |
listIterator()
|
|
java.util.ListIterator<IIssue> |
listIterator(int index)
|
|
void |
refresh()
Queries the data source to ensure that the list accurately reflects the state of the backend store |
|
IIssue |
remove()
|
|
IIssue |
remove(int index)
|
|
boolean |
remove(java.lang.Object o)
|
|
boolean |
removeAll(java.util.Collection<?> c)
|
|
IIssue |
removeFirst()
|
|
void |
removeIssues(java.lang.String groupId)
Remove all issues in the group. |
|
IIssue |
removeLast()
|
|
void |
removeListener(IIssuesListListener listener)
Remove listener from list |
|
boolean |
retainAll(java.util.Collection<?> c)
|
|
void |
save(IIssue issue)
Writes the state of the IIssue out to the store. |
|
IIssue |
set(int index,
IIssue element)
|
|
void |
setStrategy(IListStrategy strategy)
|
|
int |
size()
|
|
java.util.List<IIssue> |
subList(int arg0,
int arg1)
|
|
java.lang.Object[] |
toArray()
|
|
|
toArray(T[] arg0)
|
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StrategizedIssuesList()
Method Detail |
---|
public void init(IListStrategy strategy) throws java.io.IOException
java.io.IOException
public void refresh() throws java.io.IOException
IRemoteIssuesList
refresh
in interface IRemoteIssuesList
java.io.IOException
public boolean add(IIssue o)
add
in interface java.util.Collection<IIssue>
add
in interface java.util.List<IIssue>
public void add(int index, IIssue element)
add
in interface java.util.List<IIssue>
public boolean addAll(java.util.Collection<? extends IIssue> c)
addAll
in interface java.util.Collection<IIssue>
addAll
in interface java.util.List<IIssue>
public boolean addAll(int index, java.util.Collection<? extends IIssue> c)
addAll
in interface java.util.List<IIssue>
public void addFirst(IIssue o)
public void addLast(IIssue o)
public void addListener(IIssuesListListener listener)
IIssuesList
addListener
in interface IIssuesList
listener
- listener to addpublic void clear()
clear
in interface java.util.Collection<IIssue>
clear
in interface java.util.List<IIssue>
public boolean contains(java.lang.Object arg0)
contains
in interface java.util.Collection<IIssue>
contains
in interface java.util.List<IIssue>
public boolean containsAll(java.util.Collection<?> arg0)
containsAll
in interface java.util.Collection<IIssue>
containsAll
in interface java.util.List<IIssue>
public boolean equals(java.lang.Object arg0)
equals
in interface java.util.Collection<IIssue>
equals
in interface java.util.List<IIssue>
equals
in class java.lang.Object
public IIssue get(int index)
get
in interface java.util.List<IIssue>
public java.util.Set<java.lang.String> getGroups()
IIssuesList
getGroups
in interface IIssuesList
public java.util.List<IIssue> getIssues(java.lang.String groupId)
IIssuesList
getIssues
in interface IIssuesList
groupId
- groupId of a group of issues
public int hashCode()
hashCode
in interface java.util.Collection<IIssue>
hashCode
in interface java.util.List<IIssue>
hashCode
in class java.lang.Object
public int indexOf(java.lang.Object arg0)
indexOf
in interface java.util.List<IIssue>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<IIssue>
isEmpty
in interface java.util.List<IIssue>
public java.util.Iterator<IIssue> iterator()
iterator
in interface java.lang.Iterable<IIssue>
iterator
in interface java.util.Collection<IIssue>
iterator
in interface java.util.List<IIssue>
public int lastIndexOf(java.lang.Object arg0)
lastIndexOf
in interface java.util.List<IIssue>
public java.util.ListIterator<IIssue> listIterator()
listIterator
in interface java.util.List<IIssue>
public java.util.ListIterator<IIssue> listIterator(int index)
listIterator
in interface java.util.List<IIssue>
public IIssue remove()
public IIssue remove(int index)
remove
in interface java.util.List<IIssue>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<IIssue>
remove
in interface java.util.List<IIssue>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<IIssue>
removeAll
in interface java.util.List<IIssue>
public IIssue removeFirst()
public void removeIssues(java.lang.String groupId)
IIssuesList
removeIssues
in interface IIssuesList
groupId
- group id of issues to removepublic IIssue removeLast()
public void removeListener(IIssuesListListener listener)
IIssuesList
removeListener
in interface IIssuesList
listener
- listener to removepublic boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<IIssue>
retainAll
in interface java.util.List<IIssue>
public IIssue set(int index, IIssue element)
set
in interface java.util.List<IIssue>
public int size()
size
in interface java.util.Collection<IIssue>
size
in interface java.util.List<IIssue>
public java.util.List<IIssue> subList(int arg0, int arg1)
subList
in interface java.util.List<IIssue>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<IIssue>
toArray
in interface java.util.List<IIssue>
public <T> T[] toArray(T[] arg0)
toArray
in interface java.util.Collection<IIssue>
toArray
in interface java.util.List<IIssue>
public java.lang.String toString()
toString
in class java.lang.Object
public void save(IIssue issue) throws java.io.IOException
IRemoteIssuesList
IIssue
out to the store.
save
in interface IRemoteIssuesList
java.io.IOException
public void setStrategy(IListStrategy strategy)
public java.lang.String getExtensionID()
IIssuesList
getExtensionID
in interface IIssuesList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |