Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.1)

E10653-09


oracle.adf.model.adapter.bean
Class JavaBeanDataControl

java.lang.Object
  extended by oracle.adf.model.adapter.AbstractImpl
      extended by oracle.adf.model.adapter.bean.UpdatableBeanDataControl
          extended by oracle.adf.model.adapter.bean.BeanFilterableDataControl
              extended by oracle.adf.model.adapter.bean.JavaBeanDataControl

All Implemented Interfaces:
DCHandler, DataControl, FilterableDataControl, UpdateableDataControl
Direct Known Subclasses:
BeanDataControl, EjbDataControl

public abstract class JavaBeanDataControl
extends BeanFilterableDataControl
implements DCHandler

JavaBeanDataControl implements getDefinition(). This method, first finds beanMetadata object and loads it. If there is no beanMetadata then it will load it from beanClass and associated annotations

Since:
11.1.2

Field Summary
protected  java.lang.Object _dcHandler
          Data control handler (11.1.2)
static short ACCMODE_RANGE_PAGING
           
static short ACCMODE_SCROLLABLE
           

 

Fields inherited from class oracle.adf.model.adapter.bean.UpdatableBeanDataControl
_logger

 

Fields inherited from class oracle.adf.model.adapter.AbstractImpl
METHOD_CREATE, METHOD_EXECUTE, mName, SORT_CRITERIA

 

Constructor Summary
JavaBeanDataControl()
           

 

Method Summary
 java.lang.String getBeanClass()
          Returns bean ClassName
protected  java.lang.Object getDataControlHandler()
          Returns DataControlHandler
 Definition getDefinition(java.lang.String name, int type)
          Gets the data control definition.
protected  void setAccessMode(java.lang.String accessMode)
          Set access mode for scollable and range-paging
protected  void setBeanClass(java.lang.String className)
           
protected  void setDataControlHandler(java.lang.Object dcHandler)
          set DataControlHandler
 boolean supportsCriteria()
           
 boolean supportsPaging()
           
 boolean supportsPaging(java.lang.String name)
           
 boolean supportsRangePaging()
           
 boolean supportsRangePaging(java.lang.String name)
           
 boolean supportsSorting()
           

 

Methods inherited from class oracle.adf.model.adapter.bean.BeanFilterableDataControl
initDCProperties, invokeAccessor, invokeOperation

 

Methods inherited from class oracle.adf.model.adapter.bean.UpdatableBeanDataControl
createRowData, getDataProvider, getDCHandler, getName, invokeOperation, registerDataProvider, release, removeRowData, resetAccessors, setAttributeValue, validate

 

Methods inherited from class oracle.adf.model.adapter.AbstractImpl
addParameter, createAndAddNewRow, createEmptyDataSet, getAdapterContext, getDefinition, getParameterNames, getParameterValue, getSortCriteria, getStructureDef, getStructureDef, processResult, removeCurrentRow, 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

_dcHandler

protected java.lang.Object _dcHandler
Data control handler (11.1.2)

ACCMODE_SCROLLABLE

public static final short ACCMODE_SCROLLABLE
See Also:
Constant Field Values

ACCMODE_RANGE_PAGING

public static final short ACCMODE_RANGE_PAGING
See Also:
Constant Field Values

Constructor Detail

JavaBeanDataControl

public JavaBeanDataControl()

Method Detail

getDefinition

public Definition getDefinition(java.lang.String name,
                                int type)
Gets the data control definition.
Parameters:
name - (beanClass)
type -
Returns:
The structure definition for data control

getBeanClass

public java.lang.String getBeanClass()
Returns bean ClassName

setBeanClass

protected void setBeanClass(java.lang.String className)

getDataControlHandler

protected java.lang.Object getDataControlHandler()
Returns DataControlHandler

setDataControlHandler

protected void setDataControlHandler(java.lang.Object dcHandler)
set DataControlHandler

setAccessMode

protected void setAccessMode(java.lang.String accessMode)
Set access mode for scollable and range-paging

supportsCriteria

public boolean supportsCriteria()
Specified by:
supportsCriteria in interface DCHandler
Returns:
true boolean for supports criteria

supportsPaging

public boolean supportsPaging()
Specified by:
supportsPaging in interface DCHandler
Returns:
true boolean for supports paging

supportsRangePaging

public boolean supportsRangePaging()
Specified by:
supportsRangePaging in interface DCHandler
Returns:
true boolean for supports range_paging

supportsSorting

public boolean supportsSorting()
Specified by:
supportsSorting in interface DCHandler
Returns:
true boolean for supports sorting

supportsPaging

public boolean supportsPaging(java.lang.String name)
Specified by:
supportsPaging in interface DCHandler
Parameters:
name - String accessor name
Returns:
true boolean for accessor supports paging

supportsRangePaging

public boolean supportsRangePaging(java.lang.String name)
Specified by:
supportsRangePaging in interface DCHandler
Parameters:
name - String accessor name
Returns:
true boolean for accessor supports range paging

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.1)

E10653-09


Copyright © 1997, 2013, Oracle. All rights reserved.