Class: AbstractEntity

AbstractEntity()

Base class for all backend entities.

Constructor

new AbstractEntity()

Source:

Methods

markAsDeleted(deleteIdopt)

Mark the entity as (soft) deleted. It will be completely erased later.
Parameters:
Name Type Attributes Default Description
deleteId <optional>
null
Source:

save() → {AbstractEntity}

Saves entity - executes SQL, but doesn't commit the transaction on its own
Source:
Returns:
Type
AbstractEntity