Uses of Interface
is.codion.framework.db.EntityConnection
Packages that use EntityConnection
Package
Description
RMI connection related classes.
Domain model testing related classes.
Package configuration values:
EntityApplicationModel.USER_PREFERENCES
EntityApplicationModel.PREFERENCES_KEY
EntityEditor.PUBLISH_PERSISTENCE_EVENTS
EntityEditor.PERSIST_FOREIGN_KEYS
EntityQueryModel.LIMIT
EntityTableModel.ON_INSERT
EntityTableModel.ORDER_QUERY
ForeignKeyModelLink.SET_CONDITION_ON_INSERT
ForeignKeyModelLink.SET_VALUE_ON_INSERT
ForeignKeyModelLink.REFRESH_ON_SELECTION
ForeignKeyModelLink.CLEAR_CONDITION_ON_EMPTY_SELECTION
ForeignKeyModelLink.CLEAR_VALUE_ON_EMPTY_SELECTION
EntitySearchModel.DEFAULT_LIMIT
EntitySearchModel.PERSISTENCE_AWARE
Model testing related classes.
Package configuration values:
EntityServerConfiguration.CONNECTION_POOL_FACTORY
EntityServerConfiguration.CONNECTION_LIMIT
EntityServerConfiguration.CLIENT_CONNECTION_TIMEOUT
EntityServerConfiguration.METHOD_TRACING
EntityServerConfiguration.CONNECTION_POOL_USERS
EntityServerConfiguration.DOMAIN_CLASSES
Swing model classes
Package configuration values:
EntityComboBoxModel.PERSISTENCE_AWARE
Package configuration values:
EntityApplication.USER
EntityApplication.SAVE_DEFAULT_USERNAME
EntityApplication.STARTUP_DIALOG
EntityApplication.CONNECTION_INFO_UPPER_CASE
EntityApplicationPanel.HELP_URL
EntityApplicationPanel.CONFIRM_EXIT
EntityApplicationPanel.CACHE_ENTITY_PANELS
EntityApplicationPanel.SYSTEM_EXIT
EntityApplicationPanel.SQL_TRACING
EntityEditPanel.Config.VALID_INDICATOR
EntityEditPanel.Config.MODIFIED_INDICATOR
EntityEditPanel.Config.TEXT_FIELD_COLUMNS
EntityEditPanel.Config.MODIFIED_WARNING
EntityEditPanel.Config.USE_FOCUS_ACTIVATION
EntityEditPanel.Config.INCLUDE_ENTITY_VIEWER
EntityEditPanel.Config.INCLUDE_INSPECTOR
EntityEditPanel.Config.TRANSFER_FOCUS_ON_ENTER
EntityPanel.Config.KEYBOARD_NAVIGATION
EntityPanel.Config.DISPOSE_EDIT_DIALOG_ON_ESCAPE
EntityPanel.Config.INCLUDE_TOGGLE_EDIT_PANEL_CONTROL
EntityPanel.Config.TOOLBAR_CONTROLS
EntityPanel.Config.CONTROL_PANEL_CONSTRAINTS
EntityPanel.Config.CONTROL_TOOLBAR_CONSTRAINTS
EntityPanel.Config.WINDOW_TYPE
EntityPanel.Config.EDIT_PANEL_CONSTRAINTS
EntityTablePanel.Config.EXCLUDE_HIDDEN_COLUMNS
EntityTablePanel.Config.CONDITION_VIEW
EntityTablePanel.Config.FILTER_VIEW
EntityTablePanel.Config.SUMMARY_PANEL_VISIBLE
EntityTablePanel.Config.INCLUDE_POPUP_MENU
EntityTablePanel.Config.INCLUDE_ENTITY_VIEWER
EntityTablePanel.Config.INCLUDE_INSPECTOR
EntityTablePanel.Config.INCLUDE_CLEAR_CONTROL
EntityTablePanel.Config.INCLUDE_LIMIT_MENU
EntityTablePanel.Config.REFRESH_BUTTON_VISIBLE
EntityTablePanel.Config.COLUMN_SELECTION
EntityTablePanel.Config.INCLUDE_CONDITIONS
EntityTablePanel.Config.INCLUDE_FILTERS
EntityTablePanel.Config.INCLUDE_SUMMARY
EntityTablePanel.Config.REFRESH_PROGRESS_BAR
EntityTablePanel.Config.REFRESH_PROGRESS_BAR_DELAY
ReferentialIntegrityErrorHandling.REFERENTIAL_INTEGRITY_ERROR_HANDLING
TabbedApplicationLayout.TAB_PLACEMENT
TabbedDetailLayout.INCLUDE_CONTROLS
-
Uses of EntityConnection in is.codion.framework.db
Classes in is.codion.framework.db with type parameters of type EntityConnectionModifier and TypeClassDescriptionstatic classAbstractEntityConnection.AbstractBuilder<T extends EntityConnection,B extends EntityConnection.Builder<T, B>> An abstractEntityConnection.Builder.static interfaceEntityConnection.Builder<T extends EntityConnection,B extends EntityConnection.Builder<T, B>> Builds a self-managingEntityConnection.Classes in is.codion.framework.db that implement EntityConnectionModifier and TypeClassDescriptionclassAn abstract self-managingEntityConnection, one which establishes the underlying connection on demand, validates it before each operation and re-establishes it when it has gone bad.Methods in is.codion.framework.db with type parameters of type EntityConnectionModifier and TypeMethodDescriptionfinal <C extends EntityConnection,P, R>
@Nullable RAbstractEntityConnection.execute(FunctionType<C, P, R> functionType) final <C extends EntityConnection,P, R>
@Nullable RAbstractEntityConnection.execute(FunctionType<C, P, R> functionType, @Nullable P parameter) final <C extends EntityConnection,P>
voidAbstractEntityConnection.execute(ProcedureType<C, P> procedureType) final <C extends EntityConnection,P>
voidAbstractEntityConnection.execute(ProcedureType<C, P> procedureType, @Nullable P parameter) <C extends EntityConnection,P, R>
@Nullable REntityConnection.execute(FunctionType<C, P, R> functionType) Executes the function with the given type with no parameter<C extends EntityConnection,P, R>
@Nullable REntityConnection.execute(FunctionType<C, P, R> functionType, @Nullable P parameter) Executes the function with the given type<C extends EntityConnection,P>
voidEntityConnection.execute(ProcedureType<C, P> procedureType) Executes the procedure with the given type with no parameter<C extends EntityConnection,P>
voidEntityConnection.execute(ProcedureType<C, P> procedureType, @Nullable P parameter) Executes the procedure with the given typeMethods in is.codion.framework.db that return EntityConnectionModifier and TypeMethodDescriptionprotected abstract EntityConnectionAbstractEntityConnection.connect()protected final EntityConnectionAbstractEntityConnection.delegate()Returns the underlying connection, establishing it if this is the first use and re-establishing it if it has gone bad.Methods in is.codion.framework.db that return types with arguments of type EntityConnectionModifier and TypeMethodDescriptionprotected final Optional<EntityConnection> AbstractEntityConnection.established()Returns the underlying connection should one be established, without validating it, establishing one or throwing in case this connection has been closed.Methods in is.codion.framework.db with parameters of type EntityConnectionModifier and TypeMethodDescriptionEntityConnection.batchCopy(EntityConnection source, EntityConnection destination) Creates a newEntityConnection.BatchCopy.Builderinstance for copying entities from source to destination, with a default batch size of 100.EntityConnection.batchInsert(EntityConnection connection, Iterator<Entity> entities) Creates a newEntityConnection.BatchInsert.Builderinstance based on the given iterator, with a default batch size of 100.protected voidAbstractEntityConnection.close(EntityConnection connection) Closes the given connection, called when this connection is closed and, best effort, when a bad connection is being replaced or discarded.static voidEntityConnection.transaction(EntityConnection connection, EntityConnection.Transactional transactional) Executes the givenEntityConnection.Transactionalinstance within a transaction on the given connection, committing on success and rolling back on exception.static <T> @Nullable TEntityConnection.transaction(EntityConnection connection, EntityConnection.TransactionalResult<T> transactional) Executes the givenEntityConnection.TransactionalResultinstance within a transaction on the given connection, committing on success and rolling back on exception. -
Uses of EntityConnection in is.codion.framework.db.http
Subinterfaces of EntityConnection in is.codion.framework.db.httpModifier and TypeInterfaceDescriptioninterfaceA factory for http basedEntityConnectioninstances. -
Uses of EntityConnection in is.codion.framework.db.local
Subinterfaces of EntityConnection in is.codion.framework.db.localModifier and TypeInterfaceDescriptioninterfaceEntityConnection implementation based on a local JDBC connection. -
Uses of EntityConnection in is.codion.framework.db.rmi
Subinterfaces of EntityConnection in is.codion.framework.db.rmiModifier and TypeInterfaceDescriptioninterfaceAnEntityConnectionbased on RMI, adapting aServerEntityConnectionrunning on the server.Methods in is.codion.framework.db.rmi with type parameters of type EntityConnectionModifier and TypeMethodDescription<C extends EntityConnection,P, R>
@Nullable RServerEntityConnection.execute(FunctionType<C, P, R> functionType) Executes the function with the given type with no parameter.<C extends EntityConnection,P, R>
@Nullable RServerEntityConnection.execute(FunctionType<C, P, R> functionType, @Nullable P parameter) Executes the function with the given type.<C extends EntityConnection,P>
voidServerEntityConnection.execute(ProcedureType<C, P> procedureType) Executes the procedure with the given type with no parameter.<C extends EntityConnection,P>
voidServerEntityConnection.execute(ProcedureType<C, P> procedureType, @Nullable P parameter) Executes the procedure with the given type. -
Uses of EntityConnection in is.codion.framework.domain.test
Methods in is.codion.framework.domain.test that return EntityConnectionModifier and TypeMethodDescriptionprotected final EntityConnectionDefaultEntityFactory.connection()protected final EntityConnectionDomainTest.connection()Constructors in is.codion.framework.domain.test with parameters of type EntityConnectionModifierConstructorDescriptionDefaultEntityFactory(EntityConnection connection) Instantiates a newDefaultEntityFactoryConstructor parameters in is.codion.framework.domain.test with type arguments of type EntityConnectionModifierConstructorDescriptionDomainTest(Domain domain, Function<EntityConnection, DomainTest.EntityFactory> entityFactory) Instantiates a new DomainTest.DomainTest(Domain domain, Function<EntityConnection, DomainTest.EntityFactory> entityFactory, User user) Instantiates a new DomainTest. -
Uses of EntityConnection in is.codion.framework.model
Methods in is.codion.framework.model that return EntityConnectionModifier and TypeMethodDescriptionfinal EntityConnectionAbstractEntityApplicationModel.connection()final EntityConnectionAbstractEntityEditModel.connection()final EntityConnectionAbstractEntityEditor.connection()final EntityConnectionAbstractEntityModel.connection()final EntityConnectionAbstractEntityTableModel.connection()EntityApplicationModel.connection()Returns theEntityConnectionused by this application model, a single self-managing instance shared by all its entity models: it validates the underlying connection before each operation and re-establishes it when it has gone bad, so it is safe to hold on to and use for the lifetime of the application, seebuilder().EntityComboBoxModel.connection()EntityConditionModel.connection()protected final EntityConnectionEntityConditions.connection()EntityEditModel.connection()Typically the single self-managing connection shared by all models of an application, safe to hold on to and use for its lifetime, seeEntityApplicationModel.connection().EntityEditor.connection()EntityModel.connection()Typically the single self-managing connection shared by all models of an application, safe to hold on to and use for its lifetime, seeEntityApplicationModel.connection().EntityQueryModel.connection()EntitySearchModel.connection()EntityTableModel.connection()Typically the single self-managing connection shared by all models of an application, safe to hold on to and use for its lifetime, seeEntityApplicationModel.connection().Methods in is.codion.framework.model with parameters of type EntityConnectionModifier and TypeMethodDescriptionvoidEditorLink.BeforeInsert.apply(Entity detail, Entity master, EntityConnection connection) Invoked on a background thread within the master's transaction, immediately before the detail row is inserted.EntityExport.builder(EntityConnection connection) default <T> FilterComboBoxModel<T> EntityEditor.ComponentModels.comboBoxModel(Column<T> column, EntityConnection connection) Creates a combo box model containing the current values of the given column.default EntityComboBoxModelEntityEditor.ComponentModels.comboBoxModel(ForeignKey foreignKey, EntityConnection connection) Creates a newEntityComboBoxModelfor the given foreign key, override to provide a customEntityComboBoxModelimplementation.EntityComboBoxModel.Builder.ConnectionStep.connection(EntityConnection connection) EntityConditionModel.Builder.ConnectionStep.connection(EntityConnection connection) EntitySearchModel.Builder.ConnectionStep.connection(EntityConnection connection) default voidEntityPersistence.delete(Entity entity, EntityConnection connection) Deletes the given entity from the database using the given connection.default voidEntityPersistence.delete(Collection<Entity> entities, EntityConnection connection) Deletes the given entities from the database using the given connectionEditorLink.DetailEntity.get(Entity master, EntityConnection connection) default EntityEntityPersistence.insert(Entity entity, EntityConnection connection) Inserts the given entity into the database using the given connection.default Collection<Entity> EntityPersistence.insert(Collection<Entity> entities, EntityConnection connection) Inserts the given entities into the database using the given connectiondefault EntitySearchModelEntityEditor.ComponentModels.searchModel(ForeignKey foreignKey, EntityConnection connection) Creates aEntitySearchModelfor looking up entities of the type referenced by the given foreign key, using the search attributes defined for that entity type.final EntityEditor.EditorTasksAbstractEntityEditor.tasks(EntityConnection connection) EntityEditor.tasks(EntityConnection connection) default EntityEntityPersistence.update(Entity entity, EntityConnection connection) Updates the given entity in the database using the given connection.default Collection<Entity> EntityPersistence.update(Collection<Entity> entities, EntityConnection connection) Updates the given entities in the database using the given connectionConstructors in is.codion.framework.model with parameters of type EntityConnectionModifierConstructorDescriptionprotectedAbstractEntityApplicationModel(EntityConnection connection, Collection<? extends M> entityModels) Instantiates a new AbstractEntityApplicationModelprotectedAbstractEntityEditor(EntityType entityType, EntityConnection connection, EntityEditor.ComponentModels componentModels) Instantiates anAbstractEntityEditorprotectedAbstractEntityEditor(EntityType entityType, EntityConnection connection, EntityEditor.ComponentModels componentModels, Function<AbstractEntityEditor<R>, EntityEditor.ComboBoxModels> comboBoxModels) Instantiates anAbstractEntityEditorEntityConditions(EntityType entityType, EntityConnection connection) Instantiates a newEntityConditions. -
Uses of EntityConnection in is.codion.framework.model.test
Fields in is.codion.framework.model.test declared as EntityConnectionModifier and TypeFieldDescriptionprotected static final EntityConnectionAbstractEntityModelTest.CONNECTIONMethods in is.codion.framework.model.test that return EntityConnectionModifier and TypeMethodDescriptionprotected final EntityConnectionAbstractEntityApplicationModelTest.connection()protected final EntityConnectionAbstractEntityModelTest.connection()protected final EntityConnectionAbstractEntityTableModelTest.connection()Methods in is.codion.framework.model.test with parameters of type EntityConnectionModifier and TypeMethodDescriptionprotected abstract EAbstractEntityTableModelTest.createEditModel(EntityType entityType, EntityConnection connection) protected abstract TAbstractEntityTableModelTest.createTableModel(EntityType entityType, EntityConnection connection) -
Uses of EntityConnection in is.codion.framework.server
Fields in is.codion.framework.server declared as EntityConnectionModifier and TypeFieldDescriptionprotected final EntityConnectionAbstractServerEntityConnection.connectionProxyA Proxy for logging method calls -
Uses of EntityConnection in is.codion.swing.framework.model
Methods in is.codion.swing.framework.model with parameters of type EntityConnectionModifier and TypeMethodDescriptiondefault <T> SwingFilterComboBoxModel<T> SwingEntityEditor.SwingComponentModels.comboBoxModel(Column<T> column, EntityConnection connection) default SwingEntityComboBoxModelSwingEntityEditor.SwingComponentModels.comboBoxModel(ForeignKey foreignKey, EntityConnection connection) Constructors in is.codion.swing.framework.model with parameters of type EntityConnectionModifierConstructorDescriptionSwingEntityApplicationModel(EntityConnection connection, Collection<SwingEntityModel> entityModels) Instantiates a newSwingEntityApplicationModelSwingEntityConditions(EntityType entityType, EntityConnection connection) Instantiates a newSwingEntityConditions.SwingEntityEditModel(EntityType entityType, EntityConnection connection) Instantiates a newSwingEntityEditModelbased on the given entity type.SwingEntityEditModel(EntityType entityType, EntityConnection connection, SwingEntityEditor.SwingComponentModels componentModels) Instantiates a newSwingEntityEditModelbased on the given entity type.SwingEntityEditor(EntityType entityType, EntityConnection connection) Instantiates a newSwingEntityEditorSwingEntityEditor(EntityType entityType, EntityConnection connection, SwingEntityEditor.SwingComponentModels componentModels) Instantiates a newSwingEntityEditorSwingEntityModel(EntityType entityType, EntityConnection connection) Instantiates a new SwingEntityModel with default SwingEntityEditModel and SwingEntityTableModel implementations.SwingEntityTableModel(EntityType entityType, EntityConnection connection) Instantiates a new SwingEntityTableModel.SwingEntityTableModel(EntityType entityType, Collection<Entity> entities, EntityConnection connection) Instantiates a new SwingEntityTableModel containing the given entities.SwingEntityTableModel(Collection<Entity> entities, EntityConnection connection) Instantiates a new SwingEntityTableModel containing the given entities. -
Uses of EntityConnection in is.codion.swing.framework.model.component
Methods in is.codion.swing.framework.model.component with parameters of type EntityConnectionModifier and TypeMethodDescriptionSwingEntityComboBoxModel.Builder.ConnectionStep.connection(EntityConnection connection) -
Uses of EntityConnection in is.codion.swing.framework.ui
Methods in is.codion.swing.framework.ui with parameters of type EntityConnectionModifier and TypeMethodDescriptionEntityPanel.Builder.build(EntityConnection connection) Builds anEntityPanelbased on this builder configuration.EntityApplication.connection(EntityConnection connection) OverridesEntityApplication.connection(Function)Method parameters in is.codion.swing.framework.ui with type arguments of type EntityConnectionModifier and TypeMethodDescriptionEntityApplication.connection(Function<User, EntityConnection> connection) Note that the login dialog relies on the given function connecting eagerly, failing when given invalid credentials or an unreachable server.EntityApplication.model(Function<EntityConnection, M> model) EntityPanel.Builder.PanelBuilder.panel(Function<EntityConnection, EntityPanel> entityPanel)