Methods
-
start( data )
-
Description
Called at route startParameters
Name Type Description data
object Name Type Attributes Description req
object Request - See expressjs definition res
object Response - See expressjs definition transaction
object <optional> Database transaction. undefined by default, provide your own when necessary enum_radio
object Entity enum fields translations renderFile
string Dust file to render idEntity
number Id of entity to show hideButton
boolean Wether to hide buttons or not Details
-
beforeEntityQuery( data )
-
Description
Called before querying data of entity to showParameters
Name Type Description data
object Name Type Attributes Description req
object Request - See expressjs definition res
object Response - See expressjs definition transaction
object <optional> Database transaction. undefined by default, provide your own when necessary enum_radio
object Entity enum fields translations renderFile
string Dust file to render idEntity
number Id of entity to show hideButton
boolean Wether to hide buttons or not Details
-
afterEntityQuery( data )
-
Description
Called after querying data of entity to showParameters
Name Type Description data
object Name Type Attributes Description req
object Request - See expressjs definition res
object Response - See expressjs definition transaction
object <optional> Database transaction. undefined by default, provide your own when necessary enum_radio
object Entity enum fields translations renderFile
string Dust file to render idEntity
number Id of entity to show hideButton
boolean Wether to hide buttons or not "e_entity"
object Entity row to show Details
-
beforeRender( data )
-
Description
Called before show file renderingParameters
Name Type Description data
object Name Type Attributes Description req
object Request - See expressjs definition res
object Response - See expressjs definition transaction
object <optional> Database transaction. undefined by default, provide your own when necessary enum_radio
object Entity enum fields translations renderFile
string Dust file to render idEntity
number Id of entity to show hideButton
boolean Wether to hide buttons or not "e_entity"
object Entity row to show entityData
object ajax request only - Equals to data."e_entity" whitout sequelize wrapping subentity
string <optional> ajax request only - entity name without prefix e_subentity
string <optional> ajax request only - entity name with prefix Details