Index

A B C D E F G H I L M N O P 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.
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
addDeleteListener(EntityType, Consumer<Collection<Entity>>) - Static method in class is.codion.framework.model.EntityEditEvents
Adds a delete listener, notified each time entities of the given type are deleted.
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 EntityTableModel.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 EntityTableModel.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 EntityTableModel.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 EntityTableModel.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.
addInsertListener(EntityType, Consumer<Collection<Entity>>) - Static method in class is.codion.framework.model.EntityEditEvents
Adds an insert listener, notified each time entities of the given type are inserted.
additionalHaving() - Method in interface is.codion.framework.model.EntityTableConditionModel
Controls the additional having condition.
additionalWhere() - Method in interface is.codion.framework.model.EntityTableConditionModel
Controls the additional where condition.
addUpdateListener(EntityType, Consumer<Map<Entity.Key, Entity>>) - Static method in class is.codion.framework.model.EntityEditEvents
Adds an update listener, notified each time entities of the given type are updated.
afterDeleteEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
afterDeleteEvent() - Method in interface is.codion.framework.model.EntityEditModel
 
afterInsertEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
afterInsertEvent() - Method in interface is.codion.framework.model.EntityEditModel
 
afterUpdateEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
afterUpdateEvent() - Method in interface is.codion.framework.model.EntityEditModel
 
attributeModel(Attribute<T>) - Method in interface is.codion.framework.model.EntityTableConditionModel
Returns the ColumnConditionModel associated with the given attribute.
attributes() - Method in interface is.codion.framework.model.EntityTableModel
Returns the ValueSet controlling which attributes are included when selecting entities to populate this model.
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
 
automaticWildcard() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 

B

backgroundColor(int, Attribute<?>) - Method in interface is.codion.framework.model.EntityTableModel
 
beforeDeleteEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
beforeDeleteEvent() - Method in interface is.codion.framework.model.EntityEditModel
 
beforeEntityEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
beforeEntityEvent() - Method in interface is.codion.framework.model.EntityEditModel
 
beforeInsertEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
beforeInsertEvent() - Method in interface is.codion.framework.model.EntityEditModel
 
beforeUpdateEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
beforeUpdateEvent() - 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(ForeignKey) - 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
 
clear() - Method in interface is.codion.framework.model.EntityTableModel
Clears all items from this table model
clear() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
CLEAR_FOREIGN_KEY_ON_EMPTY_SELECTION - Static variable in interface is.codion.framework.model.ForeignKeyDetailModelLink
Specifies whether a detail model sets the master foreign key to null when null or no value is selected in a master model
Value type: Boolean
Default value: false
clearForeignKeyOnEmptySelection() - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
clearForeignKeyOnEmptySelection() - 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.
columnClass() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
columnIdentifier() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
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.EntityTableModel
 
conditionChangedEvent() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
conditionModel() - Method in interface is.codion.framework.model.EntityTableModel
 
conditionRequired() - Method in interface is.codion.framework.model.EntityTableModel
Returns a State controlling whether this table model should display all underlying entities when no query condition has been set.
connection() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
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.DefaultEntityApplicationModel
 
connectionProvider() - Method in class is.codion.framework.model.DefaultEntityModel
 
connectionProvider() - Method in interface is.codion.framework.model.EntityApplicationModel
 
connectionProvider() - Method in class is.codion.framework.model.EntityConditionModelFactory
 
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.EntitySearchModel
 
connectionProvider() - Method in interface is.codion.framework.model.EntityTableConditionModel
 
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
 
createConditionModel(Attribute<?>) - Method in class is.codion.framework.model.EntityConditionModelFactory
 
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.EntityConditionModelFactory
 
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.EntityConditionModelFactory
 
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
 
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 class is.codion.framework.model.AbstractEntityEditModel
 
defaults() - Method in interface is.codion.framework.model.EntityEditModel
Populates this edit model with default values for all attributes.
defaultValue(Attribute<T>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
defaultValue(Attribute<T>) - Method in interface is.codion.framework.model.EntityEditModel
Returns the Value instance controlling the default value supplier for the given attribute.
definition(EntityType) - Method in class is.codion.framework.model.EntityConditionModelFactory
 
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.
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 interface is.codion.framework.model.EntityTableModel
 
editEvent(Attribute<T>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
editEvent(Attribute<T>) - Method in interface is.codion.framework.model.EntityEditModel
Returns an observer notified each time the value associated with the given attribute is edited via EntityEditModel.put(Attribute, Object) or EntityEditModel.remove(Attribute), note that this event is only fired if the value actually changes.
editing() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
editing() - Method in interface is.codion.framework.model.EntityEditModel
 
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
 
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.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
 
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
 
entity() - Method in interface is.codion.framework.model.EntitySearchModel
 
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.
EntityConditionModelFactory - Class in is.codion.framework.model
A default ColumnConditionModel.Factory implementation for creating condition models.
EntityConditionModelFactory(EntityConnectionProvider) - Constructor for class is.codion.framework.model.EntityConditionModelFactory
Instantiates a new EntityConditionModelFactory.
entityDefinition() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
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.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
entityEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
entityEvent() - Method in interface is.codion.framework.model.EntityEditModel
 
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
 
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.Settings - Interface in is.codion.framework.model
Column search settings
entityTableConditionModel(EntityType, EntityConnectionProvider) - Static method in interface is.codion.framework.model.EntityTableConditionModel
entityTableConditionModel(EntityType, EntityConnectionProvider, ColumnConditionModel.Factory<Attribute<?>>) - Static method in interface is.codion.framework.model.EntityTableConditionModel
EntityTableConditionModel - Interface in is.codion.framework.model
This interface defines filtering functionality, which refers to showing/hiding entities already available in a table model and searching functionality, which refers to configuring the underlying query, which then needs to be re-run.
Factory for EntityTableConditionModel instances via EntityTableConditionModel.entityTableConditionModel(EntityType, EntityConnectionProvider, ColumnConditionModel.Factory)
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.DefaultEntityModel
 
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.EntitySearchModel
 
entityType() - Method in interface is.codion.framework.model.EntityTableConditionModel
 
entityType() - Method in interface is.codion.framework.model.EntityTableModel
 
equalSearchModel() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
equalValue() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
exists() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
exists() - Method in interface is.codion.framework.model.EntityEditModel
 
existsPredicate() - Method in class is.codion.framework.model.AbstractEntityEditModel
Controls the 'exists' predicate for this edit model, which is responsible for providing the exists state of the underlying entity.

F

find(Entity.Key) - Method in interface is.codion.framework.model.EntityTableModel
Finds the entity in this table model having the given primary key
find(Collection<Entity.Key>) - Method in interface is.codion.framework.model.EntityTableModel
Finds entities in this table model according to the values in keys
foregroundColor(int, Attribute<?>) - Method in interface is.codion.framework.model.EntityTableModel
 
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 ForeignKeyConditionModel.equalValue() and ForeignKeyConditionModel.inValues().
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(Attribute<T>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
get(Attribute<T>) - Method in interface is.codion.framework.model.EntityEditModel
Returns the value associated with the given attribute
getEqualValue() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
getInValues() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
getLowerBound() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
getRowCount() - Method in interface is.codion.framework.model.EntityTableModel
 
getUpperBound() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 

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 interface is.codion.framework.model.EntityTableModel
 
having(Conjunction) - Method in interface is.codion.framework.model.EntityTableConditionModel
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
 
indexOf(Entity.Key) - Method in interface is.codion.framework.model.EntityTableModel
 
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.
insertUpdateOrDeleteEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
insertUpdateOrDeleteEvent() - Method in interface is.codion.framework.model.EntityEditModel
 
inValues() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
is.codion.framework.model - module is.codion.framework.model
is.codion.framework.model - package is.codion.framework.model
isNotNull(Attribute<?>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
isNotNull(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel
 
isNull(Attribute<?>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
isNull(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel
 

L

limit() - Method in interface is.codion.framework.model.EntitySearchModel
 
limit() - Method in interface is.codion.framework.model.EntityTableModel
Returns the Value controlling the maximum number of rows to fetch via the underlying query the next time this table model is refreshed, a null value means all rows should be fetched
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
 
lowerBoundValue() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 

M

modified() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
modified() - Method in interface is.codion.framework.model.EntityEditModel
Returns a StateObserver indicating when and if any values in the underlying Entity have been modified.
modified(Attribute<?>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
modified(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel
Returns a StateObserver instance indicating whether the value of the given attribute has been modified.
modifiedPredicate() - Method in class is.codion.framework.model.AbstractEntityEditModel
Controls the 'modified' predicate for this edit model, which is responsible for providing the modified state of the underlying entity.

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 class is.codion.framework.model.AbstractEntityEditModel
 
nullable(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel
 

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 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.
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.
operator() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
operators() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
optional(Attribute<T>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
optional(Attribute<T>) - Method in interface is.codion.framework.model.EntityEditModel
Returns the value associated with the given attribute
orderBy() - Method in interface is.codion.framework.model.EntityTableModel
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(Attribute<?>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
persist(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel
Returns a State controlling whether the last used value for this attribute should persist when the model is cleared.
PERSIST_FOREIGN_KEYS - Static variable in interface is.codion.framework.model.EntityEditModel
Specifies whether writable foreign key values should persist when the model is cleared or set to null
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
 
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 class is.codion.framework.model.AbstractEntityEditModel
 
primaryKeyNull() - Method in interface is.codion.framework.model.EntityEditModel
 
put(Attribute<T>, T) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
put(Attribute<T>, T) - Method in interface is.codion.framework.model.EntityEditModel
Sets the given value in the underlying Entity

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.AbstractEntityEditModel
 
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
Refreshes the active Entity from the database, discarding all changes.
refresh() - Method in interface is.codion.framework.model.EntityTableModel
Refreshes the items in this table model, according to the underlying condition
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_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.
refreshOnSelection() - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
refreshOnSelection() - Method in interface is.codion.framework.model.ForeignKeyDetailModelLink
 
remove(Attribute<T>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
remove(Attribute<T>) - Method in interface is.codion.framework.model.EntityEditModel
Removes the given value from the underlying Entity
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 interface is.codion.framework.model.EntityTableModel
 
removeDeleteListener(EntityType, Consumer<Collection<Entity>>) - Static method in class is.codion.framework.model.EntityEditEvents
Removes the given listener
removeInsertListener(EntityType, Consumer<Collection<Entity>>) - Static method in class is.codion.framework.model.EntityEditEvents
Removes the given listener
removeUpdateListener(EntityType, Consumer<Map<Entity.Key, Entity>>) - Static method in class is.codion.framework.model.EntityEditEvents
Removes the given listener
replace(ForeignKey, Collection<Entity>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
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 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
revert() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
revert() - Method in interface is.codion.framework.model.EntityEditModel
Reverts all attribute value changes.
revert(Attribute<T>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
revert(Attribute<T>) - Method in interface is.codion.framework.model.EntityEditModel
 

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.
SEARCH_BY_INSERTED_ENTITY - 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.
searchByInsertedEntity() - Method in class is.codion.framework.model.DefaultForeignKeyDetailModelLink
 
searchByInsertedEntity() - Method in interface is.codion.framework.model.ForeignKeyDetailModelLink
 
searchString() - Method in interface is.codion.framework.model.EntitySearchModel
 
searchStringModified() - Method in interface is.codion.framework.model.EntitySearchModel
 
select(Collection<Entity.Key>) - Method in interface is.codion.framework.model.EntityTableModel
Selects entities according to the primary keys in primaryKeys
selectionEmpty() - Method in interface is.codion.framework.model.EntitySearchModel
 
selectionEvent() - Method in interface is.codion.framework.model.EntityTableModel
 
selectionModel() - 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 class is.codion.framework.model.AbstractEntityEditModel
 
set(Entity) - Method in interface is.codion.framework.model.EntityEditModel
Copies the values from the given Entity into the underlying Entity being edited by this edit model.
setEqualConditionValue(Attribute<T>, T) - Method in interface is.codion.framework.model.EntityTableConditionModel
Sets the EQUAL condition value of the condition model associated with attribute.
setEqualValue(Entity) - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
setInConditionValues(Attribute<T>, Collection<T>) - Method in interface is.codion.framework.model.EntityTableConditionModel
Sets the IN condition values of the condition model associated with attribute.
setInValues(Collection<Entity>) - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
setLowerBound(Entity) - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
settings() - Method in interface is.codion.framework.model.EntitySearchModel
 
setUpperBound(Entity) - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
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.DefaultEntityModel
 

U

update() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
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.
updateModifiedState() - Method in class is.codion.framework.model.AbstractEntityEditModel
Updates the modified state.
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.
upperBoundValue() - Method in class is.codion.framework.model.ForeignKeyConditionModel
 
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 class is.codion.framework.model.AbstractEntityEditModel
 
valid() - Method in interface is.codion.framework.model.EntityEditModel
 
valid(Attribute<?>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
valid(Attribute<?>) - Method in interface is.codion.framework.model.EntityEditModel
 
validate() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
validate() - Method in interface is.codion.framework.model.EntityEditModel
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 class is.codion.framework.model.AbstractEntityEditModel
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
Returns a Value based on attribute in this edit model, note that subsequent calls for the same attribute return the same value instance.
valueEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
 
valueEvent() - Method in interface is.codion.framework.model.EntityEditModel
 
valueEvent(Attribute<T>) - Method in class is.codion.framework.model.AbstractEntityEditModel
 
valueEvent(Attribute<T>) - Method in interface is.codion.framework.model.EntityEditModel
Returns an observer notified each time the value associated with the given attribute changes, either via editing or when the active entity is set.
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(Conjunction) - Method in interface is.codion.framework.model.EntityTableConditionModel
Returns a WHERE condition based on enabled condition models which are based on non-aggregate function columns.
wildcard() - Method in interface is.codion.framework.model.EntitySearchModel
 
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 R S T U V W 
All Classes and Interfaces|All Packages