java.lang.Object
org.litebridge.orm.api.update.UpdateStepBase
org.litebridge.orm.api.delete.DtoDeleteStart<DTO>
- Type Parameters:
DTO- the mapped DTO/entity type
- All Implemented Interfaces:
DeleteStart<DTO,,DtoDeleteWhereConditionClause<DTO>, DtoDeleteWhereConditionClauseTerminal<DTO>, DtoQueryConditionBuilder<DTO>> DeleteTerminal
public final class DtoDeleteStart<DTO>
extends UpdateStepBase
implements DeleteStart<DTO,DtoDeleteWhereConditionClause<DTO>,DtoDeleteWhereConditionClauseTerminal<DTO>,DtoQueryConditionBuilder<DTO>>, DeleteTerminal
DTO-mode entry step for constructing a
DELETE statement.-
Field Summary
Fields inherited from class org.litebridge.orm.api.update.UpdateStepBase
litebridgeContext -
Constructor Summary
ConstructorsConstructorDescriptionDtoDeleteStart(Class<DTO> dtoClass, LitebridgeContext litebridgeContext) Creates a newDtoDeleteStartinstance. -
Method Summary
Modifier and TypeMethodDescriptionStarts a WHERE clause with a column or field name.where(ExpressionSpec expression) Starts a WHERE clause with an expression.
-
Constructor Details
-
DtoDeleteStart
Creates a newDtoDeleteStartinstance.- Parameters:
dtoClass- the mapped DTO/entity class to deletelitebridgeContext- the Litebridge context
-
-
Method Details
-
where
Description copied from interface:DeleteStartStarts a WHERE clause with a column or field name.- Specified by:
wherein interfaceDeleteStart<DTO,DtoDeleteWhereConditionClause<DTO>, DtoDeleteWhereConditionClauseTerminal<DTO>, DtoQueryConditionBuilder<DTO>> - Parameters:
field- the column or field name- Returns:
- step to specify the condition operator and value
-
where
Description copied from interface:DeleteStartStarts a WHERE clause with an expression.- Specified by:
wherein interfaceDeleteStart<DTO,DtoDeleteWhereConditionClause<DTO>, DtoDeleteWhereConditionClauseTerminal<DTO>, DtoQueryConditionBuilder<DTO>> - Parameters:
expression- the expression specification- Returns:
- step to specify the condition operator and value
-
withId
-
withIds
-