|
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.bean.DataFilterHandler
oracle.adf.model.adapter.bean.jpa.JPQLDataFilterHandler
oracle.adf.model.adapter.bean.jpa.JPQLManagedDCHandler
public class JPQLManagedDCHandler
| Field Summary |
|---|
| Fields inherited from class oracle.adf.model.adapter.bean.DataFilterHandler |
|---|
_beanDataProvider, _dc, _logger |
| Constructor Summary | |
|---|---|
JPQLManagedDCHandler(DataControl dataControl) |
|
| Method Summary | |
|---|---|
void |
beginRequest(java.util.HashMap requestCtx)Invoked in some contexts to signal the beginning of a model request. |
java.io.Serializable |
createSnapshot()Creates a snapshot of the state of the DataControl. |
void |
endRequest(java.util.HashMap requestCtx)Invoked in some contexts to signal the end of a model request. |
java.lang.Object |
getDataProvider()Returns the Business Service Object that this datacontrol is associated with. |
java.lang.String |
getName()Returns name to identify this datacontrol inside a BindingContext. |
boolean |
invokeOperation(java.util.Map bindingContext, OperationBinding action)All OperationBindings should first delegate to the DataControl associated with the binding to perform the action. |
void |
release()Releases the DataControl. |
void |
removeSnapshot(java.io.Serializable handle)Removes the snapshot associated with the snapshot handle. |
boolean |
resetState()Resets the DataControl. |
void |
restoreSnapshot(java.io.Serializable handle)Restore the state of the DataControl with the snapshot state that is referenced by the handle. |
| Methods inherited from class oracle.adf.model.adapter.bean.jpa.JPQLDataFilterHandler |
|---|
invoke, invoke |
| Methods inherited from class oracle.adf.model.adapter.bean.DataFilterHandler |
|---|
invokeAccessor, invokeOperation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPQLManagedDCHandler(DataControl dataControl)
| Method Detail |
|---|
public java.io.Serializable createSnapshot()
ManagedDataControlpublic void restoreSnapshot(java.io.Serializable handle)
ManagedDataControlhandle - Serializable a snaphsot handle that was created with ManagedDataControl.createSnapshot().public void removeSnapshot(java.io.Serializable handle)
ManagedDataControlhandle - Serializable a snapshot handle that was created with ManagedDataControl.createSnapshot().public java.lang.String getName()
DataControlgetName in interface DataControlpublic void release()
DataControlThis should close all open DataControl resources.
release in interface DataControlpublic java.lang.Object getDataProvider()
DataControlgetDataProvider in interface DataControl
public boolean invokeOperation(java.util.Map bindingContext,
OperationBinding action)
DataControlinvokeOperation in interface DataControlpublic void beginRequest(java.util.HashMap requestCtx)
ManagedDataControlDatacontrols may implement this method to perform request level initialization.
This method is to be called only once per request. For example, in web applications, page forwards should not result in multiple invocations of this method.
beginRequest in interface ManagedDataControlrequestCtx - a HashMap representing request context.public void endRequest(java.util.HashMap requestCtx)
ManagedDataControlDatacontrols may implement this method to perform request level cleanup.
This method is to be called only once per request. For example, in web applications, page forwards should not result in multiple invocations of this method.
endRequest in interface ManagedDataControlrequestCtx - a HashMap representing request context.public boolean resetState()
ManagedDataControlFor example, an EJB DataControl provider may extend resetState to close the DataControl EJB SessionBean
Please note that resetState may not occur immediately. If beginRequest has been invoked on the DataControl then resetState processing will be deferred until endRequest processing.
resetState in interface ManagedDataControl
|
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 | ||||||||