|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.adf.model.adapter.AbstractImpl
oracle.adf.model.adapter.bean.UpdatableBeanDataControl
public class UpdatableBeanDataControl
| Field Summary | |
|---|---|
protected oracle.adf.share.logging.ADFLogger |
_logger |
| Fields inherited from class oracle.adf.model.adapter.AbstractImpl |
|---|
METHOD_CREATE, METHOD_EXECUTE, mName, SORT_CRITERIA |
| Constructor Summary | |
|---|---|
UpdatableBeanDataControl() |
|
| Method Summary | |
|---|---|
java.lang.Object |
createRowData(RowContext ctx)Creates the object described by RowContext, adds it to the underlying provider Collection, registers it in the given transaction, and returns the newly created object. |
java.lang.Object |
getDataProvider()Returns the data provider for this data control. |
protected java.lang.Object |
getDCHandler(java.lang.String dcHandler)Find DC handler instance |
java.lang.String |
getName()Returns the name of this Data Control. |
boolean |
invokeOperation(java.util.Map bindingContext, OperationBinding action)All OperationBindings should first delegate to the DataControl associated with the binding to perform the action. |
java.lang.Object |
registerDataProvider(RowContext ctx)This method is called by the data binding facility before the row in the RowContext object is modified or marked as removed, so the row can be marked dirty by the data control. |
void |
release()Releases the DataControl. |
boolean |
removeRowData(RowContext ctx)Return true if the row at the given index is removed from the the RSI associated with the given iterator-binding. |
void |
resetAccessors()ADVANCED: Resets all Accessors defined on this data control to their initial empty state. |
boolean |
setAttributeValue(AttributeContext ctx, java.lang.Object value)This method is called by the data binding framework when a new value is to be set on an attribute in a bean. |
void |
validate()Validates transaction if dirty. |
| Methods inherited from class oracle.adf.model.adapter.AbstractImpl |
|---|
addParameter, createAndAddNewRow, createEmptyDataSet, getAdapterContext, getDefinition, getParameterNames, getParameterValue, getSortCriteria, getStructureDef, getStructureDef, processResult, setDefinition, setName, setParameterValue, setStructureDef, shouldReexecuteOperation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected oracle.adf.share.logging.ADFLogger _logger
| Constructor Detail |
|---|
public UpdatableBeanDataControl()
| Method Detail |
|---|
public boolean setAttributeValue(AttributeContext ctx,
java.lang.Object value)
UpdateableDataControlReturn true if the base framework should skip any further processing of this attribute set. Otherwise return false so that framework can perform a set or put of the attribute value based on introspection.
setAttributeValue in interface UpdateableDataControlpublic java.lang.Object createRowData(RowContext ctx)
RowContext, adds it to the underlying provider Collection, registers it in the given transaction, and returns the newly created object.createRowData in interface UpdateableDataControlctx - - description of the Row to createpublic java.lang.Object registerDataProvider(RowContext ctx)
UpdateableDataControlregisterDataProvider in interface UpdateableDataControlctx - Context of the row to be modified or removed.public boolean removeRowData(RowContext ctx)
removeRowData in interface UpdateableDataControlctx - Context of the row to be removed.public void validate()
UpdateableDataControlvalidate in interface UpdateableDataControlpublic java.lang.Object getDataProvider()
getDataProvider in interface DataControlpublic java.lang.String getName()
getName in interface DataControlpublic void resetAccessors()
public boolean invokeOperation(java.util.Map bindingContext,
OperationBinding action)
DataControlinvokeOperation in interface DataControlpublic void release()
DataControlThis should close all open DataControl resources.
release in interface DataControlprotected java.lang.Object getDCHandler(java.lang.String dcHandler)
dcHandler - String handler className
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||