Class DtoDeleteSpec

java.lang.Object
org.litebridge.orm.api.select.impl.AbstractConditionBasedSpec
org.litebridge.orm.api.delete.model.DeleteSpec
org.litebridge.orm.api.dto.delete.DtoDeleteSpec
All Implemented Interfaces:
DtoDataSpec

public final class DtoDeleteSpec extends org.litebridge.orm.api.delete.model.DeleteSpec implements DtoDataSpec
Specification for a DTO-based delete operation.
  • Field Summary

    Fields inherited from class org.litebridge.orm.api.select.impl.AbstractConditionBasedSpec

    conditions, selectExpressionMapper, table
  • Constructor Summary

    Constructors
    Constructor
    Description
    DtoDeleteSpec(Class<?> dtoClass, OrmTable dtoTable, SelectExpressionMapper selectExpressionMapper)
    Creates a new DTO delete specification.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the DTO class.
    Returns the ORM table metadata for the DTO.

    Methods inherited from class org.litebridge.orm.api.delete.model.DeleteSpec

    toDelete

    Methods inherited from class org.litebridge.orm.api.select.impl.AbstractConditionBasedSpec

    currentConditionGroupSpec, popConditionGroupSpec, pushConditionGroupSpec, table

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DtoDeleteSpec

      public DtoDeleteSpec(Class<?> dtoClass, OrmTable dtoTable, SelectExpressionMapper selectExpressionMapper)
      Creates a new DTO delete specification.
      Parameters:
      dtoClass - the DTO class
      dtoTable - the ORM table metadata
      selectExpressionMapper - the expression mapper
  • Method Details

    • dtoClass

      public Class<?> dtoClass()
      Returns the DTO class.
      Returns:
      the DTO class
    • dtoTable

      public OrmTable dtoTable()
      Description copied from interface: DtoDataSpec
      Returns the ORM table metadata for the DTO.
      Specified by:
      dtoTable in interface DtoDataSpec
      Returns:
      the ORM table metadata