|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatusFilter
A StatusFilter
object is a collection of status filters on which to base searches. If more than one filter
is added to the list, a logical OR
will be added when searching for the
status values.
Field Summary | |
---|---|
static short |
assigned
Assigned status. |
static short |
assigned_saved
Assigned and saved status. |
static short |
completed
Completed status. |
static short |
created
Created status. |
static short |
created_saved
Created and saved status. |
static short |
deadlined
Deadlined status. |
static short |
terminated
Terminated status. |
Method Summary | |
---|---|
void |
addStatus(short stat)
Adds a status to the filter. |
short |
get(int i)
Retrieves a status value for a given zero-based index. |
java.util.List |
getFilter()
Retrieves a list of java.lang.Short objects containing filter values. |
boolean |
remove(short remove)
Removes the given status value. |
void |
setFilter(java.util.List filter)
Adds a lsit of java.lang.Short objects containing the status to be filtered. |
int |
size()
Retrieves the number of items in the status filter. |
Field Detail |
---|
static final short created
static final short created_saved
static final short assigned
static final short assigned_saved
static final short completed
static final short deadlined
static final short terminated
Method Detail |
---|
void addStatus(short stat)
stat
- The status to add to the filter.int size()
short get(int i)
i
- The zero-based index.
boolean remove(short remove)
remove
- The status value to be removed from the filter.java.util.List getFilter()
java.lang.Short
objects containing filter values.
void setFilter(java.util.List filter)
java.lang.Short
objects containing the status to be filtered.
filter
- The list of status values to add to the filter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |