Package | Description |
---|---|
com.speedment |
The base package of Speedment.
|
com.speedment.code |
Fundamental Code Generation componenets is located in this package.
|
com.speedment.component |
The
Components of the
Speedment platform. |
com.speedment.config.db |
Interfaces for exposing a typed database-specific view of a
Document tree is located in this package. |
com.speedment.config.db.trait |
Common traits used in the typed configuration documents are located in this
package.
|
com.speedment.manager |
The
Manager interface and its related classes
are located in this package. |
Modifier and Type | Method and Description |
---|---|
<ENTITY> Manager<ENTITY> |
Speedment.managerOf(Class<ENTITY> entityClass)
Obtains and returns the currently associated
Manager
implementation for the given Entity interface Class. |
ENTITY |
Entity.persist()
Persists this entity to the underlying database and returns a potentially
updated entity.
|
ENTITY |
Entity.persist(Consumer<MetaResult<ENTITY>> consumer)
Persists this entity to the underlying database and returns a potentially
updated entity.
|
ENTITY |
Entity.remove()
Removes the provided entity from the underlying database and returns this
entity instance.
|
ENTITY |
Entity.remove(Consumer<MetaResult<ENTITY>> consumer)
Removes the provided entity from the underlying database and returns this
entity instance.
|
ENTITY |
Entity.update()
Updates this entity in the underlying database and returns a potentially
updated entity.
|
ENTITY |
Entity.update(Consumer<MetaResult<ENTITY>> consumer)
Updates this entity in the underlying database and returns a potentially
updated entity.
|
Modifier and Type | Method and Description |
---|---|
static Supplier<SpeedmentException> |
JavaClassTranslator.foundNoProjectException() |
Modifier and Type | Method and Description |
---|---|
<DOC extends HasName & HasMainInterface,T extends ClassOrInterface<T>> |
CodeGenerationComponent.findTranslator(DOC document,
Class<T> modelType,
String key)
Returns a Stream of newly created
Translator Translators for the
given Document and key. |
default <DOC extends HasName & HasMainInterface,T extends ClassOrInterface<T>> |
CodeGenerationComponent.findTranslator(DOC document,
TranslatorKey<DOC,T> key)
Returns a Stream of newly created
Translator Translators for the
given Document and key. |
com.speedment.internal.ui.UISession |
UserInterfaceComponent.getUISession()
Returns the UISession used.
|
<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 |
---|---|
default String |
Dbms.defaultConnectionUrl(Speedment speedment)
Creates a default connection URL for this
Dbms by looking up the
DbmsType and using its
DbmsType.getConnectionUrlGenerator() to produce a default value. |
default int |
Dbms.defaultPort(Speedment speedment)
Returns the default port for the current database type.
|
Modifier and Type | Method and Description |
---|---|
default String |
HasName.getName()
Gets the name of this Document.
|
Modifier and Type | Method and Description |
---|---|
ENTITY |
Manager.persist(ENTITY entity)
Persists the provided entity to the underlying database and returns a
potentially updated entity.
|
ENTITY |
Manager.persist(ENTITY entity,
Consumer<MetaResult<ENTITY>> consumer) |
ENTITY |
Manager.remove(ENTITY entity)
Removes the provided entity from the underlying database and returns the
provided entity instance.
|
ENTITY |
Manager.remove(ENTITY entity,
Consumer<MetaResult<ENTITY>> consumer) |
ENTITY |
Manager.update(ENTITY entity)
Updates the provided entity in the underlying database and returns a
potentially updated entity.
|
ENTITY |
Manager.update(ENTITY entity,
Consumer<MetaResult<ENTITY>> consumer) |
Copyright © 2016 Speedment, Inc.. All rights reserved.