Interface EntityFacadeListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
AbsenceReportAllottedEntityListener
,AbstractContactCreateListener
,AbstractUpdateDomainShortcutListener
,AcceptedConflictEntityListener
,AccountEntityListener
,ActiveVatRateEntityListener
,AddressDebitorInformationEntityListener
,AliasNormalizerEntityListener
,ArchivedUserEntityListener
,ArticlePriceSortingEntityListener
,AttributeSyncListener
,AvailabilityCalendarFieldsListener
,BatchJobEntityListener
,BillingPositionCheckEntityListener
,BillingPositionEntityCheckEntityListener
,BirthdateSortingEntityListener
,BrevoEmailChangeListener
,CalculateActualPointsEntityListener
,CalculateAmountEntityListener
,CalculateMaxPointsEntityListener
,CalculateNumberOfReservationsEntityListener
,CalculateTotalPointsEntityListener
,CalendarEventLabelUpdateListener
,CampaignActualValuesEntityListener
,CampaignEffortEntityListener
,CascadingDeleteEntityListener
,CaseBillingPositionEntityListener
,CheckDebitorAddressEntityListener
,ChildFunctionListener
,ClearAddressFieldsEntityListener
,ClearContentUriCacheEntityListener
,ClearGeoLocationListener
,ClearIncomingPaymentRelationEntityListener
,ClientCacheInvalidationListener
,CollectingAfterFlushEntityListener
,CollectingEntityListener
,ContactAddressEntityListener
,ContactAllUsersListener
,ContingentOutflowEntityListener
,ContractCreateEntityListener
,ContractDateDeleteEntityListener
,ContractDirtyListener
,ContractValidityDateEntityListener
,CopyBillingPositionEntityListener
,CopyDocumentsToEntityDocsListener
,CopyEducationalSchedulesToEventListener
,CopyPathEntityListener
,CorrespondenceContactCreatorEntityListener
,CorrespondenceContactUpdateEntityListener
,CostCenterEntityListener
,CountEntitiesListener
,CourseOfStudyEntityListener
,CreateCalendarExportListener
,CreateEvaluationAnswersEntityListener
,CreateOnlinepaymentOrderListener
,CreateResourceEntityListener
,CreateWageForReservationEntityListener
,CreditRatingEntityListener
,CustomerContractBillingPositionEntityListener
,DeactivateEntityListener
,DebitorCreationEntityListener
,DefaultFlagModuleEntityListener
,DefaultReportRecipientFlagEntityListener
,DefaultUserInvoicedEntityListener
,DeleteMovementEntityListener
,DeleteMovementWithArticleEntityListener
,DeleteReservationLecturerBookingEntityListener
,DeleteResourceEntityListener
,DeleteSearchFilterEntityListener
,DeleteSnippetWidgetSectionVisibilitiesListener
,DeleteStandardPaymentScheduleEntityListener
,DirtyInputDataEntityListener
,DonationContactEntityListener
,DuplicateListener
,DuplicateResolveDateListener
,DuplicatesMergeListener
,DuplicatesSplitUpListener
,EditTemplateListener
,EffortDurationEntityListener
,EffortFieldUpdateEntityListener
,EffortProjectionEntityListener
,EffortTimereportEntityListener
,EmailArchiveTypeEntityListener
,EnsureNoVoucherForFinancialYearEntityListener
,EntityCalendarEventListener
,EntityDocumentsPropagateRelationEntityListener
,EntityHistoryDeletionEntityListener
,EntityHistoryFieldEntityListener
,EntityHistoryRelationEntityListener
,EntityTemplateCreateEntityListener
,EntityTouchedEntityListener
,EntranceExitDateEntityListener
,EvaluationEntityListener
,EventCancellationEntityListener
,EventCostsCalculatorEntityListener
,EventDurationDifferenceEntityListener
,EventIsTemplateEntityListener
,EventPeriodEntityListener
,EventPropagationEntityListener
,EventRequirementEntityListener
,EventSeminarRelationEntityListener
,EventStatusEntityListener
,ExamTemplateNumberingListener
,ExpenseCalculateCostEntityListener
,FacilityReservationDateEntityListener
,FlipUserSalutationEntityListener
,FolderDeleteEntityListener
,ForumEntityListener
,FunctionMutationEntityListener
,GenerateRegistrationUuidEntityListener
,GenericCalendarEventListener
,GenericResourcePublishEntityListener
,InheritIncomeFromSalaryEntityListener
,InitNodeRightsEntityListener
,InputDataAggregationEntityListener
,InputDataEntityListener
,InputEntityListener
,InterruptibleEntityFacadeAdapter
,InvalidateCmsTemplateCacheListener
,LecturerBookingPropagationEntityListener
,LecturerBookingTotalLessonsEntityListener
,LecturerBookingUserUpdateListener
,LicenceBillingPositionEntityListener
,LicenceEntityListener
,LinkedAnswerOptionEntityListener
,LinkedQuestionEntityListener
,MailContactCreatorEntityListener
,MembershipBillingPositionEntityListener
,MembershipUserAnswerEntityListener
,MinimalPresenceDeleteEntityListener
,MinimalPresenceUpdateEntityListener
,MovementArticleEntityListener
,MovementBillingPositionEntityListener
,NewsletterUuidEntityListener
,OfftimeEventMappingEntityListener
,OneStandardValueEntityListener
,OrderBillPrintedCheckEntityListener
,OrderBillPrintedEntityListener
,OrderDebitorStatusEntityListener
,OrderDeletionEntityListener
,OrderOrderRateEntityListener
,OrderPositionBillPrintedEntityListener
,OrderPositionDiscountEntityListener
,OrderPositionPriceChangeEntityListener
,OrderPositionSortingEntityListener
,OrderPriceCategoryEntityListener
,OrderPriceRecalculationEntityListener
,OrderRateFeeEntityListener
,OrderTextsEntityListener
,PathNormalizerEntityListener
,PostEntityListener
,PrepaymentStatusEntityListener
,PrepaymentVoucherEntityListener
,PresenceRateCopyEntityListener
,PrincipalEntityListener
,PrincipalRenameListener
,PrincipalSessionEntityListener
,PromotionCodeEntityListener
,PromotionDataRegistrationListener
,QualificationRegistrationInformationListener
,QuestionnaireFixationEntityListener
,RecalculateVoucherEntityListener
,ReferenceUpdateEntityListener
,RefreshOrderPositionPriceEntityListener
,RefreshOrderTotalsEntityListener
,RegistrationApprovalEntityListener
,RegistrationEntityListener
,RegistrationPropagationEntityListener
,RegistrationRequirementEntityListener
,RegistrationSetEntityListener
,RegistrationStatusRelevantForGradeEntityListener
,RelatedEntityListener
,RemoveCategoryListener
,RemoveRoomEntityListener
,ReplaceBinaryEntityListener
,RequirementAccomplishmentListener
,RequirementCheckDateEntityListener
,RequirementPackageEntityListener
,RequirementRuleCheckEntityListener
,ReservationCountEntityListener
,ReservationDateSetEntityListener
,ReservationPropagationEntityListener
,ReservationRegistrationCountEntityListener
,ReservationRegistrationEntityListener
,ReservationRegistrationLessonEntityListener
,ResetConflictsStatusListener
,ResetFailedLoginAttemptsEntityListener
,ResourceUpdateTimestampListener
,ReverseRelatedQuestionEntityListener
,RuleInUseUpdateListener
,SchoolingRegistrationEntityListener
,ScriptEntityFacadeListener
,SeminarPeriodCountEntityListener
,SetAddressFieldsEntityListener
,SetAssignedFlagListener
,SetBusinessUnitListener
,SetChildrenFlagListener
,SetDefaultSalaryOnLecturerBookingEntityListener
,SetEntityDocumentParentFolderEntityListener
,SetEventArchivedEntityListener
,SetEventPublicationDateEntityListener
,SetExpirationDateOnOutputJobEntityListener
,SetInputDataRegistrationListener
,SetMembershipTypeRelationsEntityListener
,SetMergedOutputJobsStatusEntityListener
,SetPermissionsFlagListener
,SetResourceOwnerEntityListener
,SetStatusDateEntityListener
,SetUnbalancedPrepaymentFlagEntityListener
,SmsContactCreatorEntityListener
,SummarizeMaxPointsEntityListener
,SurveyIntrusionEntityListener
,SurveyUserIntrusionEntityListener
,TermsConditionConfirmationSourceListener
,ThresholdValueEntityListener
,ThumbnailRemovalEntityListener
,TimereportDayEntityListener
,TimereportRecordEntityListener
,TimereportSchemeDayEntityListener
,TimereportSchemeListener
,TopicEntityListener
,TransferCantonFromUserToSchoolingEntityListener
,UniqueOrderTemplateListener
,UpdateAddressBlockEntityListener
,UpdateCmsDomainShortcutListener
,UpdateContingentOnMovementEntityListener
,UpdateDmsDomainShortcutListener
,UpdateEventConnectionTypeListener
,UpdateHierarchyListener
,UpdateLoginEntityListener
,UpdateOpenBalanceDueEntityListener
,UpdatePagePositionEntityListener
,UpdatePublishStatusEntityListener
,UpdateReferencesListener
,UpdateSectionPositionListener
,UpdateUrlIndexListener
,UpdateWidgetRecordListener
,UrlNormalizerEntityListener
,UserEmailEntityListener
,VoucherChangedEntityListener
,VoucherDeletionEntityListener
,VoucherStornoDebitorEntityListener
,WidgetConfigUpdateListener
,WidgetDomainSecretListener
,ZipFieldsUpdateEntityListener
EntityFacadeListener
s receive notifications for changes on entities.
Most of these happen while the transaction is still open, and permit the listener to make more changes to add to the current transaction.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
entityChanging
(EntityChangedEvent event) Fired when any changes are made to an entity.default void
entityCreating
(EntityFacadeEvent event) Fired when an entity is being created.default void
entityDeleting
(EntityFacadeEvent event) Fired when an entity is being deleted.default void
Fired when an entity received values from the persistence implementation.default void
Fired when a relation of an entity has been changed.default boolean
Per default an implementation of EntityFacadeListener doesn't handle session only entities.
-
Method Details
-
entityCreating
Fired when an entity is being created.- Parameters:
event
- The event object.
-
entityDeleting
Fired when an entity is being deleted.- Parameters:
event
- The event Object
-
entityChanging
Fired when any changes are made to an entity.- Parameters:
event
- The event object.
-
entityRelationChanging
Fired when a relation of an entity has been changed.- Parameters:
event
- The event object.
-
entityReceivedValues
Fired when an entity received values from the persistence implementation. For example the auto PK from the db.State == committing | no modifications allowed
- Parameters:
event
- The event object.
-
handleSessionOnlyEntity
default boolean handleSessionOnlyEntity()Per default an implementation of EntityFacadeListener doesn't handle session only entities. If a listener should also handle session only entities set the return value to true.
-