Interface EntitySubscriberInterface<Entity>
Hierarchy
-
EntitySubscriberInterface
Methods
Optional afterInsert
- afterInsert(event: InsertEvent<Entity>): Promise<any> | void
-
Parameters
Returns Promise<any>
|
void
Optional afterLoad
- afterLoad(entity: Entity): Promise<any> | void
-
Parameters
Returns Promise<any>
|
void
Optional afterRemove
- afterRemove(event: RemoveEvent<Entity>): Promise<any> | void
-
Parameters
Returns Promise<any>
|
void
Optional afterUpdate
- afterUpdate(event: UpdateEvent<Entity>): Promise<any> | void
-
Parameters
Returns Promise<any>
|
void
Optional beforeInsert
- beforeInsert(event: InsertEvent<Entity>): Promise<any> | void
-
Parameters
Returns Promise<any>
|
void
Optional beforeRemove
- beforeRemove(event: RemoveEvent<Entity>): Promise<any> | void
-
Parameters
Returns Promise<any>
|
void
Optional beforeUpdate
- beforeUpdate(event: UpdateEvent<Entity>): Promise<any> | void
-
Parameters
Returns Promise<any>
|
void
Classes that implement this interface are subscribers that subscribe for the specific events in the ORM.