|
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.Row
public class Row
Row
represents a generic data row. It contains runtime data from connector's backend repository.
WorkItem
Constructor Summary | |
---|---|
Row()
Sole constructor. |
Method Summary | |
---|---|
void |
display()
helper method to display the row in the JDeveloper Message Log window. |
java.util.Map<java.lang.String,ListItem> |
getListData()
Retrieves the list data for all fields in current row. |
java.lang.String |
getRowKey()
Retrieves the key that uniquely identifies the row data. |
java.util.Map<java.lang.String,java.lang.Object> |
getSubmittedValues()
Retrieves list of submitted values to be sent to the connector backend from OTPC client. |
java.util.Map<java.lang.String,java.lang.Object> |
getValues()
Retrieves values for all fields in current row as returned by the backend repository. |
boolean |
isDirty()
Determines if the row has been modified. |
boolean |
isNew()
Determines if the row is a newly created row. |
void |
setDirty(boolean dirty)
Marks the row data as modified or needs update. |
void |
setListData(java.lang.String name,
ListItem listData)
Sets ListItem data for a field in the row. |
void |
setNew(boolean isNew)
Marks the row as new if it is a newly created record. |
void |
setRowKey(java.lang.String rowKey)
Sets the key used to uniquely identify the row. |
void |
setSubmittedValue(java.lang.String name,
java.lang.Object submittedValue)
Sets a submitted value for a field |
void |
setValue(java.lang.String name,
java.lang.Object value)
Sets the value for the specified field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Row()
Method Detail |
---|
public void setRowKey(java.lang.String rowKey)
Sets the key used to uniquely identify the row.
rowKey
- unique identifier for a rowpublic java.lang.String getRowKey()
Retrieves the key that uniquely identifies the row data.
public java.util.Map<java.lang.String,java.lang.Object> getValues()
Retrieves values for all fields in current row as returned by the backend repository.
public java.util.Map<java.lang.String,ListItem> getListData()
Retrieves the list data for all fields in current row.
public java.util.Map<java.lang.String,java.lang.Object> getSubmittedValues()
Retrieves list of submitted values to be sent to the connector backend from OTPC client.
public void setValue(java.lang.String name, java.lang.Object value)
Sets the value for the specified field.
name
- name of the field to setvalue
- the value for the fieldpublic void setListData(java.lang.String name, ListItem listData)
Sets ListItem data for a field in the row. The data will be rendered in the connector UI as a choice (pickList), radioGroup, list, or others.
name
- name of the field to setlistData
- the list of data for the fieldpublic void setSubmittedValue(java.lang.String name, java.lang.Object submittedValue)
Sets a submitted value for a field
name
- name of the fieldsubmittedValue
- the value submitted on the connector UI page as recorded by OTPC client.
This value will be sent to connector backend repository by connector framework. This method is typically
called by the framework (not by connector code).
TODO: will revisit in next release.public void setNew(boolean isNew)
Marks the row as new if it is a newly created record.
isNew
- indicates if the record is new or oldpublic boolean isNew()
Determines if the row is a newly created row.
public void setDirty(boolean dirty)
Marks the row data as modified or needs update.
dirty
- indicates if the row data is modifiedpublic boolean isDirty()
Determines if the row has been modified.
public void display()
|
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 |