com.adobe.idp.taskmanager.dsc.client.query
Interface StatusFilter

All Superinterfaces:
java.io.Serializable

public interface StatusFilter
extends java.io.Serializable

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

created

static final short created
Created status.

See Also:
Constant Field Values

created_saved

static final short created_saved
Created and saved status.

See Also:
Constant Field Values

assigned

static final short assigned
Assigned status.

See Also:
Constant Field Values

assigned_saved

static final short assigned_saved
Assigned and saved status.

See Also:
Constant Field Values

completed

static final short completed
Completed status.

See Also:
Constant Field Values

deadlined

static final short deadlined
Deadlined status.

See Also:
Constant Field Values

terminated

static final short terminated
Terminated status.

See Also:
Constant Field Values
Method Detail

addStatus

void addStatus(short stat)
Adds a status to the filter.

Parameters:
stat - The status to add to the filter.

size

int size()
Retrieves the number of items in the status filter.

Returns:
The number of items in the filter.

get

short get(int i)
Retrieves a status value for a given zero-based index.

Parameters:
i - The zero-based index.
Returns:
The specified status value.

remove

boolean remove(short remove)
Removes the given status value.

Parameters:
remove - The status value to be removed from the filter.

getFilter

java.util.List getFilter()
Retrieves a list of java.lang.Short objects containing filter values.

Returns:
The list of specified status values.

setFilter

void setFilter(java.util.List filter)
Adds a lsit of java.lang.Short objects containing the status to be filtered.

Parameters:
filter - The list of status values to add to the filter.


[an error occurred while processing this directive] [an error occurred while processing this directive]