Package com.blazebit.persistence.view
Interface FlushOperationBuilder
public interface FlushOperationBuilder
A builder for defining flush related configuration.
- Since:
- 1.4.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Invoked the flush operation.onPostCommit(PostCommitListener<?> listener) Registers the given listener to the current flush operation.onPostCommit(Class<T> entityViewClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation.onPostCommit(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation.onPostCommit(Class<T> entityViewClass, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, PostCommitListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.onPostCommit(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, PostCommitListener<T> listener) Registers the given listener to the current flush operation.onPostCommit(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, ViewListener<T> listener) Registers the given listener to the current flush operation.onPostCommit(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.onPostCommit(Set<ViewTransition> viewTransitions, PostCommitListener<?> listener) Registers the given listener to the current flush operation.onPostCommitPersist(PostCommitListener<?> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.onPostCommitPersist(Class<T> entityViewClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.onPostCommitPersist(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.<T,E> FlushOperationBuilder onPostCommitPersist(Class<T> entityViewClass, Class<E> entityClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.<T,E> FlushOperationBuilder onPostCommitPersist(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.onPostCommitRemove(PostCommitListener<?> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.onPostCommitRemove(Class<T> entityViewClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.onPostCommitRemove(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.<T,E> FlushOperationBuilder onPostCommitRemove(Class<T> entityViewClass, Class<E> entityClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.<T,E> FlushOperationBuilder onPostCommitRemove(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.onPostCommitUpdate(PostCommitListener<?> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.onPostCommitUpdate(Class<T> entityViewClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.onPostCommitUpdate(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.<T,E> FlushOperationBuilder onPostCommitUpdate(Class<T> entityViewClass, Class<E> entityClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.<T,E> FlushOperationBuilder onPostCommitUpdate(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.onPostPersist(PostPersistEntityListener<?, ?> listener) Registers the given listener to the current flush operation.onPostPersist(PostPersistListener<?> listener) Registers the given listener to the current flush operation.onPostPersist(Class<T> entityViewClass, PostPersistEntityListener<T, ?> listener) Registers the given listener to the current flush operation.onPostPersist(Class<T> entityViewClass, PostPersistListener<T> listener) Registers the given listener to the current flush operation.onPostPersist(Class<T> entityViewClass, ViewAndEntityListener<T, ?> listener) Registers the given listener to the current flush operation.onPostPersist(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, Class<E> entityClass, PostPersistEntityListener<T, E> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, Class<E> entityClass, PostPersistListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, Class<E> entityClass, ViewAndEntityListener<T, E> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.onPostRemove(PostRemoveListener<?> listener) Registers the given listener to the current flush operation.onPostRemove(Class<T> entityViewClass, PostRemoveListener<T> listener) Registers the given listener to the current flush operation.onPostRemove(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostRemove(Class<T> entityViewClass, Class<E> entityClass, PostRemoveListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostRemove(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.onPostRollback(PostRollbackListener<?> listener) Registers the given listener to the current flush operation.onPostRollback(Class<T> entityViewClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation.onPostRollback(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation.onPostRollback(Class<T> entityViewClass, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, PostRollbackListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.onPostRollback(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, PostRollbackListener<T> listener) Registers the given listener to the current flush operation.onPostRollback(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, ViewListener<T> listener) Registers the given listener to the current flush operation.onPostRollback(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.onPostRollback(Set<ViewTransition> viewTransitions, PostRollbackListener<?> listener) Registers the given listener to the current flush operation.onPostRollbackPersist(PostRollbackListener<?> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.onPostRollbackPersist(Class<T> entityViewClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.onPostRollbackPersist(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.<T,E> FlushOperationBuilder onPostRollbackPersist(Class<T> entityViewClass, Class<E> entityClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.<T,E> FlushOperationBuilder onPostRollbackPersist(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.onPostRollbackRemove(PostRollbackListener<?> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.onPostRollbackRemove(Class<T> entityViewClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.onPostRollbackRemove(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.<T,E> FlushOperationBuilder onPostRollbackRemove(Class<T> entityViewClass, Class<E> entityClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.<T,E> FlushOperationBuilder onPostRollbackRemove(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.onPostRollbackUpdate(PostRollbackListener<?> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.onPostRollbackUpdate(Class<T> entityViewClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.onPostRollbackUpdate(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.<T,E> FlushOperationBuilder onPostRollbackUpdate(Class<T> entityViewClass, Class<E> entityClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.<T,E> FlushOperationBuilder onPostRollbackUpdate(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.onPostUpdate(PostUpdateListener<?> listener) Registers the given listener to the current flush operation.onPostUpdate(Class<T> entityViewClass, PostUpdateListener<T> listener) Registers the given listener to the current flush operation.onPostUpdate(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostUpdate(Class<T> entityViewClass, Class<E> entityClass, PostUpdateListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPostUpdate(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.onPrePersist(PrePersistEntityListener<?, ?> listener) Registers the given listener to the current flush operation.onPrePersist(PrePersistListener<?> listener) Registers the given listener to the current flush operation.onPrePersist(Class<T> entityViewClass, PrePersistEntityListener<T, ?> listener) Registers the given listener to the current flush operation.onPrePersist(Class<T> entityViewClass, PrePersistListener<T> listener) Registers the given listener to the current flush operation.onPrePersist(Class<T> entityViewClass, ViewAndEntityListener<T, ?> listener) Registers the given listener to the current flush operation.onPrePersist(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, Class<E> entityClass, PrePersistEntityListener<T, E> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, Class<E> entityClass, PrePersistListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, Class<E> entityClass, ViewAndEntityListener<T, E> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.onPreRemove(PreRemoveListener<?> listener) Registers the given listener to the current flush operation.onPreRemove(Class<T> entityViewClass, PreRemoveListener<T> listener) Registers the given listener to the current flush operation.onPreRemove(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPreRemove(Class<T> entityViewClass, Class<E> entityClass, PreRemoveListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPreRemove(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.onPreUpdate(PreUpdateListener<?> listener) Registers the given listener to the current flush operation.onPreUpdate(Class<T> entityViewClass, PreUpdateListener<T> listener) Registers the given listener to the current flush operation.onPreUpdate(Class<T> entityViewClass, ViewListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPreUpdate(Class<T> entityViewClass, Class<E> entityClass, PreUpdateListener<T> listener) Registers the given listener to the current flush operation.<T,E> FlushOperationBuilder onPreUpdate(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.
-
Method Details
-
flush
void flush()Invoked the flush operation. -
onPrePersist
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPrePersist
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPreUpdate
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostUpdate
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPreRemove
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostRemove
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitPersist
Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitUpdate
Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitRemove
Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
FlushOperationBuilder onPostCommit(Set<ViewTransition> viewTransitions, PostCommitListener<?> listener) Registers the given listener to the current flush operation.- Parameters:
viewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
Registers the given listener to the current flush operation.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackPersist
Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackUpdate
Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackRemove
Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Parameters:
listener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
FlushOperationBuilder onPostRollback(Set<ViewTransition> viewTransitions, PostRollbackListener<?> listener) Registers the given listener to the current flush operation.- Parameters:
viewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPrePersist
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPrePersist
<T> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, PrePersistEntityListener<T, ?> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
<T> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, PostPersistEntityListener<T, ?> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPreUpdate
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostUpdate
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPreRemove
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRemove
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, PostCommitListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitPersist
<T> FlushOperationBuilder onPostCommitPersist(Class<T> entityViewClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitUpdate
<T> FlushOperationBuilder onPostCommitUpdate(Class<T> entityViewClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitRemove
<T> FlushOperationBuilder onPostCommitRemove(Class<T> entityViewClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, PostRollbackListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackPersist
<T> FlushOperationBuilder onPostRollbackPersist(Class<T> entityViewClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackUpdate
<T> FlushOperationBuilder onPostRollbackUpdate(Class<T> entityViewClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackRemove
<T> FlushOperationBuilder onPostRollbackRemove(Class<T> entityViewClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPrePersist
<T,E> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, Class<E> entityClass, PrePersistListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPrePersist
<T,E> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, Class<E> entityClass, PrePersistEntityListener<T, E> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
<T,E> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, Class<E> entityClass, PostPersistListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
<T,E> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, Class<E> entityClass, PostPersistEntityListener<T, E> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPreUpdate
<T,E> FlushOperationBuilder onPreUpdate(Class<T> entityViewClass, Class<E> entityClass, PreUpdateListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostUpdate
<T,E> FlushOperationBuilder onPostUpdate(Class<T> entityViewClass, Class<E> entityClass, PostUpdateListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPreRemove
<T,E> FlushOperationBuilder onPreRemove(Class<T> entityViewClass, Class<E> entityClass, PreRemoveListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRemove
<T,E> FlushOperationBuilder onPostRemove(Class<T> entityViewClass, Class<E> entityClass, PostRemoveListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, PostCommitListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitPersist
<T,E> FlushOperationBuilder onPostCommitPersist(Class<T> entityViewClass, Class<E> entityClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitUpdate
<T,E> FlushOperationBuilder onPostCommitUpdate(Class<T> entityViewClass, Class<E> entityClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitRemove
<T,E> FlushOperationBuilder onPostCommitRemove(Class<T> entityViewClass, Class<E> entityClass, PostCommitListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, PostRollbackListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackPersist
<T,E> FlushOperationBuilder onPostRollbackPersist(Class<T> entityViewClass, Class<E> entityClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackUpdate
<T,E> FlushOperationBuilder onPostRollbackUpdate(Class<T> entityViewClass, Class<E> entityClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackRemove
<T,E> FlushOperationBuilder onPostRollbackRemove(Class<T> entityViewClass, Class<E> entityClass, PostRollbackListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPrePersist
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPrePersist
<T> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, ViewAndEntityListener<T, ?> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
<T> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, ViewAndEntityListener<T, ?> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPreUpdate
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostUpdate
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPreRemove
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRemove
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitPersist
Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitUpdate
Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitRemove
Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Set<ViewTransition> viewTransitions, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackPersist
Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackUpdate
Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackRemove
Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Type Parameters:
T- The entity view type- Parameters:
entityViewClass- The entity view type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPrePersist
<T,E> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPrePersist
<T,E> FlushOperationBuilder onPrePersist(Class<T> entityViewClass, Class<E> entityClass, ViewAndEntityListener<T, E> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
<T,E> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostPersist
<T,E> FlushOperationBuilder onPostPersist(Class<T> entityViewClass, Class<E> entityClass, ViewAndEntityListener<T, E> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPreUpdate
<T,E> FlushOperationBuilder onPreUpdate(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostUpdate
<T,E> FlushOperationBuilder onPostUpdate(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPreRemove
<T,E> FlushOperationBuilder onPreRemove(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRemove
<T,E> FlushOperationBuilder onPostRemove(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommit
<T,E> FlushOperationBuilder onPostCommit(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitPersist
<T,E> FlushOperationBuilder onPostCommitPersist(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitUpdate
<T,E> FlushOperationBuilder onPostCommitUpdate(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostCommitRemove
<T,E> FlushOperationBuilder onPostCommitRemove(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, ViewListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollback
<T,E> FlushOperationBuilder onPostRollback(Class<T> entityViewClass, Class<E> entityClass, Set<ViewTransition> viewTransitions, ViewTransitionListener<T> listener) Registers the given listener to the current flush operation.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerviewTransitions- The view transitionslistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackPersist
<T,E> FlushOperationBuilder onPostRollbackPersist(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.PERSIST.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackUpdate
<T,E> FlushOperationBuilder onPostRollbackUpdate(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.UPDATE.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-
onPostRollbackRemove
<T,E> FlushOperationBuilder onPostRollbackRemove(Class<T> entityViewClass, Class<E> entityClass, ViewListener<T> listener) Registers the given listener to the current flush operation for theViewTransition.REMOVE.- Type Parameters:
T- The entity view typeE- The entity type- Parameters:
entityViewClass- The entity view type for which to register the listenerentityClass- The entity type for which to register the listenerlistener- The listener to register- Returns:
- This builder for method chaining
-