public class CSVDataControl extends AbstractImpl implements ManagedDataControl, URLConnectionConstants, DefinitionProviderDataControl
METHOD_CREATE, METHOD_EXECUTE, mName, SORT_CRITERIAACCEPT, ALLOW, APPLICATION_ADF_ACTION_JSON_CONTENT_TYPE, APPLICATION_ADF_ACTION_RESULT_JSON, APPLICATION_ADF_BATCH_JSON_CONTENT_TYPE, APPLICATION_ADF_DESCRIBE_JSON, APPLICATION_ADF_JSON_ACCEPT, APPLICATION_ADF_RESOURCE_COLLECTION_JSON, APPLICATION_ADF_RESOURCE_ITEM_JSON, APPLICATION_ADF_RESOURCE_ITEM_JSON_CONTENT_TYPE, APPLICATION_ADF_RESOURCE_JSON, APPLICATION_JSON, APPLICATION_JSON_CONTENT_TYPE, APPLICATION_XML, APPLICATION_XML_CONTENT_TYPE, CONTENT_LENGTH, CONTENT_RESET, CONTENT_TYPE, DELETE, GET, HEAD, LANGUAGE_HEADER, NO_CONTENT_STATUS, OPTIONS, PATCH, POST, PUT, TEXT_APPLICATION_XML, UTF8_ENCODING| Constructor and Description | 
|---|
CSVDataControl()
constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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 
 | 
addParameter, createAndAddNewRow, createEmptyDataSet, findContainedDef, getAdapterContext, getDefinition, getDefinitionInternal, getParameterNames, getParameterValue, getSortCriteria, getStructureDef, getStructureDef, processResult, removeCurrentRow, setDefinition, setName, setParameterValue, setStructureDef, shouldReexecuteOperationpublic void initialize(AbstractDefinition dcDef)
context - node - source node that represents the metadata to connect to 
 the data sourcepublic Definition getDefinition(java.lang.String name, int type)
DefinitionProviderDataControlgetDefinition in interface DefinitionProviderDataControlpublic boolean invokeOperation(java.util.Map map,
                               OperationBinding action)
invokeOperation in interface DataControlA - Map of bindingContexts that provide access to all binding
 related objects.action - Operartion on the datacontrol to be invoked.public void beginRequest(java.util.HashMap requestCtx)
beginRequest in interface ManagedDataControlrequestCtx - a HashMap representing request context.public void endRequest(java.util.HashMap requestCtx)
endRequest in interface ManagedDataControlrequestCtx - a HashMap representing request context.public boolean resetState()
resetState in interface ManagedDataControlpublic java.lang.String getName()
getName in interface DataControlpublic void release()
release in interface DataControlpublic java.lang.Object getDataProvider()
getDataProvider in interface DataControl