Interface Inx_Api_InsertionRowSet

Description

Inx_Api_InsertionRowSet provides a common base for all row set which enable the insertion of rows. new row you have to do the following steps:

  1. Call moveToInsertRow()
  2. Provide the row data using the offered update methods
  3. Call commitRowUpdate()
The insert row is a special row that acts as a staging area for an object to be inserted. Inx_Api_InsertionRowSet provides a set of update methods which can be used to construct this new object.

Inx_Api_InsertionRowSet provides a common base for all row set which enable the insertion of rows. To insert a new row you have to do the following steps:

  1. Call moveToInsertRow()
  2. Provide the row data using the offered update methods
  3. Call commitRowUpdate()
The insert row is a special row that acts as a staging area for an object to be inserted. Each implementation of Inx_Api_InsertionRowSet provides a set of update methods which can be used to construct this new object. Committing this row will create the object on the server and make the current row a normal row. This implies that you have to call moveToInsertRow() each time you want to add a row.

  • author: chge, 16.05.2013
  • since: API 1.11.1

Located in /Api/InsertionRowSet.php (line 18)

Inx_Api_InxRowSet
   |
   --Inx_Api_ManipulationRowSet
      |
      --Inx_Api_InsertionRowSet
Method Summary
void moveToInsertRow ()
Methods
moveToInsertRow (line 27)

Moves the cursor to the insert row. the insert row. a buffer where a new row may be constructed by calling the update methods prior to inserting the row into the row set. insert row.

Moves the cursor to the insert row. The current cursor position is remembered while the cursor is positioned on the insert row. The insert row is a special row associated with a Inx_Api_InsertionRowSet. It is essentially a buffer where a new row may be constructed by calling the update methods prior to inserting the row into the row set. Only the update, getter, and commitRowUpdate method may be called when the cursor is on the insert row.

  • access: public
void moveToInsertRow ()

Inherited Methods

Inherited From Inx_Api_ManipulationRowSet

Inx_Api_ManipulationRowSet::commitRowUpdate()
Inx_Api_ManipulationRowSet::deleteRow()
Inx_Api_ManipulationRowSet::deleteRows()
Inx_Api_ManipulationRowSet::isRowDeleted()
Inx_Api_ManipulationRowSet::rollbackRowUpdate()

Inherited From Inx_Api_InxRowSet

Inx_Api_InxRowSet::afterLastRow()
Inx_Api_InxRowSet::beforeFirstRow()
Inx_Api_InxRowSet::close()
Inx_Api_InxRowSet::getRow()
Inx_Api_InxRowSet::getRowCount()
Inx_Api_InxRowSet::next()
Inx_Api_InxRowSet::previous()
Inx_Api_InxRowSet::setRow()

Documentation generated on Thu, 17 Sep 2015 14:27:26 +0200 by phpDocumentor 1.3.2