|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 12c (12.1.2) E23194-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.alm.connector.data.QueryInfo
public class QueryInfo
The QueryInfo
class contains information user provides in a query form specified by the Oracle Team Productivity Center (OTPC) client. Connector writer converts the data in this structure to the format needed for the connector code to perform query against backend repository.
Nested Class Summary | |
---|---|
static class |
QueryInfo.Conjunction supported enumeration types for the query's conjuction. |
Constructor Summary | |
---|---|
QueryInfo() Sole constructor. |
|
QueryInfo(LovDef lovOwner) |
Method Summary | |
---|---|
QueryInfo.Conjunction |
getConjunction() Retrieves the conjunction used in the query. |
java.lang.Object |
getContextData() |
java.util.List<Criterion> |
getCriteria() Retrieves criteria used in the query. |
java.lang.String |
getDataSource() Retrieves the name of the data source for the query. |
java.util.List<java.lang.String> |
getDisplayNames() Gets list of column or field names to display in the query result's table. |
LovDef |
getLovDef() |
java.lang.String |
getSelectList() Retrieves the list of field names (comma delimited) used in the query. |
SortInfo |
getSortInfo() Retrieves query sort information. |
java.lang.String |
getWhereOptions() Retrieves the WHERE clause. |
void |
setConjunction(QueryInfo.Conjunction conjunction) Sets the conjunction to use in the query. |
void |
setContextData(java.lang.Object cData) |
void |
setDataSource(java.lang.String dataSource) Sets the data source of the query. |
void |
setSelectList(java.lang.String selectList) Sets list of the fields to query. |
void |
setSortInfo(SortInfo sortinfo) Sets the sort order to be used in the query result set. |
void |
setWhereOptions(java.lang.String clause) Sets the WHERE clause or condition of the query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryInfo()
public QueryInfo(LovDef lovOwner)
lovOwner
- The LovDef object owns this QueryInfo Object, If a workitem field is rendered as a LOV, then it will have a LovDef object, QueryInfo object is based on this LOVDef object for the field data look up.Method Detail |
---|
public java.lang.String getDataSource()
public LovDef getLovDef()
public void setDataSource(java.lang.String dataSource)
dataSource
- the name of the data sourcepublic void setSelectList(java.lang.String selectList)
selectList
- list of field names (comma delimited)public java.lang.String getSelectList()
public void setWhereOptions(java.lang.String clause)
clause
- the where clause option for the querypublic java.lang.String getWhereOptions()
public void setConjunction(QueryInfo.Conjunction conjunction)
conjunction
- the query conjunctionpublic QueryInfo.Conjunction getConjunction()
public java.util.List<java.lang.String> getDisplayNames()
public java.util.List<Criterion> getCriteria()
public SortInfo getSortInfo()
public void setSortInfo(SortInfo sortinfo)
sortinfo
- sort order to usepublic void setContextData(java.lang.Object cData)
cData
- The object that will be passed along with the queryInfo object, like a WorkItem Object, a Query Object, etc.public java.lang.Object getContextData()
|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 12c (12.1.2) E23194-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |