Kajona\System\System\OrmObjectupdate

The objectupdate class is used to save an objects' state back to the database.

Therefore the passed object is analyzed, all properties with a matching target-column
are synced back to the database.
Therefor it is essential to have getters and setters for those properties (java bean standard).
If the current object is unknown to the database (no systemid), a new record is created.
The new records' systemid is assigned to the object afterwards.

Synopsis

class OrmObjectupdate extends OrmBase {
}

Hierarchy

Constants

Name Value
STR_ANNOTATION_TARGETTABLE "@targetTable"
STR_ANNOTATION_TARGETTABLETXSAFE "@targetTableTxSafe"
STR_ANNOTATION_TABLECOLUMN "@tableColumn"
STR_ANNOTATION_TABLECOLUMNDATATYPE "@tableColumnDatatype"
STR_ANNOTATION_TABLECOLUMNPRIMARYKEY "@tableColumnPrimaryKey"
STR_ANNOTATION_TABLECOLUMNINDEX "@tableColumnIndex"
STR_ANNOTATION_BLOCKESCAPING "@blockEscaping"
STR_ANNOTATION_LISTORDER "@listOrder"
STR_ANNOTATION_OBJECTLIST "@objectList"

Members

protected

  • $bitLogcialDeleteAvailable
  • $objHandleLogicalDeletedGlobal — int
    Static flag to change the handling of deleted objects globally, so for every following ORM operation

Methods

private

public

Inherited from Kajona\System\System\OrmBase

protected

public