Method | Description | |
---|---|---|
BeforeDelete ( IDictionary adapter ) : void |
Hook to perform additional tasks before removing the object instance representation from the database.
|
|
BeforeLoad ( object id, IDictionary adapter ) : bool |
Hook to transform the read data from the database before populating the object instance
|
|
BeforeSave ( IDictionary state ) : bool |
Hook to change the object state before saving it.
|
|
FindDirty ( object id, IDictionary previousState, IDictionary currentState, IType types ) : int[] |
Called from
|
|
IsUnsaved ( ) : object |
Called when a transient entity is passed to The return value determines if the object is saved |
|
OnDelete ( ) : void |
Lifecycle method invoked during Delete of the entity
|
|
OnFlushDirty ( object id, IDictionary previousState, IDictionary currentState, IType types ) : bool |
|
|
OnLoad ( object id ) : void |
Lifecycle method invoked during Load of the entity
|
|
OnSave ( ) : void |
Lifecycle method invoked during Save of the entity
|
|
OnUpdate ( ) : void |
Lifecycle method invoked during Update of the entity
|
|
PostFlush ( ) : void |
Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.
|
|
PreFlush ( ) : void |
Called before a flush
|
protected BeforeDelete ( IDictionary adapter ) : void | ||
adapter | IDictionary | |
return | void |
protected BeforeLoad ( object id, IDictionary adapter ) : bool | ||
id | object | id of the obejct |
adapter | IDictionary | list of properties and their values |
return | bool |
protected BeforeSave ( IDictionary state ) : bool | ||
state | IDictionary | |
return | bool |
protected FindDirty ( object id, IDictionary previousState, IDictionary currentState, IType types ) : int[] | ||
id | object | |
previousState | IDictionary | |
currentState | IDictionary | |
types | IType | |
return | int[] |
protected OnFlushDirty ( object id, IDictionary previousState, IDictionary currentState, IType types ) : bool | ||
id | object | |
previousState | IDictionary | |
currentState | IDictionary | |
types | IType | |
return | bool |