Tuesday, 15 March 2016

ADF DATA CONTROL OPERATIONS

For the application module, we have the default operations defined. They are the Commit and Rollback operations.


The operations available for the view object collection are as follows:


Create:
This operation is available to create a new record for the table component. The newly created record will not be inserted and is not displayed in the UI for a table component. For a form-based component, this method will create a new record and will display the information.
Create Insert:
This operation will create a new record and will also insert a blank record if there is no default value assigned for the attributes of the record. The newly created row is displayed in the UI for the table component.
Create with parameters:
This method will allow the user to create a new record with some parameters, and the values passed as parameters will be predefined for the created row.
Delete: This operation is used to delete the current row from the view Object collection.
Execute: This operation will execute and refresh the current collection.
Find: To find a specific record in the collection object.
First: This method sets the current row so that the first row is shown to the user.
Last: This operation is used to set the last row of the view object collection as the current row.
Next: This operation is used to refer to the next row in the collection as the current row.
Next Set: This operation is used to move to the next set in the collection.
Previous: This method is used to set the previous record as the current row.
Previous Set: This method is used to move to the previous set in the view object collection.
removeRowWithKey: The key value is provided for this operation to remove the row matching the corresponding key.
setCurrentRowWithKey: The current row in the collection is set to the row matching the corresponding key passed using this operation.
setCurrentRowWithKeyValue: This operation will set the row to the matching key value.


No comments:

Post a Comment