|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.model.adapter.AbstractAdapter oracle.adfinternal.model.adapter.generic.BeanAbstractAdapter
public abstract class BeanAbstractAdapter
DataControlStructure driven AbstractAdapter implementation. This class
handles the AbstractDefinition creation lifecycle and initialization based on the registered
DataControlStructureProvider for the given adapter. Implementors of this class must
implement the getDefinition(DataControlStructure)
method providing the concrete AbstractDefinition
as well as the getProviderType()
method indicating the DataControlStructureProvider
registered with the environment for this Adapter.
DataControlStructureProvider
,
DCStructureProviderFactory
,
DataControlStructure
Constructor Summary | |
---|---|
BeanAbstractAdapter()
|
Method Summary | |
---|---|
boolean |
canCreateDataControl(java.lang.Object source)
Defers to the DataControlStructureProvider indicated by getProviderType() to
determine if this Adapter can create the AbstractDefinition for the source object. |
void |
configureClientProject(java.lang.Object sourceObj,
DTContext ctx)
Hook to allow specific adapter implementations to configure a client project. |
AbstractDefinition |
getDefinition()
Constructs and returns the AbstractDefinition. |
protected abstract AbstractDefinition |
getDefinition(DataControlStructure dcStructure)
Implementing classes must define this method to return the correct AbstractDefinition instance based on the given DataControlStructure. |
protected abstract java.lang.String |
getProviderType()
Indicates the DataControlStructureProvider type registered with the DCStructureProviderFactory to call during DataControlStructure creation. |
protected DataControlStructureProvider |
getStructureProvider()
Convenience method for obtaining the DataControlStructureProvider. |
void |
initialize(java.lang.Object sourceObj,
DTContext ctx)
Caches objects passed in during initialization. |
boolean |
invokeUI()
Invokes the DataControlStructureProvider indicated by the provider type to do environment specific initialization of the DataControlStructure used in construction of the AbstractDefinition. |
Methods inherited from class oracle.adf.model.adapter.AbstractAdapter |
---|
getPageDefinitionListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanAbstractAdapter()
Method Detail |
---|
public final void initialize(java.lang.Object sourceObj, DTContext ctx)
initialize
in class AbstractAdapter
sourceObj
- Object that contains information about the data source
that will be used to define the data control.ctx
- Current design time context.public final AbstractDefinition getDefinition()
getDefinition
in class AbstractAdapter
protected abstract AbstractDefinition getDefinition(DataControlStructure dcStructure)
protected abstract java.lang.String getProviderType()
public boolean invokeUI()
invokeUI
in class AbstractAdapter
public boolean canCreateDataControl(java.lang.Object source)
getProviderType()
to
determine if this Adapter can create the AbstractDefinition for the source object.
canCreateDataControl
in class AbstractAdapter
protected DataControlStructureProvider getStructureProvider()
public void configureClientProject(java.lang.Object sourceObj, DTContext ctx)
AbstractAdapter
configureClientProject
in class AbstractAdapter
sourceObj
- Object that contains information about the data source
that will be used to define the data control.ctx
- Current design time context.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |