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:
- DataControl, FilterableDataControl, TransactionalDataControl, UpdateableDataControl
- Direct Known Subclasses:
- BeanDataControl, EjbDataControl
-
public abstract class JavaBeanDataControl
- extends BeanFilterableDataControl
- implements TransactionalDataControl
JavaBeanDataControl support StructureDefinition provider and transactional methods
- Since:
- 11.1.2
Methods inherited from class oracle.adf.model.adapter.bean.UpdatableBeanDataControl |
createRowData, getAddMethodName, getDataProvider, getDCHandler, getName, getRemoveMethodName, 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 |
JavaBeanDataControl
public JavaBeanDataControl()
initDCProperties
protected void initDCProperties(java.lang.Object instance)
- Initialize Data Control properties
-
- Overrides:
initDCProperties
in class BeanFilterableDataControl
-
- Parameters:
instance
-
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
findAccessorDefinition
protected AccessorDefinition findAccessorDefinition(java.lang.String className,
java.lang.String accessorName)
findAccessorPropertyName
protected java.lang.String findAccessorPropertyName(AccessorDefinition accDef,
java.lang.String PName)
isTransactionDirty
public boolean isTransactionDirty()
- Indicates whether the UnitOfWork has any changes.
-
- Specified by:
isTransactionDirty
in interface TransactionalDataControl
-
- Returns:
- true if transaction is dirty, false otherwise.
rollbackTransaction
public void rollbackTransaction()
- Rollsback the transaction for this data control. The side effect of this method call is that all data controls sharing the same transaction will be commited and have their transactional state reset as well.
-
- Specified by:
rollbackTransaction
in interface TransactionalDataControl
-
- See Also:
DCDataControl.rollbackTransaction()
commitTransaction
public void commitTransaction()
- Commits the transaction for this data control.
-
- Specified by:
commitTransaction
in interface TransactionalDataControl
-
- See Also:
DCDataControl.commitTransaction()
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.