Module org.seasar.doma.core
Package org.seasar.doma.jdbc.query
Class AutoDeleteQuery.AutoPostDeleteContext<E>
java.lang.Object
org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext<E>
org.seasar.doma.internal.jdbc.entity.AbstractPostDeleteContext<E>
org.seasar.doma.jdbc.query.AutoDeleteQuery.AutoPostDeleteContext<E>
- Type Parameters:
E- the entity type
- All Implemented Interfaces:
PostDeleteContext<E>
- Enclosing class:
- AutoDeleteQuery<ENTITY>
protected static class AutoDeleteQuery.AutoPostDeleteContext<E>
extends AbstractPostDeleteContext<E>
Context class for post-delete operations.
-
Field Summary
Fields inherited from class org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext
config, entityType, method, newEntity -
Constructor Summary
ConstructorsConstructorDescriptionAutoPostDeleteContext(EntityType<E> entityType, Method method, Config config, ReturningProperties returningProperties) Creates a new context for post-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.PostDeleteContext
getConfig, getEntityType, getMethod, getNewEntity, setNewEntity
-
Constructor Details
-
AutoPostDeleteContext
public AutoPostDeleteContext(EntityType<E> entityType, Method method, Config config, ReturningProperties returningProperties) Creates a new context for post-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:
-