Uses of Interface
is.codion.framework.domain.entity.condition.Condition
Packages that use Condition
Package
Description
Package configuration values:
EntityConnectionProvider.CLIENT_DOMAIN_TYPE
EntityConnectionProvider.CLIENT_CONNECTION_TYPE
EntityConnectionProvider.DESCRIPTION
Provides a type-safe condition API for building SQL WHERE clauses programmatically.
Package configuration values:
EntityApplicationModel.USER_PREFERENCES
EntityApplicationModel.RESTORE_DEFAULT_PREFERENCES
EntityApplicationModel.PREFERENCES_KEY
EntityEditModel.EDIT_EVENTS
EntityEditModel.EntityEditor.PERSIST_FOREIGN_KEYS
EntityQueryModel.LIMIT
EntityTableModel.ON_INSERT
EntityTableModel.ORDER_QUERY
ForeignKeyModelLink.SET_CONDITION_ON_INSERT
ForeignKeyModelLink.SET_VALUE_ON_INSERT
ForeignKeyModelLink.REFRESH_ON_SELECTION
ForeignKeyModelLink.CLEAR_CONDITION_ON_EMPTY_SELECTION
ForeignKeyModelLink.CLEAR_VALUE_ON_EMPTY_SELECTION
EntitySearchModel.DEFAULT_LIMIT
Package configuration values:
EntityComboBoxModel.EDIT_EVENTS
-
Uses of Condition in is.codion.framework.db
Methods in is.codion.framework.db that return ConditionModifier and TypeMethodDescriptionEntityConnection.Count.having()EntityConnection.Select.having()EntityConnection.Count.where()EntityConnection.Select.where()EntityConnection.Update.where()Methods in is.codion.framework.db with parameters of type ConditionModifier and TypeMethodDescriptionEntityConnection.BatchCopy.Builder.conditions(Condition... conditions) intDeletes the entities specified by the given condition.static EntityConnection.CountThe HAVING condition.Returns a result set iterator based on the given query condition.<T> List<T> Selects distinct non-null values of the given column.Selects entities based on the given condition// Select all jazz albums Entity jazz = connection.selectSingle(Genre.NAME.equalTo("Jazz")); List<Entity> jazzTracks = connection.select(Track.GENRE_FK.equalTo(jazz)); // Select with composite condition List<Entity> longExpensiveTracks = connection.select(and( Track.UNITPRICE.greaterThan(0.99), Track.MILLISECONDS.greaterThan(300_000) ));EntityConnection.selectSingle(Condition condition) Selects a single entity based on the specified conditionstatic EntityConnection.Count -
Uses of Condition in is.codion.framework.db.rmi
Methods in is.codion.framework.db.rmi with parameters of type ConditionModifier and TypeMethodDescriptionintDeletes the entities specified by the given condition Performs a commit unless a transaction is open.Returns a result set iterator based on the given query condition.<T> List<T> Selects distinct non-null values of the given column.Selects entities based on the given conditionRemoteEntityConnection.selectSingle(Condition condition) Selects a single entity based on the specified condition -
Uses of Condition in is.codion.framework.domain.entity.condition
Subinterfaces of Condition in is.codion.framework.domain.entity.conditionModifier and TypeInterfaceDescriptioninterfaceA condition based on a singleColumn.static interfaceA condition specifying all entities of a given type, a no-condition.static interfaceAn interface encapsulating a combination of Condition instances, that should be either AND'ed or OR'ed together in a query contextinterfaceA customConditionbased on aConditionString.Methods in is.codion.framework.domain.entity.condition that return ConditionModifier and TypeMethodDescriptionstatic ConditionCondition.all(EntityType entityType) Returns a 'equalTo'Conditionor 'isNull' in casevalueis null.Returns an 'in'Condition.ForeignKeyConditionFactory.in(Collection<Entity> values) Returns an 'in'Condition.ForeignKeyConditionFactory.isNotNull()Returns a 'isNotNull'Condition.ForeignKeyConditionFactory.isNull()Returns a 'isNull'Condition.static ConditionCondition.key(Entity.Key key) Creates aConditionbased on the given keystatic ConditionCondition.keys(Collection<Entity.Key> keys) Creates aConditionbased on the given keys.ForeignKeyConditionFactory.notEqualTo(@Nullable Entity value) Returns a 'notEqualTo'Conditionor 'isNotNull' in casevalueis null.Returns a 'notIn'Condition.ForeignKeyConditionFactory.notIn(Collection<Entity> values) Returns a 'notIn' condition.Methods in is.codion.framework.domain.entity.condition that return types with arguments of type ConditionMethods in is.codion.framework.domain.entity.condition with parameters of type ConditionModifier and TypeMethodDescriptionstatic Condition.CombinationReturns a newCondition.Combinationinstance, combining the given conditions using the AND conjunction.static Condition.CombinationCondition.combination(Conjunction conjunction, Condition... conditions) Initializes a newCondition.Combinationinstancestatic Condition.CombinationReturns a newCondition.Combinationinstance, combining the given conditions using the OR conjunction.Method parameters in is.codion.framework.domain.entity.condition with type arguments of type ConditionModifier and TypeMethodDescriptionstatic Condition.CombinationCondition.and(Collection<Condition> conditions) Returns a newCondition.Combinationinstance, combining the given conditions using the AND conjunction.static Condition.CombinationCondition.combination(Conjunction conjunction, Collection<Condition> conditions) Initializes a newCondition.Combinationinstancestatic Condition.CombinationCondition.or(Collection<Condition> conditions) Returns a newCondition.Combinationinstance, combining the given conditions using the OR conjunction. -
Uses of Condition in is.codion.framework.json.domain
Methods in is.codion.framework.json.domain that return ConditionModifier and TypeMethodDescriptionEntityObjectMapper.deserializeCondition(EntityDefinition definition, com.fasterxml.jackson.databind.JsonNode conditionNode) Deserializes the given conditionMethods in is.codion.framework.json.domain with parameters of type ConditionModifier and TypeMethodDescriptionvoidEntityObjectMapper.serializeCondition(Condition condition, com.fasterxml.jackson.core.JsonGenerator generator) Serializes the given condition -
Uses of Condition in is.codion.framework.model
Methods in is.codion.framework.model that return ConditionModifier and TypeMethodDescriptionEntityTableConditionModel.having(Conjunction conjunction) Returns a HAVING condition based on enabled condition models which are based on aggregate function columns.EntityTableConditionModel.where(Conjunction conjunction) Returns a WHERE condition based on enabled condition models which are based on non-aggregate function columns.Methods in is.codion.framework.model that return types with arguments of type ConditionModifier and TypeMethodDescriptionEntitySearchModel.condition()Controls the additional search condition supplier used when performing the next search data.Method parameters in is.codion.framework.model with type arguments of type ConditionModifier and TypeMethodDescriptionThe condition supplier may not return null, doing so will cause an exception when searching. -
Uses of Condition in is.codion.swing.framework.model.component
Methods in is.codion.swing.framework.model.component that return types with arguments of type ConditionModifier and TypeMethodDescriptionEntityComboBoxModel.condition()Controls the condition supplier used when querying data, setting this to null reverts to the condition specifying all underlying entities.Method parameters in is.codion.swing.framework.model.component with type arguments of type ConditionModifier and TypeMethodDescriptionIfconditionis null, the default condition, specifying all underlying entities is used.