com.plumtree.remote.prc.collaboration.tasklist
Interface ITaskFilter

All Superinterfaces:
IFilter

public interface ITaskFilter
extends IFilter

Filters used for querying tasks. By default a task filter will be set to give the largest possible result set. The various setter methods can be used to narrow the kinds of results to return.


Method Summary
 TaskAssignedToFilterType getAssignedToType()
          Returns the assigned to filter type.
 int getAssignedUserID()
          Returns the assigned user id to filter against.
 TaskCompletionFilterType getCompletionType()
          Returns the completion type filter.
 TaskQueryOrder[] getQueryOrders()
          Returns the TaskQueryOrder that the results will be returned in.
 void setAssignedToType(TaskAssignedToFilterType assignedToType)
          Sets the assigned to type filter.
 void setAssignedUserID(int assignedUserID)
          Sets the assigned to user id.
 void setCompletionType(TaskCompletionFilterType completionType)
          Sets the completion type filter.
 void setQueryOrders(TaskQueryOrder[] queryOrders)
          Sets the TaskQueryOrder for the rows to return.
 
Methods inherited from interface com.plumtree.remote.prc.collaboration.query.IFilter
getMaximumResults, isRestoreSecurity, setMaximumResults, setRestoreSecurity
 

Method Detail

getAssignedToType

public TaskAssignedToFilterType getAssignedToType()
Returns the assigned to filter type.

Returns:
the assigned to filter type.

getAssignedUserID

public int getAssignedUserID()
Returns the assigned user id to filter against.

Returns:
the assigned user id to filter against.

getCompletionType

public TaskCompletionFilterType getCompletionType()
Returns the completion type filter.

Returns:
the completion type.

getQueryOrders

public TaskQueryOrder[] getQueryOrders()
Returns the TaskQueryOrder that the results will be returned in.

Returns:
queryField an array of TaskQueryOrder.

setAssignedToType

public void setAssignedToType(TaskAssignedToFilterType assignedToType)
Sets the assigned to type filter. Cannot set assigned to type if setAssignedUserID is already called.

Parameters:
assignedToType - the assigned to type filter; cannot be null.
Throws:
java.lang.IllegalStateException - if setAssignedUserID is called.

setAssignedUserID

public void setAssignedUserID(int assignedUserID)
Sets the assigned to user id. Cannot set user id if setAssignedToType is already called.

Parameters:
assignedUserID - the assigned to user id; must be positive.
Throws:
java.lang.IllegalStateException - if setAssignedToType is called.

setCompletionType

public void setCompletionType(TaskCompletionFilterType completionType)
Sets the completion type filter.

Parameters:
completionType - the completion type; cannot be null.

setQueryOrders

public void setQueryOrders(TaskQueryOrder[] queryOrders)
Sets the TaskQueryOrder for the rows to return. The rows will be returned as the order of the TaskQueryOrder array.

Parameters:
queryOrders - an array of TaskQueryOrder ;cannot be null.


For additional information on the IDK, including tutorials, blogs, code samples and more,see the AquaLogic User Interaction Developer Center on BEA dev2dev.

Copyright ©2007 BEA Systems, Inc. All Rights Reserved.