Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractEntityEditModel - Class in is.codion.framework.model
-
A default
EntityEditModelimplementation - AbstractEntityEditModel(EntityType, EntityConnectionProvider) - Constructor for class is.codion.framework.model.AbstractEntityEditModel
-
Instantiates a new
AbstractEntityEditModelbased on the given entity type. - AbstractForeignKeyConditionModel - Class in is.codion.framework.model
-
An abstract base class for
ForeignKeybasedColumnConditionModels. - AbstractForeignKeyConditionModel(ForeignKey) - Constructor for class is.codion.framework.model.AbstractForeignKeyConditionModel
- accepts(Comparable<Entity>) - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- 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.
- activeDetailModels() - Method in class is.codion.framework.model.DefaultEntityModel
- activeDetailModels() - Method in interface is.codion.framework.model.EntityModel
- 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
- apply(EntityTableModel<?>, Collection<Attribute<?>>, String, BiConsumer<Attribute<?>, Integer>) - Static method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
-
Applies the given column preferences to the given table model
- apply(EntityTableModel<?>, List<Attribute<?>>, String) - Static method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
-
Applies the given condition preferences to the given table model
- attribute() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
- attribute() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
- attributeModel(A) - Method in interface is.codion.framework.model.EntityTableConditionModel
-
Returns the
ColumnConditionModelassociated 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 - AUTO_ENABLE_KEY - Static variable in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
-
The key for the 'autoEnable' property
- autoEnable() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- autoEnable() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
- AUTOMATIC_WILDCARD_KEY - Static variable in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
-
The key for the 'automaticWildcard' property
- automaticWildcard() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- automaticWildcard() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
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
- 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
- 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
- CASE_SENSITIVE_KEY - Static variable in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
-
The key for the 'caseSensitive' property
- caseSensitive() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- caseSensitive() - Method in interface is.codion.framework.model.EntitySearchModel.Settings
- caseSensitive() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
- clear() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- clear() - Method in interface is.codion.framework.model.EntityTableModel
-
Clears all items from this table model
- 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.AbstractForeignKeyConditionModel
- columnIdentifier() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- columnPreferences(Attribute<?>, int, int) - Static method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
-
Creates a new
EntityTableModel.ColumnPreferencesinstance. - columns() - Method in interface is.codion.framework.model.EntitySearchModel
- columns(Collection<Column<String>>) - Method in interface is.codion.framework.model.EntitySearchModel.Builder
- COLUMNS_KEY - Static variable in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
-
The key identifying column preferences
- 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.AbstractForeignKeyConditionModel
- conditionModel() - Method in interface is.codion.framework.model.EntityTableModel
- conditionPreferences(Attribute<?>, boolean, boolean, ColumnConditionModel.AutomaticWildcard) - Static method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
-
Creates a new
EntityTableModel.ColumnPreferences.ConditionPreferencesinstance. - 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.
- CONDITIONS_KEY - Static variable in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
-
The key identifying condition preferences
- confirmOverwriteEvent() - Method in class is.codion.framework.model.AbstractEntityEditModel
- confirmOverwriteEvent() - Method in interface is.codion.framework.model.EntityEditModel
- 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.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
- containsUnsavedData() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
- containsUnsavedData() - Method in interface is.codion.framework.model.EntityApplicationModel
- 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.Deleteinstance 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.Deleteinstance for deleting the given entities. - createForeignKeySearchModel(ForeignKey) - Method in class is.codion.framework.model.AbstractEntityEditModel
- createForeignKeySearchModel(ForeignKey) - Method in interface is.codion.framework.model.EntityEditModel
-
Creates a
EntitySearchModelfor looking up entities referenced by the given foreign key, using the search attributes defined for that entity type. - createInsert() - Method in class is.codion.framework.model.AbstractEntityEditModel
- createInsert() - Method in interface is.codion.framework.model.EntityEditModel
-
Creates a new
EntityEditModel.Insertinstance 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.Insertinstance 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.Updateinstance 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.Updateinstance for updating the given entities.
D
- dateTimePattern() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- 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
DetailModelLinkimplementation 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
ForeignKeyDetailModelLinkimplementation. - 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
Valueinstance 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
- 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
- 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 - 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)orEntityEditModel.remove(Attribute), note that this event is only fired if the value actually changes. - editEvents() - Method in class is.codion.framework.model.AbstractEntityEditModel
- editEvents() - Method in interface is.codion.framework.model.EntityEditModel
- editEvents() - Method in interface is.codion.framework.model.EntityTableModel
- 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.AbstractForeignKeyConditionModel
- 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.Factoryimplementation 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
Entityinstances. - 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
EntityEditModeland anEntityTableModel. - entityModels() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
- entityModels() - Method in interface is.codion.framework.model.EntityApplicationModel
- entitySearchConditionModel(ForeignKey, EntitySearchModel) - Static method in class is.codion.framework.model.EntitySearchConditionModel
-
Instantiates a new
EntitySearchConditionModelinstance. - EntitySearchConditionModel - Class in is.codion.framework.model
-
A
ColumnConditionModelimplementation based on aEntitySearchModel. - 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
-
Creates a new
EntityTableConditionModel - entityTableConditionModel(EntityType, EntityConnectionProvider, ColumnConditionModel.Factory<Attribute<?>>) - Static method in interface is.codion.framework.model.EntityTableConditionModel
-
Creates a new
EntityTableConditionModel - EntityTableConditionModel<C extends is.codion.framework.domain.entity.attribute.Attribute<?>> - 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 forEntityTableConditionModelinstances viaEntityTableConditionModel.entityTableConditionModel(EntityType, EntityConnectionProvider, ColumnConditionModel.Factory) - EntityTableModel<E extends EntityEditModel> - Interface in is.codion.framework.model
-
Specifies a table model containing
Entityinstances. - EntityTableModel.ColumnPreferences - Interface in is.codion.framework.model
-
Represents preferences for an Attribute based table column.
- EntityTableModel.ColumnPreferences.ConditionPreferences - Interface in is.codion.framework.model
-
Represents preferences for a
ColumnConditionModel - 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
- equalValues() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- 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
- 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.AbstractForeignKeyConditionModel
- fromString(Collection<Attribute<?>>, String) - Static method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
- fromString(Collection<Attribute<?>>, String) - Static method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
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.AbstractForeignKeyConditionModel
- getEqualValues() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- getLowerBound() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- getRowCount() - Method in interface is.codion.framework.model.EntityTableModel
- getUpperBound() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
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.
- 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
- index() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
- INDEX_KEY - Static variable in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
-
The key for the 'index' property
- indexOf(Entity.Key) - Method in interface is.codion.framework.model.EntityTableModel
- 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
- 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
- is.codion.framework.model - module is.codion.framework.model
-
Framework application model classes, such as:
EntityModel
EntityEditModel
EntityTableModel
EntityTableConditionModel
EntityApplicationModel - is.codion.framework.model - package is.codion.framework.model
-
Package configuration values:
EntityApplicationModel.USERNAME_PREFIX
EntityApplicationModel.AUTHENTICATION_REQUIRED
EntityApplicationModel.SAVE_DEFAULT_USERNAME
EntityEditModel.PERSIST_FOREIGN_KEYS
EntityEditModel.WARN_ABOUT_UNSAVED_DATA
EntityEditModel.EDIT_EVENTS
EntityTableModel.QUERY_HIDDEN_COLUMNS
EntityTableModel.ORDER_QUERY_BY_SORT_ORDER
EntityTableModel.ON_INSERT
EntityModel.USE_CLIENT_PREFERENCESSEARCH_BY_INSERTED_ENTITY
REFRESH_ON_SELECTION
CLEAR_FOREIGN_KEY_ON_EMPTY_SELECTION
EntitySearchModel.DEFAULT_LIMIT - 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
- locked() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- lowerBoundValue() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
M
- modified() - Method in class is.codion.framework.model.AbstractEntityEditModel
- modified() - Method in interface is.codion.framework.model.EntityEditModel
-
Returns a
StateObserverindicating 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
StateObserverinstance 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
- notifyDeleted(Collection<Entity>) - Static method in class is.codion.framework.model.EntityEditEvents
-
Notifies delete
- notifyInserted(Collection<Entity>) - Static method in class is.codion.framework.model.EntityEditEvents
-
Notifies insert
- notifyUpdated(Map<Entity.Key, Entity>) - Static method in class is.codion.framework.model.EntityEditEvents
-
Notifies update
- 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.AbstractForeignKeyConditionModel
- operators() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- 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
- ORDER_QUERY_BY_SORT_ORDER - Static variable in interface is.codion.framework.model.EntityTableModel
-
Specifies whether the table model sort order is used as a basis for the query order by clause.
- orderQueryBySortOrder() - Method in interface is.codion.framework.model.EntityTableModel
-
Specifies whether the current sort order is used as a basis for the query order by clause.
- overwriteWarning() - Method in class is.codion.framework.model.AbstractEntityEditModel
- overwriteWarning() - Method in interface is.codion.framework.model.EntityEditModel
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 - 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
Q
- QUERY_HIDDEN_COLUMNS - Static variable in interface is.codion.framework.model.EntityTableModel
-
Specifies whether the values of hidden columns are included in the underlying query
Value type: Boolean
Default value: true - queryHiddenColumns() - Method in interface is.codion.framework.model.EntityTableModel
-
Returns whether the values of hidden columns are included when querying data
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 - savePreferences() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
- savePreferences() - Method in class is.codion.framework.model.DefaultEntityModel
- savePreferences() - Method in interface is.codion.framework.model.EntityApplicationModel
-
Saves any user preferences.
- savePreferences() - Method in interface is.codion.framework.model.EntityModel
-
Saves any user preferences for this model, its table model and each detail model.
- savePreferences() - Method in interface is.codion.framework.model.EntityTableModel
-
Saves any user preferences.
- 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
- searchModel() - Method in class is.codion.framework.model.EntitySearchConditionModel
- 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
Entityinto the underlyingEntitybeing edited by this edit model. - setEqualConditionValues(Attribute<T>, Collection<T>) - Method in interface is.codion.framework.model.EntityTableConditionModel
-
Sets the search condition values of the condition model associated with
attribute. - setEqualValue(Entity) - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- setEqualValues(Collection<Entity>) - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- setLowerBound(Entity) - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- settings() - Method in interface is.codion.framework.model.EntitySearchModel
- setUpperBound(Entity) - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- setVisibleColumns(Attribute<?>...) - Method in interface is.codion.framework.model.EntityTableModel
-
Arranges the column model so that only the given columns are visible and in the given order
- setVisibleColumns(List<Attribute<?>>) - Method in interface is.codion.framework.model.EntityTableModel
-
Arranges the column model so that only the given columns are visible and in the given order
- singleSelection() - Method in interface is.codion.framework.model.EntitySearchModel
- singleSelection(boolean) - Method in interface is.codion.framework.model.EntitySearchModel.Builder
-
Default false
- 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
- toJSONObject() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
- toJSONObject() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
- toString() - Method in class is.codion.framework.model.AbstractEntityEditModel
- toString() - Method in class is.codion.framework.model.DefaultEntityModel
- toString(Map<Attribute<?>, EntityTableModel.ColumnPreferences.ConditionPreferences>) - Static method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences.ConditionPreferences
- toString(Map<Attribute<?>, EntityTableModel.ColumnPreferences>) - Static method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
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
- 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.AbstractForeignKeyConditionModel
- USE_CLIENT_PREFERENCES - Static variable in interface is.codion.framework.model.EntityModel
-
Specifies whether the client should save and apply user preferences
Value type: Boolean
Default value: true - 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
attributein this edit model, note that subsequent calls for the same attribute return the same value instance. - 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
- visible() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
W
- WARN_ABOUT_UNSAVED_DATA - Static variable in interface is.codion.framework.model.EntityEditModel
-
Indicates whether the application should ask for confirmation when exiting if some data is unsaved
and whether it should warn when unsaved data is about to be lost, i.e. - warnAboutUnsavedData() - Method in class is.codion.framework.model.DefaultEntityApplicationModel
- warnAboutUnsavedData() - Method in interface is.codion.framework.model.EntityApplicationModel
- 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.
- width() - Method in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
- WIDTH_KEY - Static variable in interface is.codion.framework.model.EntityTableModel.ColumnPreferences
-
The key for the 'width' property
- wildcard() - Method in class is.codion.framework.model.AbstractForeignKeyConditionModel
- wildcard() - Method in interface is.codion.framework.model.EntitySearchModel
- wildcardPostfix() - Method in interface is.codion.framework.model.EntitySearchModel.Settings
- wildcardPrefix() - Method in interface is.codion.framework.model.EntitySearchModel.Settings
All Classes and Interfaces|All Packages|Constant Field Values