Clearspace API (2.0.15) Web Services Client Javadocs

com.jivesoftware.community.webservices
Class WSTaskResultFilter

java.lang.Object
  extended by com.jivesoftware.community.webservices.WSResultFilter
      extended by com.jivesoftware.community.webservices.WSTaskResultFilter

public class WSTaskResultFilter
extends WSResultFilter


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jivesoftware.community.webservices.WSResultFilter
WSResultFilter.ResolutionState
 
Field Summary
static int DUE_DATE
           
static int PERSONAL
           
static int UNASSIGNED
           
 
Fields inherited from class com.jivesoftware.community.webservices.WSResultFilter
ASCENDING, DESCENDING, NULL_INT
 
Constructor Summary
WSTaskResultFilter()
           
 
Method Summary
static WSTaskResultFilter createDefaultFilter()
          Creates a default task ResultFilter: only incomplete tasks with results sorted on the task due date (most recent showing first).
static WSTaskResultFilter createDefaultFilter(WSProject project)
           
 boolean equals(java.lang.Object o)
           
 java.util.Date getDueDateRangeMax()
           
 java.util.Date getDueDateRangeMin()
           
 long getOwnerID()
           
 long getProjectID()
           
 int hashCode()
           
 boolean isOnlyComplete()
           
 boolean isOnlyIncomplete()
           
 boolean isOnlyPersonal()
           
 boolean isOnlyProject()
           
 void setDueDateRangeMax(java.util.Date dueDateRangeMax)
           
 void setDueDateRangeMin(java.util.Date dueDateRangeMin)
           
 void setOnlyComplete(boolean onlyComplete)
           
 void setOnlyIncomplete(boolean onlyIncomplete)
           
 void setOnlyPersonal(boolean onlyPersonal)
           
 void setOnlyProject(boolean onlyProject)
           
 void setOwnerID(long ownerID)
           
 void setProjectID(long projectID)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jivesoftware.community.webservices.WSResultFilter
createDefaultMessageFilter, createDefaultThreadFilter, createDefaultUserMessagesFilter, getCreationDateRangeMax, getCreationDateRangeMin, getModerationRangeMax, getModerationRangeMin, getModificationDateRangeMax, getModificationDateRangeMin, getNumResults, getResolutionDateRangeMin, getResolutionnDateRangeMax, getResolutionStates, getSortField, getSortOrder, getStartIndex, getTags, getUserID, isRecursive, setCreationDateRangeMax, setCreationDateRangeMin, setModerationRangeMax, setModerationRangeMin, setModificationDateRangeMax, setModificationDateRangeMin, setNumResults, setRecursive, setResolutionDateRangeMin, setResolutionnDateRangeMax, setResolutionStates, setSortField, setSortOrder, setStartIndex, setTags, setUserID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DUE_DATE

public static final int DUE_DATE
See Also:
Constant Field Values

UNASSIGNED

public static final int UNASSIGNED
See Also:
Constant Field Values

PERSONAL

public static final int PERSONAL
See Also:
Constant Field Values
Constructor Detail

WSTaskResultFilter

public WSTaskResultFilter()
Method Detail

createDefaultFilter

public static WSTaskResultFilter createDefaultFilter()
Creates a default task ResultFilter: only incomplete tasks with results sorted on the task due date (most recent showing first).

NOTE: The resulting TaskResultFilter should not be stored by invoking classes; this filter is the default task filter at the time it's being invoked.

Returns:
the default task result filter

createDefaultFilter

public static WSTaskResultFilter createDefaultFilter(WSProject project)

getDueDateRangeMax

public java.util.Date getDueDateRangeMax()

setDueDateRangeMax

public void setDueDateRangeMax(java.util.Date dueDateRangeMax)

getDueDateRangeMin

public java.util.Date getDueDateRangeMin()

setDueDateRangeMin

public void setDueDateRangeMin(java.util.Date dueDateRangeMin)

isOnlyComplete

public boolean isOnlyComplete()

setOnlyComplete

public void setOnlyComplete(boolean onlyComplete)

isOnlyIncomplete

public boolean isOnlyIncomplete()

setOnlyIncomplete

public void setOnlyIncomplete(boolean onlyIncomplete)

isOnlyPersonal

public boolean isOnlyPersonal()

setOnlyPersonal

public void setOnlyPersonal(boolean onlyPersonal)

isOnlyProject

public boolean isOnlyProject()

setOnlyProject

public void setOnlyProject(boolean onlyProject)

getOwnerID

public long getOwnerID()

setOwnerID

public void setOwnerID(long ownerID)

getProjectID

public long getProjectID()

setProjectID

public void setProjectID(long projectID)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Clearspace Project Page

Copyright © 1999-2007 Jive Software.