Methods
-
start( data )
-
Description
Called at route startParameters
Name Type Description dataobject Name Type Attributes Description reqobject Request - See expressjs definition resobject Response - See expressjs definition transactionobject <optional> Database transaction. undefined by default, provide your own when necessary enum_radioobject Entity enum fields translations renderFilestring Dust file to render idEntitynumber Id of entity to show hideButtonboolean Wether to hide buttons or not Details
-
beforeEntityQuery( data )
-
Description
Called before querying data of entity to showParameters
Name Type Description dataobject Name Type Attributes Description reqobject Request - See expressjs definition resobject Response - See expressjs definition transactionobject <optional> Database transaction. undefined by default, provide your own when necessary enum_radioobject Entity enum fields translations renderFilestring Dust file to render idEntitynumber Id of entity to show hideButtonboolean Wether to hide buttons or not Details
-
afterEntityQuery( data )
-
Description
Called after querying data of entity to showParameters
Name Type Description dataobject Name Type Attributes Description reqobject Request - See expressjs definition resobject Response - See expressjs definition transactionobject <optional> Database transaction. undefined by default, provide your own when necessary enum_radioobject Entity enum fields translations renderFilestring Dust file to render idEntitynumber Id of entity to show hideButtonboolean 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 dataobject Name Type Attributes Description reqobject Request - See expressjs definition resobject Response - See expressjs definition transactionobject <optional> Database transaction. undefined by default, provide your own when necessary enum_radioobject Entity enum fields translations renderFilestring Dust file to render idEntitynumber Id of entity to show hideButtonboolean Wether to hide buttons or not "e_entity"object Entity row to show entityDataobject ajax request only - Equals to data."e_entity" whitout sequelize wrapping subentitystring <optional> ajax request only - entity name without prefix e_subentitystring <optional> ajax request only - entity name with prefix Details