Interface EntityConnection.Update

Enclosing interface:
EntityConnection

public static interface EntityConnection.Update
A class encapsulating a where clause along with columns and their associated values for update. A factory class for EntityConnection.Update.Builder instances via all(EntityType), where(Condition).
  • Method Details

    • where

      is.codion.framework.domain.entity.condition.Condition where()
      Returns:
      the where condition
    • columnValues

      Map<is.codion.framework.domain.entity.attribute.Column<?>,Object> columnValues()
      Returns:
      an unmodifiable view of the new values mapped to their respective columns
    • all

      static EntityConnection.Update.Builder all(is.codion.framework.domain.entity.EntityType entityType)
      Parameters:
      entityType - the entity type
      Returns:
      a EntityConnection.Update.Builder instance
    • where

      static EntityConnection.Update.Builder where(is.codion.framework.domain.entity.condition.Condition condition)
      Parameters:
      condition - the where condition
      Returns:
      a EntityConnection.Update.Builder instance