Skip navigation links

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

E10653-06


oracle.adfinternal.model.adapter.url.csv
Class CSVDataControl

java.lang.Object
  extended by oracle.adf.model.adapter.AbstractImpl
      extended by oracle.adfinternal.model.adapter.url.csv.CSVDataControl

All Implemented Interfaces:
URLConnectionConstants, DataControl, DefinitionProviderDataControl, ManagedDataControl

public class CSVDataControl
extends AbstractImpl
implements ManagedDataControl, URLConnectionConstants, DefinitionProviderDataControl

Data control that represents a URL data source with CSV data format.


Field Summary

 

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

 

Fields inherited from interface oracle.adfinternal.model.adapter.url.URLConnectionConstants
CONTENT_LENGTH, DELETE, GET, POST, PUT

 

Constructor Summary
CSVDataControl()
          constructor

 

Method Summary
 void beginRequest(java.util.HashMap requestCtx)
          Perform request level initialization of the DataControl.
 void endRequest(java.util.HashMap requestCtx)
          perform request level cleanup of the DataControl.
 java.lang.Object getDataProvider()
          Return the Business Service Object that this datacontrol is associated with.
 Definition getDefinition(java.lang.String name, int type)
          Returns a definition of the specified type.
 java.lang.String getName()
          returns the name of the data control.
 void initialize(AbstractDefinition dcDef)
          Initialize the data control to get attributes of data control definition.
 boolean invokeOperation(java.util.Map map, OperationBinding action)
          Invoke a method identified by the given action.
 void release()
          releases all references to the objects in the data provider layer
 boolean resetState()
          return false as resetState was deferred to endRequest processing

 

Methods inherited from class oracle.adf.model.adapter.AbstractImpl
addParameter, createAndAddNewRow, createEmptyDataSet, getAdapterContext, getDefinition, getParameterNames, getParameterValue, getSortCriteria, getStructureDef, getStructureDef, processResult, setDefinition, setName, setParameterValue, setStructureDef, shouldReexecuteOperation

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

CSVDataControl

public CSVDataControl()
constructor

Method Detail

initialize

public void initialize(AbstractDefinition dcDef)
Initialize the data control to get attributes of data control definition.
Parameters:
context -
node - source node that represents the metadata to connect to the data source

getDefinition

public Definition getDefinition(java.lang.String name,
                                int type)
Description copied from interface: DefinitionProviderDataControl
Returns a definition of the specified type.
Specified by:
getDefinition in interface DefinitionProviderDataControl

invokeOperation

public boolean invokeOperation(java.util.Map map,
                               OperationBinding action)
Invoke a method identified by the given action.
Specified by:
invokeOperation in interface DataControl
Parameters:
A - Map of bindingContexts that provide access to all binding related objects.
action - Operartion on the datacontrol to be invoked.
Returns:
true if this datacontrol has handled this action, false if the action should be interpreted in the bindings framework or in the caller.

beginRequest

public void beginRequest(java.util.HashMap requestCtx)
Perform request level initialization of the DataControl.
Specified by:
beginRequest in interface ManagedDataControl
Parameters:
requestCtx - a HashMap representing request context.

endRequest

public void endRequest(java.util.HashMap requestCtx)
perform request level cleanup of the DataControl.
Specified by:
endRequest in interface ManagedDataControl
Parameters:
requestCtx - a HashMap representing request context.

resetState

public boolean resetState()
return false as resetState was deferred to endRequest processing
Specified by:
resetState in interface ManagedDataControl
Returns:
true if resetState was processed immediately. false if resetState was deferred to endRequest processing.

getName

public java.lang.String getName()
returns the name of the data control.
Specified by:
getName in interface DataControl

release

public void release()
releases all references to the objects in the data provider layer
Specified by:
release in interface DataControl

getDataProvider

public java.lang.Object getDataProvider()
Return the Business Service Object that this datacontrol is associated with.
Specified by:
getDataProvider in interface DataControl
Returns:
The underlying business service object.

Skip navigation links

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

E10653-06


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