com.plumtree.remote.prc.collaboration.project
Interface IProjectFilter

All Superinterfaces:
IFilter

public interface IProjectFilter
extends IFilter

Interface for filters used for querying Collaboration projects.


Method Summary
 ProjectFilterType getFilterType()
          Returns the type of project filter.
 java.lang.String getNameSearchText()
          Returns the search text used for project names.
 ProjectQueryOrder[] getQueryOrders()
          Returns the ProjectQueryOrder in which the results will be returned.
 void setFilterType(ProjectFilterType filterType)
          Sets the type of project filter.
 void setNameSearchText(java.lang.String searchText)
          Sets the project name search text.
 void setQueryOrders(ProjectQueryOrder[] queryOrders)
          Sets the ProjectQueryOrder for the rows to return.
 
Methods inherited from interface com.plumtree.remote.prc.collaboration.query.IFilter
getMaximumResults, isRestoreSecurity, setMaximumResults, setRestoreSecurity
 

Method Detail

getFilterType

public ProjectFilterType getFilterType()
Returns the type of project filter.

Returns:
the type of project filter

getNameSearchText

public java.lang.String getNameSearchText()
Returns the search text used for project names.

Returns:
the search text string

getQueryOrders

public ProjectQueryOrder[] getQueryOrders()
Returns the ProjectQueryOrder in which the results will be returned.

Returns:
queryField - a ProjectQueryOrder array

setFilterType

public void setFilterType(ProjectFilterType filterType)
Sets the type of project filter.

Parameters:
filterType - the type of project filter; cannot be null

setNameSearchText

public void setNameSearchText(java.lang.String searchText)
Sets the project name search text. The search string is case-insensitive by default. When using a project name filter, all projects will be returned that contain the text using the form *text*. For example, a search text of "Foo" will return all three of the following projects: "A foo Project", "Foo Project", and "Something About fOO".

Parameters:
searchText - the search text, case-insensitive

setQueryOrders

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

Parameters:
queryOrders - a ProjectQueryOrder array; cannot be null or of 0 length
Throws:
java.lang.IllegalArgumentException - if queryOrders is of size 0


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.