Package | Description |
---|---|
com.speedment.runtime.application |
The runtime application package of Speedment.
|
com.speedment.runtime.core |
The base package of Speedment.
|
com.speedment.runtime.core.component |
The standard components of the
Speedment
platform. |
com.speedment.runtime.core.manager |
The
Manager interface and its related classes
are located in this package. |
com.speedment.runtime.core.util |
Utility classes used both internally and in generated code is located in this
package.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractSpeedment.getOrThrow(Class<T> componentClass) |
Modifier and Type | Method and Description |
---|---|
<T> T |
Speedment.getOrThrow(Class<T> type)
Returns the specified component from the platform, or if it does not
exist, throws a
SpeedmentException . |
Modifier and Type | Method and Description |
---|---|
<E> Manager<E> |
ManagerComponent.managerOf(Class<E> entityClass)
Obtains and returns the currently associated
Manager
implementation for the given Entity interface Class. |
<ENTITY> void |
EntityManager.persist(ENTITY entity)
Persists the given Entity and returns a new
Optional<Entity> that
was the result of the persistence, or Optional.empty() if the method
failed. |
<ENTITY> void |
EntityManager.remove(ENTITY entity)
Updates the given Entity and returns a new
Optional<Entity> that
was the result of the update, or Optional.empty() if the method failed. |
<ENTITY> void |
EntityManager.update(ENTITY entity)
Updates the given Entity and returns a new
Optional<Entity> that
was the result of the update, or Optional.empty() if the method failed. |
Modifier and Type | Method and Description |
---|---|
ENTITY |
Persister.apply(ENTITY entity)
Persists the provided entity to the underlying database and returns a
potentially updated entity.
|
ENTITY |
Updater.apply(ENTITY entity)
Updates the provided entity in the underlying database and returns a
potentially updated entity.
|
ENTITY |
Remover.apply(ENTITY entity)
Removes the provided entity from the underlying database and returns the
provided entity instance.
|
default ENTITY |
Manager.persist(ENTITY entity)
Persists the provided entity to the underlying database and returns a
potentially updated entity.
|
default ENTITY |
Manager.remove(ENTITY entity)
Removes the provided entity from the underlying database and returns the
provided entity instance.
|
default ENTITY |
Manager.update(ENTITY entity)
Updates the provided entity in the underlying database and returns a
potentially updated entity.
|
Modifier and Type | Method and Description |
---|---|
void |
FeatureReadinessLevel.assertAtLeast(FeatureReadinessLevel requiredLevel)
Throw a
SpeedmentException if the required
FeatureReadinessLevel has not been met. |
static String |
DatabaseUtil.findConnectionUrl(DbmsHandlerComponent dbmsHandlerComponent,
Dbms dbms)
Determines the connection URL to use for the specified
Dbms by
first:
checking if the CONNECTION_URL property is set;
otherwise, calculate it using the DbmsType . |
Copyright © 2019 Speedment, Inc.. All rights reserved.