Module org.seasar.doma.core
Package org.seasar.doma.jdbc.query
Class AutoDeleteQuery.AutoPreDeleteContext<E>
java.lang.Object
org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext<E>
org.seasar.doma.internal.jdbc.entity.AbstractPreDeleteContext<E>
org.seasar.doma.jdbc.query.AutoDeleteQuery.AutoPreDeleteContext<E>
- Type Parameters:
E- the entity type
- All Implemented Interfaces:
PreDeleteContext<E>
- Enclosing class:
- AutoDeleteQuery<ENTITY>
Context class for pre-delete operations.
-
Field Summary
Fields inherited from class org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext
config, entityType, method, newEntity -
Constructor Summary
ConstructorsConstructorDescriptionAutoPreDeleteContext(EntityType<E> entityType, Method method, Config config, ReturningProperties returningProperties) Creates a new context for pre-delete operations. -
Method Summary
Modifier and TypeMethodDescriptionReturns the returning properties configuration for this delete operation.Methods inherited from class org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext
getConfig, getEntityType, getMethod, getNewEntity, isPropertyDefinedInternal, setNewEntityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.seasar.doma.jdbc.entity.PreDeleteContext
getConfig, getEntityType, getMethod, getNewEntity, setNewEntity
-
Constructor Details
-
AutoPreDeleteContext
public AutoPreDeleteContext(EntityType<E> entityType, Method method, Config config, ReturningProperties returningProperties) Creates a new context for pre-delete operations.- Parameters:
entityType- the entity typemethod- the methodconfig- the configurationreturningProperties- the properties to be returned
-
-
Method Details
-
getReturningProperties
Returns the returning properties configuration for this delete operation.Returning properties specify which columns should be returned by the database after a delete operation, typically used with the RETURNING clause in SQL.
- Returns:
- the properties to be returned from the DELETE operation
- See Also:
-