Skip navigation links
oracle.adf.model.adapter.bean
Class JavaBeanDataControl
java.lang.Object
oracle.adf.model.adapter.AbstractImpl
oracle.adf.model.adapter.bean.UpdatableBeanDataControl
oracle.adf.model.adapter.bean.BeanFilterableDataControl
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
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 |
_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
JavaBeanDataControl
public JavaBeanDataControl()
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
Copyright © 1997, 2013, Oracle. All rights reserved.