entities~EntityManager(applicationContext)

Management service for entities.

new EntityManager(applicationContext)

Constructs the EntityManager.
Parameters:
Name Type Description
applicationContext object The application context.

Methods

create()

Creates a new entity of the given type.

getAll() → {Array.<Entity>}

Returns all entities.
Returns:
Array.<Entity> - The list of entities.

getByUuid(uuid) → {Entity}

Returns the entity with the given uuid.
Parameters:
Name Type Description
uuid string The uuid of the entity.
Returns:
Entity - The entity.