Interface CommitListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
AbsenceReportAllottedEntityListener
,AbsenceReportCreateEntityListener
,AbsenceReportEntityListener
,AbstractContactCreateListener
,AccountEntityListener
,ActiveVatRateEntityListener
,AddressDebitorInformationEntityListener
,AliasNormalizerEntityListener
,ArchivedUserEntityListener
,ArticlePriceSortingEntityListener
,AttributeSyncListener
,AvailabilityCalendarFieldsListener
,BatchJobEntityListener
,BillingPositionCheckEntityListener
,BillingPositionEntityCheckEntityListener
,BirthdateSortingEntityListener
,BrevoEmailChangeListener
,CalculateActualPointsEntityListener
,CalculateAmountEntityListener
,CalculateContingentsAfterCommitListener
,CalculateMaxPointsEntityListener
,CalculateNumberOfReservationsEntityListener
,CalendarEventLabelUpdateListener
,CampaignActualValuesEntityListener
,CampaignEffortEntityListener
,CaseBillingPositionEntityListener
,ChildFunctionListener
,ClearAddressFieldsEntityListener
,ClearGeoLocationListener
,ClientCacheInvalidationListener
,CollectingAfterCommitListener
,CollectingAfterFlushEntityListener
,CollectingEntityListener
,ContactAddressEntityListener
,ContactAllUsersListener
,ContractCreateEntityListener
,ContractDateDeleteEntityListener
,ContractValidityDateEntityListener
,CopyBillingPositionEntityListener
,CopyDocumentsToEntityDocsListener
,CopyEducationalSchedulesToEventListener
,CopyPathEntityListener
,CorrespondenceContactCreatorEntityListener
,CorrespondenceContactUpdateEntityListener
,CostCenterEntityListener
,CountEntitiesListener
,CourseOfStudyEntityListener
,CreateCalendarExportListener
,CreateConflictEntityListener
,CreateEvaluationAnswersEntityListener
,CreateOnlinepaymentOrderListener
,CreditRatingEntityListener
,CustomerContractBillingPositionEntityListener
,DeactivateEntityListener
,DebitorCreationEntityListener
,DefaultReportRecipientFlagEntityListener
,DefaultUserInvoicedEntityListener
,DeleteMovementEntityListener
,DeleteMovementWithArticleEntityListener
,DonationContactEntityListener
,DuplicateListener
,DuplicatesMergeListener
,DuplicatesSplitUpListener
,EffortFieldUpdateEntityListener
,EffortProjectionEntityListener
,EffortTimereportEntityListener
,EmailArchiveTypeEntityListener
,EnsureNoVoucherForFinancialYearEntityListener
,EntityCalendarEventListener
,EntityDocumentsPropagateRelationEntityListener
,EntityFolderTemplateAfterCommitListener
,EntityHistoryDeletionEntityListener
,EntityHistoryFieldEntityListener
,EntityHistoryRelationEntityListener
,EntityTemplateCreateEntityListener
,EvaluationEntityListener
,EventCancellationEntityListener
,EventCostsCalculatorEntityListener
,EventIsTemplateEntityListener
,EventPeriodEntityListener
,EventPropagationEntityListener
,EventRegistrationCreationAfterCommitListener
,EventRequirementEntityListener
,EventSeminarRelationEntityListener
,EventStatusEntityListener
,ExamAverageAfterCommitListener
,ExamTemplateNumberingListener
,ExpenseCalculateCostEntityListener
,FlipUserSalutationEntityListener
,FulltextIndexEntityListener
,FunctionMutationEntityListener
,GenerateRegistrationUuidEntityListener
,GenericCalendarEventListener
,GenericResourcePublishEntityListener
,InitNodeRightsEntityListener
,InputEntityListener
,InputStatisticsAfterCommitListener
,InvalidateCmsTemplateCacheListener
,LecturerBookingPropagationEntityListener
,LecturerBookingTotalLessonsEntityListener
,LecturerBookingUserUpdateListener
,LicenceBillingPositionEntityListener
,LicenceEntityListener
,LinkedAnswerOptionEntityListener
,LinkedQuestionEntityListener
,MailContactCreatorEntityListener
,MembershipBillingPositionEntityListener
,MembershipUserAnswerEntityListener
,MinimalPresenceCreateEntityListener
,MinimalPresenceDeleteEntityListener
,MovementArticleEntityListener
,MovementBillingPositionEntityListener
,NewsletterReadDateListener
,NotificationAfterCommitListener
,OfftimeEventMappingEntityListener
,OneStandardValueEntityListener
,OpenIdRegistrationListener
,OrderBillPrintedCheckEntityListener
,OrderBillPrintedEntityListener
,OrderDeletionEntityListener
,OrderOrderRateEntityListener
,OrderPositionBillPrintedEntityListener
,OrderPositionDiscountEntityListener
,OrderPositionPriceChangeEntityListener
,OrderPositionSortingEntityListener
,OrderPriceRecalculationEntityListener
,OrderRateFeeEntityListener
,OrderTextsEntityListener
,PrepaymentStatusEntityListener
,PrepaymentVoucherEntityListener
,PrincipalEntityListener
,PrincipalSessionEntityListener
,PromotionCodeEntityListener
,PromotionDataRegistrationListener
,QualificationRegistrationInformationListener
,QuestionnaireFixationEntityListener
,RabbitMqAfterCommitListener
,ReferenceCodeCreateEntityListener
,RefreshOrderTotalsEntityListener
,RegistrationEntityListener
,RegistrationPropagationEntityListener
,RegistrationRequirementEntityListener
,RegistrationSetEntityListener
,RegistrationStatusRelevantForGradeEntityListener
,RemoveCategoryListener
,ReplaceBinaryEntityListener
,RequirementAccomplishmentListener
,RequirementCheckDateEntityListener
,RequirementPackageEntityListener
,RequirementRuleCheckEntityListener
,ReservationCountEntityListener
,ReservationPropagationEntityListener
,ReservationRegistrationCountEntityListener
,ReservationRegistrationEntityListener
,ResetConflictsStatusListener
,ResourceSearchTextTikaEntityListener
,ResourceUpdateTimestampListener
,SchoolingRegistrationEntityListener
,ScriptEntityFacadeListener
,ScriptScheduler
,SeminarPeriodCountEntityListener
,SendInvitationMailEntityListener
,SetAddressFieldsEntityListener
,SetBusinessUnitListener
,SetChildrenFlagListener
,SetDefaultSalaryOnLecturerBookingEntityListener
,SetEventArchivedEntityListener
,SetEventPublicationDateEntityListener
,SetInputDataRegistrationListener
,SetMembershipTypeRelationsEntityListener
,SetMergedOutputJobsStatusEntityListener
,SetStatusDateEntityListener
,SetUnbalancedPrepaymentFlagEntityListener
,SmsContactCreatorEntityListener
,SummarizeMaxPointsEntityListener
,SurveyIntrusionEntityListener
,SurveyUserIntrusionEntityListener
,TermsConditionConfirmationSourceListener
,ThresholdValueEntityListener
,TimereportRecordEntityListener
,TimereportSchemeDayEntityListener
,TodoRuleListener
,TopicEntityListener
,TopicSubscriptionMailDispatcher
,TransferCantonFromUserToSchoolingEntityListener
,UniqueOrderTemplateListener
,UpdateAddressBlockEntityListener
,UpdateContingentOnMovementEntityListener
,UpdateEventConnectionTypeListener
,UpdateHierarchyListener
,UpdateLoginEntityListener
,UpdateOpenBalanceDueEntityListener
,UpdatePagePositionEntityListener
,UpdateReferencesListener
,UpdateSectionPositionListener
,UpdateUrlIndexListener
,UpdateWidgetRecordListener
,UserEmailEntityListener
,VoucherChangedEntityListener
,VoucherStornoDebitorEntityListener
,WidgetConfigUpdateListener
,WidgetDomainSecretListener
,ZipFieldsUpdateEntityListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCommit
(Context context) Notifies about the point where the transaction has been fully committed.default boolean
Gets called after the changes of this transaction have been inserted into the database, but before the transaction is committed.void
Notifies about the point where the transaction is about to be committed.default int
priority()
Defines the ordering of commit listeners, lower numbers will be executed first
-
Method Details
-
beforeCommit
Notifies about the point where the transaction is about to be committed.
This allows further modification of involved entities.
- Parameters:
tx
- the transaction in question
-
afterFlush
Gets called after the changes of this transaction have been inserted into the database, but before the transaction is committed.- Returns:
- true if this method has modified the database
-
afterCommit
Notifies about the point where the transaction has been fully committed.
This allows post processing of the entities involved in the previous commit.
-
priority
default int priority()Defines the ordering of commit listeners, lower numbers will be executed first
-