Index

A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages

A

AbstractEntityEditModel - Class in is.codion.framework.model
A default EntityEditModel implementation
AbstractEntityEditModel(EntityType, EntityConnectionProvider) - Constructor for class is.codion.framework.model.AbstractEntityEditModel
Instantiates a new AbstractEntityEditModel based on the given entity type.
AbstractEntityTableModel<E extends EntityEditModel> - Class in is.codion.framework.model
An abstract EntityTableModel implementation
AbstractEntityTableModel(E, FilterModel<Entity>) - Constructor for class is.codion.framework.model.AbstractEntityTableModel
 
AbstractEntityTableModel(E, FilterModel<Entity>, EntityQueryModel) - Constructor for class is.codion.framework.model.AbstractEntityTableModel
 
accepts(Comparable<Entity>) - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
active() - Method in class is.codion.framework.model.DefaultDetailModelLink
 
active() - Method in interface is.codion.framework.model.DetailModelLink
Controls the active status of this link.
add(ForeignKey, Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
Adds the given entities to all foreign key models based on that entity type
ADD_BOTTOM - Enum constant in enum class is.codion.framework.model.EntityTableModel.OnInsert
The entities inserted via the associated edit model are added as the bottommost rows in the model
ADD_BOTTOM_SORTED - Enum constant in enum class is.codion.framework.model.EntityTableModel.OnInsert
The entities inserted via the associated edit model are added as the bottommost rows in the model, if sorting is enabled then sorting is performed
ADD_TOP - Enum constant in enum class is.codion.framework.model.EntityTableModel.OnInsert
The entities inserted via the associated edit model are added as the topmost rows in the model
ADD_TOP_SORTED - Enum constant in enum class is.codion.framework.model.EntityTableModel.OnInsert
The entities inserted via the associated edit model are added as the topmost rows in the model, if sorting is enabled then sorting is performed
addDetailModel(L) - Method in class is.codion.framework.model.DefaultEntityModel
 
addDetailModel(L) - Method in interface is.codion.framework.model.EntityModel
Adds the given detail model to this model, a side effect if the detail model contains a table model is that it is configured so that a query condition is required for it to show any data, via EntityQueryModel.conditionRequired()
addDetailModel(M) - Method in class is.codion.framework.model.DefaultEntityModel
 
addDetailModel(M) - Method in interface is.codion.framework.model.EntityModel
Adds the given detail model to this model, a side effect if the detail model contains a table model is that it is configured so that a query condition is required for it to show any data, via EntityQueryModel.conditionRequired().
addDetailModel(M, ForeignKey) - Method in class is.codion.framework.model.DefaultEntityModel
 
addDetailModel(M, ForeignKey) - Method in interface is.codion.framework.model.EntityModel
Adds the given detail model to this model, a side effect if the detail model contains a table model is that it is configured so that a query condition is required for it to show any data, via EntityQueryModel.conditionRequired() Specify the foreign key in case the detail model is based on an entity which contains multiple foreign keys to the same master entity.
addDetailModels(M...) - Method in class is.codion.framework.model.DefaultEntityModel
 
addDetailModels(M...) - Method in interface is.codion.framework.model.EntityModel
Adds the given detail model to this model, a side effect if the detail model contains a table model is that it is configured so that a query condition is required for it to show any data, via EntityQueryModel.conditionRequired().
addEntityModel(M) - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
addEntityModel(M) - Method in interface is.codion.framework.model.EntityApplicationModel
Adds the given entity model to this model
addEntityModels(M...) - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
addEntityModels(M...) - Method in interface is.codion.framework.model.EntityApplicationModel
Adds the given entity models to this model.
afterDelete() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
afterDelete() - Method in interface is.codion.framework.model.EntityEditModel
 
afterInsert() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
afterInsert() - Method in interface is.codion.framework.model.EntityEditModel
 
afterInsertUpdateOrDelete() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
afterInsertUpdateOrDelete() - Method in interface is.codion.framework.model.EntityEditModel
 
afterUpdate() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
afterUpdate() - Method in interface is.codion.framework.model.EntityEditModel
 
attribute(Attribute<T>) - Method in interface is.codion.framework.model.EntityConditionModel
Returns the ConditionModel associated with the given attribute.
AttributeConditionModelFactory - Class in is.codion.framework.model
A default TableConditionModel.ConditionModelFactory implementation for creating Entity based column condition models.
AttributeConditionModelFactory(EntityConnectionProvider) - Constructor for class is.codion.framework.model.AttributeConditionModelFactory
Instantiates a new AttributeConditionModelFactory.
attributes() - Method in interface is.codion.framework.model.EntityQueryModel
Returns the ValueSet controlling which attributes are included when querying entities.
AUTHENTICATION_REQUIRED - Static variable in interface is.codion.framework.model.EntityApplicationModel
Specifies whether user authentication is required Value type: Boolean Default value: true
autoEnable() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 

B

beforeDelete() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
beforeDelete() - Method in interface is.codion.framework.model.EntityEditModel
 
beforeInsert() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
beforeInsert() - Method in interface is.codion.framework.model.EntityEditModel
 
beforeUpdate() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
beforeUpdate() - Method in interface is.codion.framework.model.EntityEditModel
 
build() - Method in interface is.codion.framework.model.EntitySearchModel.Builder
 
build() - Method in interface is.codion.framework.model.ForeignKeyConditionModel.Builder
 
builder() - Static method in class is.codion.framework.model.ForeignKeyConditionModel
 
builder(EntityType, EntityConnectionProvider) - Static method in interface is.codion.framework.model.EntitySearchModel
Instantiates a new EntitySearchModel.Builder, initialized with the search columns for the given entity type

C

caseSensitive() - Method in interface is.codion.framework.model.EntitySearchModel.Settings
 
caseSensitive() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
changed() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
changing() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
 
clear() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Clears all values from the underlying entity, disregarding the EntityEditModel.EditableValue.persist() directive.
clear() - Method in interface is.codion.framework.model.EntitySearchModel.Selection
Clears the selection
clear() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
CLEAR_FOREIGN_KEY_CONDITION_ON_EMPTY_SELECTION - Static variable in interface is.codion.framework.model.ForeignKeyDetailModelLink
Specifies whether a detail model clears the foreign key search condition when null or no value is selected in a master model
Value type: Boolean
Default value: true
CLEAR_FOREIGN_KEY_VALUE_ON_EMPTY_SELECTION - Static variable in interface is.codion.framework.model.ForeignKeyDetailModelLink
Specifies whether a detail model sets the master foreign key value to null when null or no value is selected in a master model
Value type: Boolean
Default value: false
clearForeignKeyConditionOnEmptySelection() - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
clearForeignKeyConditionOnEmptySelection() - Method in interface is.codion.framework.model.ForeignKeyDetailModelLink
Returns the State controlling whether the detail table model should clear the foreign key search condition when no value is selected in the master model
clearForeignKeyValueOnEmptySelection() - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
clearForeignKeyValueOnEmptySelection() - Method in interface is.codion.framework.model.ForeignKeyDetailModelLink
Returns the State controlling whether the detail model should set the foreign key to null when null or no value is selected in the master model.
columns() - Method in interface is.codion.framework.model.EntitySearchModel
 
columns(Collection<Column<String>>) - Method in interface is.codion.framework.model.EntitySearchModel.Builder
 
condition() - Method in interface is.codion.framework.model.EntitySearchModel
Sets the additional search condition supplier to use when performing the next search.
conditionChanged() - Method in interface is.codion.framework.model.EntityQueryModel
When using the default query mechanism, the EntityQueryModel.conditionChanged() state is reset after each successful query.
conditionEnabled() - Method in interface is.codion.framework.model.EntityQueryModel
It can be necessary to prevent the user from selecting too much data, when working with a large dataset.
conditionRequired() - Method in interface is.codion.framework.model.EntityQueryModel
Returns a State controlling whether this query model should query all underlying entities when no query condition has been set.
conditions() - Method in interface is.codion.framework.model.EntityQueryModel
 
conjunction() - Method in interface is.codion.framework.model.EntityQueryModel.AdditionalCondition
Default Conjunction.AND.
connection() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
connection() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
connection() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
connection() - Method in class is.codion.framework.model.DefaultEntityModel
 
connection() - Method in interface is.codion.framework.model.EntityApplicationModel
Do not cache or keep the connection returned by this method in a long living field, since it may become invalid and thereby unusable.
connection() - Method in interface is.codion.framework.model.EntityEditModel
Do not cache or keep the connection returned by this method in a long living field, since it may become invalid and thereby unusable.
connection() - Method in interface is.codion.framework.model.EntityModel
Do not cache or keep the connection returned by this method in a long living field, since it may become invalid and thereby unusable.
connection() - Method in interface is.codion.framework.model.EntityTableModel
Do not cache or keep the connection returned by this method in a long living field, since it may become invalid and thereby unusable.
connectionProvider() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
connectionProvider() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
connectionProvider() - Method in class is.codion.framework.model.AttributeConditionModelFactory
 
connectionProvider() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
connectionProvider() - Method in class is.codion.framework.model.DefaultEntityModel
 
connectionProvider() - Method in interface is.codion.framework.model.EntityApplicationModel
 
connectionProvider() - Method in interface is.codion.framework.model.EntityConditionModel
 
connectionProvider() - Method in interface is.codion.framework.model.EntityEditModel
 
connectionProvider() - Method in interface is.codion.framework.model.EntityModel
 
connectionProvider() - Method in interface is.codion.framework.model.EntityQueryModel
 
connectionProvider() - Method in interface is.codion.framework.model.EntitySearchModel
 
connectionProvider() - Method in interface is.codion.framework.model.EntityTableModel
 
containsDetailModel(EntityType) - Method in class is.codion.framework.model.DefaultEntityModel
 
containsDetailModel(EntityType) - Method in interface is.codion.framework.model.EntityModel
 
containsDetailModel(Class<? extends M>) - Method in class is.codion.framework.model.DefaultEntityModel
 
containsDetailModel(Class<? extends M>) - Method in interface is.codion.framework.model.EntityModel
 
containsDetailModel(M) - Method in class is.codion.framework.model.DefaultEntityModel
 
containsDetailModel(M) - Method in interface is.codion.framework.model.EntityModel
 
containsEntityModel(EntityType) - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
containsEntityModel(EntityType) - Method in interface is.codion.framework.model.EntityApplicationModel
 
containsEntityModel(Class<? extends M>) - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
containsEntityModel(Class<? extends M>) - Method in interface is.codion.framework.model.EntityApplicationModel
 
containsEntityModel(M) - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
containsEntityModel(M) - Method in interface is.codion.framework.model.EntityApplicationModel
 
containsTableModel() - Method in class is.codion.framework.model.DefaultEntityModel
 
containsTableModel() - Method in interface is.codion.framework.model.EntityModel
 
create(Attribute<?>) - Method in class is.codion.framework.model.AttributeConditionModelFactory
 
createDelete() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
createDelete() - Method in interface is.codion.framework.model.EntityEditModel
Creates a new EntityEditModel.Delete instance for deleting the active entity.
createDelete(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
createDelete(Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
Creates a new EntityEditModel.Delete instance for deleting the given entities.
createEqualSearchModel(ForeignKey) - Method in class is.codion.framework.model.AttributeConditionModelFactory
 
createForeignKeySearchModel(ForeignKey) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
createForeignKeySearchModel(ForeignKey) - Method in interface is.codion.framework.model.EntityEditModel
Creates a EntitySearchModel for looking up entities referenced by the given foreign key, using the search attributes defined for that entity type.
createInSearchModel(ForeignKey) - Method in class is.codion.framework.model.AttributeConditionModelFactory
 
createInsert() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
createInsert() - Method in interface is.codion.framework.model.EntityEditModel
Creates a new EntityEditModel.Insert instance for inserting the active entity.
createInsert(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
createInsert(Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
Creates a new EntityEditModel.Insert instance for inserting the given entities.
createUpdate() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
createUpdate() - Method in interface is.codion.framework.model.EntityEditModel
Creates a new EntityEditModel.Update instance for updating the active entity.
createUpdate(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
createUpdate(Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
Creates a new EntityEditModel.Update instance for updating the given entities.

D

dateTimePattern() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
DEFAULT_LIMIT - Static variable in interface is.codion.framework.model.EntitySearchModel
Specifies the default search result limit, that is, the maximum number of results, null meaning no limit Value type: Integer Default value: null
DefaultDetailModelLink<M extends DefaultEntityModel<M,E,T>,E extends AbstractEntityEditModel,T extends EntityTableModel<E>> - Class in is.codion.framework.model
A default DetailModelLink implementation which does nothing.
DefaultDetailModelLink(M) - Constructor for class is.codion.framework.model.DefaultDetailModelLink
Instantiates a DefaultDetailModelLink for the given detail model
DefaultEntityApplicationModel<M extends DefaultEntityModel<M,E,T>,E extends AbstractEntityEditModel,T extends EntityTableModel<E>> - Class in is.codion.framework.model
A central application model class.
DefaultEntityApplicationModel(EntityConnectionProvider) - Constructor for class is.codion.framework.model.DefaultEntityApplicationModel
Instantiates a new DefaultEntityApplicationModel
DefaultEntityApplicationModel(EntityConnectionProvider, Version) - Constructor for class is.codion.framework.model.DefaultEntityApplicationModel
Instantiates a new DefaultEntityApplicationModel
DefaultEntityModel<M extends DefaultEntityModel<M,E,T>,E extends AbstractEntityEditModel,T extends EntityTableModel<E>> - Class in is.codion.framework.model
A default EntityModel implementation.
DefaultEntityModel(E) - Constructor for class is.codion.framework.model.DefaultEntityModel
Instantiates a new DefaultEntityModel, without a table model
DefaultEntityModel(T) - Constructor for class is.codion.framework.model.DefaultEntityModel
Instantiates a new DefaultEntityModel
DefaultForeignKeyDetailModelLink<M extends DefaultEntityModel<M,E,T>,E extends AbstractEntityEditModel,T extends EntityTableModel<E>> - Class in is.codion.framework.model
A default ForeignKeyDetailModelLink implementation.
DefaultForeignKeyDetailModelLink(M, ForeignKey) - Constructor for class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
defaults() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Populates this edit model with default values for all attributes.
defaultValue() - Method in interface is.codion.framework.model.EntityEditModel.EditableValue
Returns the Value instance controlling the default value supplier for the given attribute.
definition(EntityType) - Method in class is.codion.framework.model.AttributeConditionModelFactory
 
delete() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
delete() - Method in interface is.codion.framework.model.EntityEditModel
Note: This method must be called on the UI thread in case a panel has been based on this model.
delete(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
delete(Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
Note: This method must be called on the UI thread in case a panel has been based on this model.
delete(Collection<Entity>, EntityConnection) - Method in class is.codion.framework.model.AbstractEntityEditModel
Deletes the given entities from the database using the given connection
deleted(Collection<Entity>) - Static method in class is.codion.framework.model.EntityEditEvents
Notifies delete
deleteEnabled() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
deleteEnabled() - Method in interface is.codion.framework.model.EntityEditModel
Disabling delete causes an exception being thrown when deleting.
deleteObserver(EntityType) - Static method in class is.codion.framework.model.EntityEditEvents
Returns a delete observer, notified each time entities of the given type are deleted.
deleteSelected() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
deleteSelected() - Method in interface is.codion.framework.model.EntityTableModel
Deletes the selected entities
description() - Method in interface is.codion.framework.model.EntitySearchModel
 
description(String) - Method in interface is.codion.framework.model.EntitySearchModel.Builder
 
detailModel() - Method in class is.codion.framework.model.DefaultDetailModelLink
 
detailModel() - Method in interface is.codion.framework.model.DetailModelLink
 
detailModel(EntityType) - Method in class is.codion.framework.model.DefaultEntityModel
 
detailModel(EntityType) - Method in interface is.codion.framework.model.EntityModel
Returns a detail model of the given type
detailModel(Class<C>) - Method in class is.codion.framework.model.DefaultEntityModel
 
detailModel(Class<C>) - Method in interface is.codion.framework.model.EntityModel
Returns the first detail model of the given type
detailModelLink(M) - Method in class is.codion.framework.model.DefaultEntityModel
 
detailModelLink(M) - Method in interface is.codion.framework.model.EntityModel
 
DetailModelLink<M extends EntityModel<M,E,T>,E extends EntityEditModel,T extends EntityTableModel<E>> - Interface in is.codion.framework.model
Represents a link between a master and detail model.
detailModels() - Method in class is.codion.framework.model.DefaultEntityModel
 
detailModels() - Method in interface is.codion.framework.model.EntityModel
 
DO_NOTHING - Enum constant in enum class is.codion.framework.model.EntityTableModel.OnInsert
This table model does nothing when entities are inserted via the associated edit model

E

editable() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
editable() - Method in interface is.codion.framework.model.EntityTableModel
 
edited() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
 
edited() - Method in interface is.codion.framework.model.EntityEditModel.EditableValue
Returns an observer notified each time this value is edited via Value.set(Object).
editModel() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
editModel() - Method in class is.codion.framework.model.DefaultEntityModel
 
editModel() - Method in interface is.codion.framework.model.EntityModel
 
editModel() - Method in interface is.codion.framework.model.EntityTableModel
 
empty() - Method in interface is.codion.framework.model.EntitySearchModel.Selection
 
enabled() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
entities() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
entities() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
entities() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
entities() - Method in class is.codion.framework.model.DefaultEntityModel
 
entities() - Method in interface is.codion.framework.model.EntityApplicationModel
 
entities() - Method in interface is.codion.framework.model.EntityEditModel
 
entities() - Method in interface is.codion.framework.model.EntityModel
 
entities() - Method in interface is.codion.framework.model.EntitySearchModel.Selection
 
entities() - Method in interface is.codion.framework.model.EntityTableModel
 
entity() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
entity() - Method in interface is.codion.framework.model.EntityEditModel
Returns a EntityEditModel.EditableEntity wrapping the entity being edited.
entity() - Method in interface is.codion.framework.model.EntitySearchModel.Selection
 
EntityApplicationModel<M extends EntityModel<M,E,T>,E extends EntityEditModel,T extends EntityTableModel<E>> - Interface in is.codion.framework.model
A central application model class.
entityConditionModel(EntityType, EntityConnectionProvider) - Static method in interface is.codion.framework.model.EntityConditionModel
Creates a new EntityConditionModel
entityConditionModel(EntityType, EntityConnectionProvider, TableConditionModel.ConditionModelFactory<Attribute<?>>) - Static method in interface is.codion.framework.model.EntityConditionModel
Creates a new EntityConditionModel
EntityConditionModel - Interface in is.codion.framework.model
entityDefinition() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
entityDefinition() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
entityDefinition() - Method in class is.codion.framework.model.DefaultEntityModel
 
entityDefinition() - Method in interface is.codion.framework.model.EntityEditModel
 
entityDefinition() - Method in interface is.codion.framework.model.EntityModel
 
entityDefinition() - Method in interface is.codion.framework.model.EntityTableModel
 
EntityEditEvents - Class in is.codion.framework.model
A central event hub for listening for entity inserts, updates and deletes.
EntityEditModel - Interface in is.codion.framework.model
Specifies a class for editing Entity instances.
EntityEditModel.Delete - Interface in is.codion.framework.model
Represents a task for deleting entities.
EntityEditModel.Delete.Result - Interface in is.codion.framework.model
The delete task result
EntityEditModel.Delete.Task - Interface in is.codion.framework.model
The task performing the delete operation
EntityEditModel.EditableEntity - Interface in is.codion.framework.model
Provides access to the active entity being edited.
EntityEditModel.EditableEntity.Exists - Interface in is.codion.framework.model
Indicates whether the active entity exists in the database.
EntityEditModel.EditableEntity.Modified - Interface in is.codion.framework.model
Indicates whether the active entity is modified.
EntityEditModel.EditableValue<T> - Interface in is.codion.framework.model
Provides access the an Attribute value in the entity being edited.
EntityEditModel.Insert - Interface in is.codion.framework.model
Represents a task for inserting entities, split up for use with a background thread.
EntityEditModel.Insert.Result - Interface in is.codion.framework.model
The insert task result
EntityEditModel.Insert.Task - Interface in is.codion.framework.model
The task performing the insert operation
EntityEditModel.Update - Interface in is.codion.framework.model
Represents a task for updating entities.
EntityEditModel.Update.Result - Interface in is.codion.framework.model
The update task result
EntityEditModel.Update.Task - Interface in is.codion.framework.model
The task performing the update operation
entityModel(EntityType) - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
entityModel(EntityType) - Method in interface is.codion.framework.model.EntityApplicationModel
 
entityModel(Class<C>) - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
entityModel(Class<C>) - Method in interface is.codion.framework.model.EntityApplicationModel
 
EntityModel<M extends EntityModel<M,E,T>,E extends EntityEditModel,T extends EntityTableModel<E>> - Interface in is.codion.framework.model
Specifies a class responsible for, among other things, coordinating a EntityEditModel and an EntityTableModel.
entityModels() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
entityModels() - Method in interface is.codion.framework.model.EntityApplicationModel
 
entityQueryModel(EntityConditionModel) - Static method in interface is.codion.framework.model.EntityQueryModel
 
EntityQueryModel - Interface in is.codion.framework.model
Provides entities fetched from a database.
EntityQueryModel.AdditionalCondition - Interface in is.codion.framework.model
Specifies an additional condition supplier.
EntitySearchModel - Interface in is.codion.framework.model
Searches for entities based on a search text and set of String based condition columns.
EntitySearchModel.Builder - Interface in is.codion.framework.model
A builder for a EntitySearchModel.
EntitySearchModel.Selection - Interface in is.codion.framework.model
Controls the selection
EntitySearchModel.Settings - Interface in is.codion.framework.model
Column search settings
EntityTableModel<E extends EntityEditModel> - Interface in is.codion.framework.model
Specifies a table model containing Entity instances.
EntityTableModel.OnInsert - Enum Class in is.codion.framework.model
Defines the actions a table model can perform when entities are inserted via the associated edit model
entityType() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
entityType() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
entityType() - Method in class is.codion.framework.model.DefaultEntityModel
 
entityType() - Method in interface is.codion.framework.model.EntityConditionModel
 
entityType() - Method in interface is.codion.framework.model.EntityEditModel
 
entityType() - Method in interface is.codion.framework.model.EntityModel
 
entityType() - Method in interface is.codion.framework.model.EntityQueryModel
 
entityType() - Method in interface is.codion.framework.model.EntitySearchModel
 
entityType() - Method in interface is.codion.framework.model.EntityTableModel
 
equalSearchModel() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
exists() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
 

F

filterModel() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
foreignKey() - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
foreignKey() - Method in interface is.codion.framework.model.ForeignKeyDetailModelLink
 
ForeignKeyConditionModel - Class in is.codion.framework.model
A default foreign key condition model using EntitySearchModel for both the Operator.EQUAL and Operator.IN operands.
ForeignKeyConditionModel.Builder - Interface in is.codion.framework.model
A builder for a ForeignKeyConditionModel
ForeignKeyDetailModelLink<M extends EntityModel<M,E,T>,E extends EntityEditModel,T extends EntityTableModel<E>> - Interface in is.codion.framework.model
Represents a link between a master and detail model based on a foreign key.
foreignKeySearchModel(ForeignKey) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
foreignKeySearchModel(ForeignKey) - Method in interface is.codion.framework.model.EntityEditModel
 
format() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 

G

get() - Method in interface is.codion.framework.model.EntityQueryModel
Performs a query and returns the result.

H

handle() - Method in interface is.codion.framework.model.EntityEditModel.Delete.Result
Notifies listeners that a delete has been performed.
handle() - Method in interface is.codion.framework.model.EntityEditModel.Insert.Result
Notifies listeners that an insert has been performed.
handle() - Method in interface is.codion.framework.model.EntityEditModel.Update.Result
Notifies listeners that an update has been performed.
HANDLE_EDIT_EVENTS - Static variable in interface is.codion.framework.model.EntityTableModel
Specifies whether table models handle entity edit events, by replacing updated entities Value type: Boolean Default value: true
handleEditEvents() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
handleEditEvents() - Method in interface is.codion.framework.model.EntityTableModel
 
having() - Method in interface is.codion.framework.model.EntityQueryModel
Controls the additional HAVING condition, which can be used in conjunction with EntityQueryModel.conditions().
having(Conjunction) - Method in interface is.codion.framework.model.EntityConditionModel
Returns a HAVING condition based on enabled condition models which are based on aggregate function columns.

I

includeEqualOperators(EntitySearchModel) - Method in interface is.codion.framework.model.ForeignKeyConditionModel.Builder
 
includeInOperators(EntitySearchModel) - Method in interface is.codion.framework.model.ForeignKeyConditionModel.Builder
 
inSearchModel() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
insert() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
insert() - Method in interface is.codion.framework.model.EntityEditModel
Note: This method must be called on the UI thread in case a panel has been based on this model.
insert(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
insert(Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
Note: This method must be called on the UI thread in case a panel has been based on this model.
insert(Collection<Entity>, EntityConnection) - Method in class is.codion.framework.model.AbstractEntityEditModel
Inserts the given entities into the database using the given connection
inserted(Collection<Entity>) - Static method in class is.codion.framework.model.EntityEditEvents
Notifies insert
insertEnabled() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
insertEnabled() - Method in interface is.codion.framework.model.EntityEditModel
Disabling insert causes an exception being thrown when inserting.
insertObserver(EntityType) - Static method in class is.codion.framework.model.EntityEditEvents
Returns an insert observer, notified each time entities of the given type are inserted.
is.codion.framework.model - module is.codion.framework.model
is.codion.framework.model - package is.codion.framework.model
isNotNull(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
 
isNull(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
 
items() - Method in class is.codion.framework.model.AbstractEntityTableModel
 

L

limit() - Method in interface is.codion.framework.model.EntityQueryModel
Returns the Value controlling the maximum number of rows to fetch, a null value means all rows should be fetched
limit() - Method in interface is.codion.framework.model.EntitySearchModel
 
limit(int) - Method in interface is.codion.framework.model.EntitySearchModel.Builder
 
linkedDetailModels() - Method in class is.codion.framework.model.DefaultEntityModel
 
linkedDetailModels() - Method in interface is.codion.framework.model.EntityModel
 
locked() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 

M

modified() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Returns a StateObserver indicating whether any values have been modified.
modified() - Method in interface is.codion.framework.model.EntityEditModel.EditableValue
Returns a StateObserver instance indicating whether the value of the given attribute has been modified.

N

notifyAfterDelete(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
Notifies that delete has been performed
notifyAfterInsert(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
Notifies that insert has been performed
notifyAfterUpdate(Map<Entity.Key, Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
Notifies that update has been performed
notifyBeforeDelete(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
Notifies that delete is about to be performed
notifyBeforeInsert(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
Notifies that insert is about to be performed
notifyBeforeUpdate(Map<Entity.Key, Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
Notifies that update is about to be performed
nullable(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
 

O

ON_INSERT - Static variable in interface is.codion.framework.model.EntityTableModel
Specifies the default action a table model takes when entities are inserted via its edit model.
onDelete(Collection<Entity>) - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
onDelete(Collection<Entity>) - Method in interface is.codion.framework.model.DetailModelLink
Called when delete is performed in the master model, regardless of entity type.
onInsert() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
onInsert() - Method in interface is.codion.framework.model.EntityTableModel
 
onInsert(Collection<Entity>) - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
onInsert(Collection<Entity>) - Method in interface is.codion.framework.model.DetailModelLink
Called when a insert is performed in the master model, regardless of entity type.
onRowsUpdated(int, int) - Method in class is.codion.framework.model.AbstractEntityTableModel
Notifies all listeners that the given rows have changed
onSelection(Collection<Entity>) - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
onSelection(Collection<Entity>) - Method in interface is.codion.framework.model.DetailModelLink
Called when the selection changes in the master model
onUpdate(Map<Entity.Key, Entity>) - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
onUpdate(Map<Entity.Key, Entity>) - Method in interface is.codion.framework.model.DetailModelLink
Called when an update is performed in the master model, regardless of entity type.
operands() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
operator() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
operators() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
orderBy() - Method in interface is.codion.framework.model.EntityQueryModel
Controls the order by clause to use when selecting the data for this model.

P

perform() - Method in interface is.codion.framework.model.EntityEditModel.Delete.Task
May be called in a background thread.
perform() - Method in interface is.codion.framework.model.EntityEditModel.Insert.Task
May be called in a background thread.
perform() - Method in interface is.codion.framework.model.EntityEditModel.Update.Task
May be called in a background thread.
persist() - Method in interface is.codion.framework.model.EntityEditModel.EditableValue
Returns a State controlling whether the last used value for this attribute should persist when defaults are set.
PERSIST_FOREIGN_KEYS - Static variable in interface is.codion.framework.model.EntityEditModel
Specifies whether foreign key values should persist by default when defaults are set Value type: Boolean Default value: true
POST_EDIT_EVENTS - Static variable in interface is.codion.framework.model.EntityEditModel
Specifies whether edit models post their insert, update and delete events to EntityEditEvents Value type: Boolean Default value: true
postEditEvents() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
postEditEvents() - Method in interface is.codion.framework.model.EntityEditModel
 
predicate() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity.Exists
Controls the 'exists' predicate for this EntityEditModel.EditableEntity.Exists instance, which is responsible for providing the exists state of the underlying entity.
predicate() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity.Modified
Controls the 'modified' predicate for this EntityEditModel.EditableEntity.Modified instance, which is responsible for providing the modified state of the underlying entity.
prepare() - Method in interface is.codion.framework.model.EntityEditModel.Delete
Notifies listeners that a delete is about to be performed.
prepare() - Method in interface is.codion.framework.model.EntityEditModel.Insert
Notifies listeners that an insert is about to be performed.
prepare() - Method in interface is.codion.framework.model.EntityEditModel.Update
Notifies listeners that an update is about to be performed.
primaryKeyNull() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
 

Q

query() - Method in interface is.codion.framework.model.EntityQueryModel
A Value controlling the override query.
queryModel() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
queryModel() - Method in interface is.codion.framework.model.EntityTableModel
 

R

readOnly() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
readOnly() - Method in interface is.codion.framework.model.EntityEditModel
Making this edit model read-only prevents any changes from being persisted to the database, trying to insert, update or delete will cause an exception being thrown, it does not prevent editing.
refresh() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
refresh() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
refresh() - Method in interface is.codion.framework.model.EntityApplicationModel
Refreshes all data models contained in this application model
refresh() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Refreshes the active Entity from the database, discarding all changes.
refresh(Collection<Entity.Key>) - Method in class is.codion.framework.model.AbstractEntityTableModel
 
refresh(Collection<Entity.Key>) - Method in interface is.codion.framework.model.EntityTableModel
Refreshes the entities with the given keys by re-selecting them from the underlying database.
refresh(Consumer<Collection<Entity>>) - Method in class is.codion.framework.model.AbstractEntityTableModel
 
REFRESH_ON_SELECTION - Static variable in interface is.codion.framework.model.ForeignKeyDetailModelLink
Specifies whether a detail model should be automatically refreshed when the selection in the master model changes.
refresher() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
refreshOnSelection() - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
refreshOnSelection() - Method in interface is.codion.framework.model.ForeignKeyDetailModelLink
 
remove(ForeignKey, Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
Removes the given entities from all foreign key models based on that entity type and clears any foreign key values referencing them.
removeDeleted() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
removeDeleted() - Method in interface is.codion.framework.model.EntityTableModel
 
replace(ForeignKey, Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
replace(ForeignKey, Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityTableModel
 
replace(ForeignKey, Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
For every field referencing the given foreign key values, replaces that foreign key instance with the corresponding entity from entities, useful when attribute values have been changed in the referenced entity that must be reflected in the edit model.
replace(ForeignKey, Collection<Entity>) - Method in interface is.codion.framework.model.EntityTableModel
For every entity in this table model, replaces the foreign key instance bearing the primary key with the corresponding entity from foreignKeyValues, useful when attribute values have been changed in the referenced entity that must be reflected in the table model.
replace(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityTableModel
 
replace(Collection<Entity>) - Method in interface is.codion.framework.model.EntityTableModel
Replaces the given entities in this table model
replaceForeignKey(ForeignKey, Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
For every field referencing the given foreign key values, replaces that foreign key instance with the corresponding entity from values, useful when attribute values have been changed in the referenced entity that must be reflected in the edit model.
reset() - Method in interface is.codion.framework.model.EntitySearchModel
Resets the search string so that is represents the selected entities
resetConditionChanged() - Method in interface is.codion.framework.model.EntityQueryModel
Resets the EntityQueryModel.conditionChanged() state, using the current condition.
revert() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Reverts all attribute value changes.
revert() - Method in interface is.codion.framework.model.EntityEditModel.EditableValue
Reverts to the original value if modified

S

SAVE_DEFAULT_USERNAME - Static variable in interface is.codion.framework.model.EntityApplicationModel
Specifies whether the client saves the last successful login username, which is then displayed as the default username the next time the application is started Value type: Boolean Default value: true
search() - Method in interface is.codion.framework.model.EntitySearchModel
Performs a query based on the current search configuration and returns the result.
searchString() - Method in interface is.codion.framework.model.EntitySearchModel
 
searchStringModified() - Method in interface is.codion.framework.model.EntitySearchModel
 
select(Collection<Entity.Key>) - Method in class is.codion.framework.model.AbstractEntityTableModel
 
select(Collection<Entity.Key>) - Method in interface is.codion.framework.model.EntityTableModel
Selects entities according to the primary keys in primaryKeys
selection() - Method in interface is.codion.framework.model.EntitySearchModel
 
selection() - Method in interface is.codion.framework.model.EntityTableModel
 
separator() - Method in interface is.codion.framework.model.EntitySearchModel
 
separator(String) - Method in interface is.codion.framework.model.EntitySearchModel.Builder
Default ','
set(Entity) - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Sets the given entity or defaults if null.
SET_FOREIGN_KEY_CONDITION_ON_INSERT - Static variable in interface is.codion.framework.model.ForeignKeyDetailModelLink
Specifies whether a detail model should automatically search by the entity inserted by the master model.
SET_FOREIGN_KEY_VALUE_ON_INSERT - Static variable in interface is.codion.framework.model.ForeignKeyDetailModelLink
Specifies whether a detail model should automatically set the foreign key value to the entity inserted by the master model.
setEqualOperand(Attribute<T>, T) - Method in interface is.codion.framework.model.EntityConditionModel
Sets the EQUAL condition operand of the condition model associated with attribute.
setForeignKeyConditionOnInsert() - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
setForeignKeyConditionOnInsert() - Method in interface is.codion.framework.model.ForeignKeyDetailModelLink
 
setForeignKeyValueOnInsert() - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
setForeignKeyValueOnInsert() - Method in interface is.codion.framework.model.ForeignKeyDetailModelLink
 
setInOperands(Attribute<T>, Collection<T>) - Method in interface is.codion.framework.model.EntityConditionModel
Sets the IN condition operands of the condition model associated with attribute.
settings() - Method in interface is.codion.framework.model.EntitySearchModel
 
singleSelection() - Method in interface is.codion.framework.model.EntitySearchModel
 
singleSelection(boolean) - Method in interface is.codion.framework.model.EntitySearchModel.Builder
Default false
spaceAsWildcard() - Method in interface is.codion.framework.model.EntitySearchModel.Settings
 
stringFunction() - Method in interface is.codion.framework.model.EntitySearchModel
Note that changing this value does not change the search string accordingly.
stringFunction(Function<Entity, String>) - Method in interface is.codion.framework.model.EntitySearchModel.Builder
Override the default toString() for search elements when displayed in a field based on this model

T

tableModel() - Method in class is.codion.framework.model.DefaultEntityModel
 
tableModel() - Method in interface is.codion.framework.model.EntityModel
 
toString() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
toString() - Method in class is.codion.framework.model.AbstractEntityTableModel
 
toString() - Method in class is.codion.framework.model.DefaultEntityModel
 

U

update() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
update() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity.Modified
Updates the modified state
update() - Method in interface is.codion.framework.model.EntityEditModel
Note: This method must be called on the UI thread in case a panel has been based on this model.
update(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
update(Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
Note: This method must be called on the UI thread in case a panel has been based on this model.
update(Collection<Entity>, EntityConnection) - Method in class is.codion.framework.model.AbstractEntityEditModel
Updates the given entities in the database using the given connection
updated(Map<Entity.Key, Entity>) - Static method in class is.codion.framework.model.EntityEditEvents
Notifies update
updateEnabled() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
updateEnabled() - Method in interface is.codion.framework.model.EntityEditModel
Disabling update causes an exception being thrown when updating.
updateMultipleEnabled() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
updateMultipleEnabled() - Method in interface is.codion.framework.model.EntityEditModel
Disabling updating multiple entities causes an exception being thrown when trying to update multiple entities at a time.
updateObserver(EntityType) - Static method in class is.codion.framework.model.EntityEditEvents
Returns an update observer, notified each time entities of the given type are updated.
user() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
user() - Method in interface is.codion.framework.model.EntityApplicationModel
 
USERNAME_PREFIX - Static variable in interface is.codion.framework.model.EntityApplicationModel
Specifies a string to prepend to the username field in the login dialog Value type: String Default value: [empty string]

V

valid() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
 
valid() - Method in interface is.codion.framework.model.EntityEditModel.EditableValue
 
validate() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Validates the current state of the entity
validate(Attribute<?>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
validate(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel
Validates the value associated with the given attribute, using the underlying validator.
validate(Entity) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
validate(Entity) - Method in interface is.codion.framework.model.EntityEditModel
Validates the given entity, using the underlying validator.
validate(Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
validate(Collection<Entity>) - Method in interface is.codion.framework.model.EntityEditModel
Validates the given entities, using the underlying validator.
validator() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Controls the validator used by this edit model.
value(Attribute<T>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
value(Attribute<T>) - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Returns the EntityEditModel.EditableValue instance representing attribute in this EntityEditModel.EditableEntity.
value(Attribute<T>) - Method in interface is.codion.framework.model.EntityEditModel
Returns the EntityEditModel.EditableValue instance representing attribute in this edit model.
valueChanged() - Method in interface is.codion.framework.model.EntityEditModel.EditableEntity
Returns an observer notified each time a value changes, either via its associated EntityEditModel.EditableValue instance or when the entity is set via Mutable.set(Object) or EntityEditModel.EditableEntity.defaults().
valueClass() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
valueOf(String) - Static method in enum class is.codion.framework.model.EntityTableModel.OnInsert
Returns the enum constant of this class with the specified name.
values() - Static method in enum class is.codion.framework.model.EntityTableModel.OnInsert
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
 
version() - Method in interface is.codion.framework.model.EntityApplicationModel
 

W

where() - Method in interface is.codion.framework.model.EntityQueryModel
Controls the additional WHERE condition, which can be used in conjunction with EntityQueryModel.conditions().
where(Conjunction) - Method in interface is.codion.framework.model.EntityConditionModel
Returns a WHERE condition based on enabled condition models which are based on non-aggregate function columns.
wildcard() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
wildcardPostfix() - Method in interface is.codion.framework.model.EntitySearchModel.Settings
 
wildcardPrefix() - Method in interface is.codion.framework.model.EntitySearchModel.Settings
 
A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages