|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v2.domain.WsFilter
public class WsFilter
This object represents a Contour filter. A Filter is a way for you to search for similar information based on the fields within Items and then create a filtered list of those Items. For complex Projects with hundreds or thousands of Items, Filters become a time-saving tool for getting to the most relevant Items you are working on. For example, a common use is to create a Filter for tasks that are assigned to you.
| Constructor Summary | |
|---|---|
WsFilter()
Creates an empty WsFilter object. |
|
WsFilter(java.lang.String name,
java.lang.String query,
java.lang.Integer itemTypeId,
java.lang.Integer moduleId,
WsProject project,
WsFilterParameter[] parameters,
java.lang.Integer scopeId,
java.lang.Integer refId)
Creates a new WsFilter object with the given values. |
|
| Method Summary | |
|---|---|
java.lang.Long |
getId()
Gets the filter's id |
java.lang.Integer |
getItemTypeId()
Gets the id of the item type associated with this filter (Can be null). |
java.lang.Integer |
getModuleId()
Gets the id of the module associated with this filter (Can be null). |
java.lang.String |
getName()
Gets the filter's name. |
WsFilterParameter[] |
getParameters()
Gets the filter's parameters. |
WsProject |
getProject()
Gets the project associated with this filter. |
java.lang.String |
getQuery()
Gets the filter's query. |
java.lang.Integer |
getRefId()
Gets the filter's reference id. |
java.lang.Integer |
getScopeId()
Gets the filter's scope. |
void |
setId(java.lang.Long id)
Sets the filter's id |
void |
setItemTypeId(java.lang.Integer itemTypeId)
Sets the id of the item type associated with this filter (Can be null). |
void |
setModuleId(java.lang.Integer moduleId)
Sets the id of the module associated with this filter (Can be null). |
void |
setName(java.lang.String name)
Sets the filter's name. |
void |
setParameters(WsFilterParameter[] parameters)
Sets the filter's parameters. |
void |
setProject(WsProject project)
Sets the project associated with this filter. |
void |
setQuery(java.lang.String query)
Sets the filter's query. |
void |
setRefId(java.lang.Integer refId)
|
void |
setScopeId(java.lang.Integer scopeId)
Sets the filter's scope. |
java.lang.String |
toString()
Gets a string representation of this filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsFilter()
public WsFilter(java.lang.String name,
java.lang.String query,
java.lang.Integer itemTypeId,
java.lang.Integer moduleId,
WsProject project,
WsFilterParameter[] parameters,
java.lang.Integer scopeId,
java.lang.Integer refId)
name - name of the filter (can be null)query - query (can be null)itemTypeId - id of the item type to search (can be null)moduleId - id of the module to search (can be null)project - project to search (can be null)parameters - parameters of the filterscopeId - scope of the reference id (can be null)refId - reference id (can be null)| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
id - the id to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic java.lang.String getQuery()
public void setQuery(java.lang.String query)
query - the query to setpublic java.lang.Integer getItemTypeId()
public void setItemTypeId(java.lang.Integer itemTypeId)
itemTypeId - the itemTypeId to setpublic java.lang.Integer getModuleId()
public void setModuleId(java.lang.Integer moduleId)
moduleId - the moduleId to setpublic WsProject getProject()
public void setProject(WsProject project)
project - the project to setpublic WsFilterParameter[] getParameters()
WsFilterParameterpublic void setParameters(WsFilterParameter[] parameters)
parameters - the parameters to setWsFilterParameterpublic java.lang.Integer getScopeId()
WsScopepublic void setScopeId(java.lang.Integer scopeId)
scopeId - the baseline's scopepublic java.lang.Integer getRefId()
public void setRefId(java.lang.Integer refId)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||