|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 1 (11.1.1) E14128-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.alm.connector.data.WorkItemQuery
public class WorkItemQuery
WorkItemQuery is a runtime data structure that holds all data for a single work item query.
WorkItemQueryDef
,
Criterion
Nested Class Summary | |
---|---|
static class |
WorkItemQuery.QueryType
|
Field Summary | |
---|---|
static java.lang.String |
WHERE_FOR_UPDATE
|
static java.lang.String |
WHERE_GROUP_BY
|
static java.lang.String |
WHERE_HAVING
|
static java.lang.String |
WHERE_ORDER_BY
|
Constructor Summary | |
---|---|
WorkItemQuery()
|
Method Summary | |
---|---|
java.lang.String |
getColwidthinfo()
Reserved for internal use only |
WorkItemQueryDef.Conjunction |
getConjunction()
Retrieves the conjunction used |
java.util.List<Criterion> |
getCriteria()
Retrieves criteria used for the query |
java.util.List<java.lang.String> |
getCustomSelectList()
Retrieves the column names used for query selection list. |
java.util.List<java.lang.String> |
getDisplayList()
Retrieve column names that can be used as query result table |
java.util.Map<java.lang.String,ListItem> |
getListData()
Retrieves the ListItems used by the query |
java.lang.String |
getName()
Retrives the query name |
java.lang.String |
getRowKey()
Retrives the row key |
java.lang.String |
getSortinfo()
Reserved for internal use only |
WorkItemQuery.QueryType |
getType()
Retrieves the query type |
java.util.Map<java.lang.String,java.lang.Boolean> |
getValueBindings()
Retrieves value binding set for all fields |
java.lang.String |
getWhereOptions()
Retrieves the where options for the query |
boolean |
isDirty()
Indicates if this query is modified |
boolean |
isDisclosed()
Determines if the query form is hidden |
boolean |
isNew()
Indicates if this query is a newly created |
void |
release()
Release cached definitions |
void |
setColwidthinfo(java.lang.String val)
Reserved for internal use only |
void |
setConjunction(WorkItemQueryDef.Conjunction conjunction)
Sets the conjunction for the current query |
void |
setDirty(boolean dirty)
Sets the flag to dirty for a modified query. |
void |
setDisclosed(boolean disclosed)
Sets the "disclosed" state for the query. |
void |
setName(java.lang.String name)
Sets the query name |
void |
setNew(boolean isNew)
Sets to true for a new query. |
void |
setRowKey(java.lang.String rowKey)
Sets the row key for the row data. |
void |
setSortinfo(java.lang.String val)
Reserved for internal use only |
void |
setType(WorkItemQuery.QueryType type)
Sets the query type |
void |
setValueBinding(java.lang.String name,
java.lang.Boolean vb)
Indicates if a query criterion has value binding instead of a direct value. |
void |
setWhereOptions(java.lang.String name)
Sets the where options for the query |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WHERE_GROUP_BY
public static final java.lang.String WHERE_HAVING
public static final java.lang.String WHERE_ORDER_BY
public static final java.lang.String WHERE_FOR_UPDATE
Constructor Detail |
---|
public WorkItemQuery()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- query namepublic void setRowKey(java.lang.String rowKey)
rowKey
- rowkKey is unqiue per data row.public java.lang.String getRowKey()
public void setNew(boolean isNew)
isNew
- public boolean isNew()
public void setDirty(boolean dirty)
dirty
- public boolean isDirty()
public java.util.List<Criterion> getCriteria()
public java.util.Map<java.lang.String,ListItem> getListData()
public void setValueBinding(java.lang.String name, java.lang.Boolean vb)
name
- field name in a query criterionvb
- true if this field has valueBinding, false otherwisepublic java.util.Map<java.lang.String,java.lang.Boolean> getValueBindings()
public WorkItemQueryDef.Conjunction getConjunction()
public void setConjunction(WorkItemQueryDef.Conjunction conjunction)
conjunction
- public void setWhereOptions(java.lang.String name)
name
- the string representing a where optionspublic java.lang.String getWhereOptions()
public java.util.List<java.lang.String> getCustomSelectList()
public java.util.List<java.lang.String> getDisplayList()
public void setType(WorkItemQuery.QueryType type)
type
- the query teampublic WorkItemQuery.QueryType getType()
public java.lang.String getSortinfo()
public void setSortinfo(java.lang.String val)
public java.lang.String getColwidthinfo()
public void setColwidthinfo(java.lang.String val)
public void setDisclosed(boolean disclosed)
disclosed
- public boolean isDisclosed()
public void release()
|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 1 (11.1.1) E14128-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |