|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v3.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.Long id)
Creates a new WsFilter object with the given id. |
|
WsFilter(java.lang.String name,
WsDocumentType documentType,
WsProject project,
WsFilterParameter[] parameters,
java.lang.Integer scopeId,
java.lang.Integer refId)
Creates a new WsFilter object with the given values. |
|
| Method Summary | |
|---|---|
WsDocumentType |
getDocumentType()
Gets the item type associated with this filter (Can be null). |
java.lang.Long |
getId()
Gets the filter's id |
java.lang.Boolean |
getIncludeHierarchy()
Whether or not the filter includes hierarchy items (items that are not results of the filter, but are required to construct the hierarchy) |
java.lang.Boolean |
getIsFavorite()
|
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.Integer |
getRefId()
Gets the filter's reference id. |
java.lang.Integer |
getScopeId()
Gets the filter's scope. |
void |
setDocumentType(WsDocumentType documentType)
Sets the item type associated with this filter (Can be null). |
void |
setId(java.lang.Long id)
Sets the filter's id |
void |
setIncludeHierarchy(java.lang.Boolean includeHierarchy)
Sets whether or not the filter includes hierarchy items (items that are not results of the filter, but are required to construct the hierarchy) |
void |
setIsFavorite(java.lang.Boolean isFavorite)
|
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 |
setRefId(java.lang.Integer refId)
Sets the filter's reference id. |
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.Long id)
id - id to set for the filter
public WsFilter(java.lang.String name,
WsDocumentType documentType,
WsProject project,
WsFilterParameter[] parameters,
java.lang.Integer scopeId,
java.lang.Integer refId)
name - name of the filter (can be null)documentType - the item type 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 WsDocumentType getDocumentType()
public void setDocumentType(WsDocumentType documentType)
documentType - the document type 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 filter's scopepublic java.lang.Integer getRefId()
public void setRefId(java.lang.Integer refId)
refId - filter's reference idpublic java.lang.Boolean getIncludeHierarchy()
public void setIncludeHierarchy(java.lang.Boolean includeHierarchy)
includeHierarchy - the includeHierarchy to setpublic java.lang.Boolean getIsFavorite()
public void setIsFavorite(java.lang.Boolean isFavorite)
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 | |||||||||