Interface EntityFacadeListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AbsenceReportAllottedEntityListener, AbstractContactCreateListener, AbstractUpdateDomainShortcutListener, AcceptedConflictEntityListener, AccountEntityListener, ActiveVatRateEntityListener, AddressDebitorInformationEntityListener, AliasNormalizerEntityListener, ArchivedUserEntityListener, ArticlePriceSortingEntityListener, AvailabilityCalendarFieldsListener, BatchJobEntityListener, BillingPositionCheckEntityListener, BillingPositionEntityCheckEntityListener, BirthdateSortingEntityListener, CalculateActualPointsEntityListener, CalculateAmountEntityListener, CalculateMaxPointsEntityListener, CalculateNumberOfReservationsEntityListener, CalculateTotalPointsEntityListener, CalendarEventLabelUpdateListener, CampaignActualValuesEntityListener, CampaignEffortEntityListener, CascadingDeleteEntityListener, CaseBillingPositionEntityListener, CheckDebitorAddressEntityListener, ChildFunctionListener, ClearAddressFieldsEntityListener, ClearContentUriCacheEntityListener, ClearGeoLocationListener, ClearIncomingPaymentRelationEntityListener, ClientCacheInvalidationListener, CollectingAfterFlushEntityListener, CollectingEntityListener, ContactAddressEntityListener, ContingentOutflowEntityListener, ContractCreateEntityListener, ContractDateDeleteEntityListener, ContractDirtyListener, ContractValidityDateEntityListener, CopyBillingPositionEntityListener, CopyDocumentsToEntityDocsListener, CopyEducationalSchedulesToEventListener, CopyPathEntityListener, CorrespondenceContactCreatorEntityListener, CorrespondenceContactUpdateEntityListener, CostCenterEntityListener, CountEntitiesListener, CourseOfStudyEntityListener, CreateCalendarExportListener, CreateEvaluationAnswersEntityListener, CreateOnlinepaymentOrderListener, CreateResourceEntityListener, CreateWageForReservationEntityListener, CreditRatingEntityListener, CustomerContractBillingPositionEntityListener, 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, RemoveRoomEntityListener, ReplaceBinaryEntityListener, RequirementAccomplishmentListener, RequirementCheckDateEntityListener, RequirementPackageEntityListener, RequirementRuleCheckEntityListener, ReservationCountEntityListener, ReservationDateSetEntityListener, ReservationPropagationEntityListener, ReservationRegistrationCountEntityListener, ReservationRegistrationEntityListener, ReservationRegistrationLessonEntityListener, ResetConflictsStatusListener, ResetFailedLoginAttemptsEntityListener, ReverseRelatedQuestionEntityListener, RuleInUseUpdateListener, SchoolingRegistrationEntityListener, ScriptEntityFacadeListener, SeminarPeriodCountEntityListener, SetAddressFieldsEntityListener, SetAssignedFlagListener, SetBusinessUnitListener, SetChildrenFlagListener, SetDefaultSalaryOnLecturerBookingEntityListener, SetEntityDocumentParentFolderEntityListener, SetEventArchivedEnityListener, 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, UpdateWidgetRecordListener, UrlNormalizerEntityListener, UserEmailEntityListener, VoucherChangedEntityListener, VoucherDeletionEntityListener, VoucherStornoDebitorEntityListener, WidgetConfigUpdateListener, WidgetDomainSecretListener, WriteDocumentLabelListener, ZipFieldsUpdateEntityListener

public interface EntityFacadeListener extends EventListener
EntityFacadeListeners 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 Details

    • entityCreating

      default void entityCreating(EntityFacadeEvent event)
      Fired when an entity is being created.
      Parameters:
      event - The event object.
    • entityDeleting

      default void entityDeleting(EntityFacadeEvent event)
      Fired when an entity is being deleted.
      Parameters:
      event - The event Object
    • entityChanging

      default void entityChanging(EntityChangedEvent event)
      Fired when any changes are made to an entity.
      Parameters:
      event - The event object.
    • entityRelationChanging

      default void entityRelationChanging(EntityRelationChangedEvent event)
      Fired when a relation of an entity has been changed.
      Parameters:
      event - The event object.
    • entityReceivedValues

      default void entityReceivedValues(EntityReceivedValuesEvent event)
      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.