Package-level declarations
Types
Base class for an Entity with an id made of several columns (CompositeID), mapping a table declared as a CompositeIdTable. See Entity for how the entity and its properties are declared.
Base class for the companion object of a CompositeEntity: the entry point for creating, finding, and deleting the rows of table.
Class representing a wrapper for a stored identity value of type T, which is managed and cached by an EntityClass using a data access object pattern.
Class representing a producer of EntityID instances, which are managed and cached by their respective EntityClass instances using a data access object pattern.
Class responsible for performing a batch update operation on multiple instances of an Entity class.
Class responsible for the storage of Entity instances in a specific transaction.
Stores details about a state-change event for an Entity instance.
Represents the possible states of an Entity throughout its lifecycle.
Class responsible for enabling Entity field transformations, which may be useful when advanced database type conversions are necessary for entity mappings.
Class responsible for providing functions that expose EntityChange state logic and entity lifecycle features for alerting triggers or customizing additional functionality.
Represents a StatementInterceptor specifically responsible for the statement lifecycle of Entity instances, which is loaded whenever a Transaction instance is initialized.
Base class responsible for the management of immutable Entity instances and the maintenance of their relation to the provided table. An internal cache is used to store entity loading states by the associated database, in order to guarantee that that entity updates are synchronized with this class as the lock object.
What a many-to-many relationship declared with via gives back: the entities linked to this one through an intermediate table.
Base class for the companion object of a LongEntity: the entry point for creating, finding, and deleting the rows of table.
What a one-to-one relationship declared with optionalBackReferencedOn gives back: the single child entity that references this one, or null if there is none.
Class representing an optional table relation between two Entity classes, which is responsible for retrieving the parent entity optionally referenced by the child entity.
Class representing a table relation between two Entity classes, which is responsible for retrieving the parent entity referenced by the child entity.
What a one-to-many relationship declared with referrersOn gives back: every child entity whose reference column points at this one.
Base class for the companion object of a UIntEntity: the entry point for creating, finding, and deleting the rows of table.
Base class for the companion object of a ULongEntity: the entry point for creating, finding, and deleting the rows of table.
Base class for an Entity with a client-generated kotlin.uuid.Uuid id, mapping a table declared as a UuidTable. See Entity for how the entity and its properties are declared.
Base class for the companion object of a UuidEntity: the entry point for creating, finding, and deleting the rows of table.
A SizedIterable of Entity instances that represent a subset of all managed entities that conform to the provided op conditional expression.
Properties
The current EntityCache for this scope, or a new instance if none exists.
Functions
Triggers alerts for all unprocessed entity events using any state-change actions previously registered via EntityHook.subscribe.
Sends all pending Entity inserts and updates stored in this transaction's EntityCache to the database.
Creates a new EntityChange with this id and registers it as an entity event.
Returns a list of all EntityChange events that have been registered in this Transaction.
Returns the actual Entity instance associated with this event, or null if either its EntityClass type is neither equivalent to nor a subclass of klass, or if the entity is not found.