Class UpdateTakeStatusHandler

java.lang.Object
ch.tocco.nice2.optional.event.impl.actions.AbstractTakeStatusHandler
ch.tocco.nice2.optional.event.impl.actions.UpdateTakeStatusHandler
All Implemented Interfaces:
TakeStatusHandler

@Component public class UpdateTakeStatusHandler extends AbstractTakeStatusHandler
  • Constructor Details

    • UpdateTakeStatusHandler

      public UpdateTakeStatusHandler(QueryBuilderFactory queryBuilderFactory)
  • Method Details

    • handleCopyOfRegistration

      public Optional<Entity> handleCopyOfRegistration(Entity registration, Entity event, org.joda.time.DateTime registeredDate, boolean isCopy, boolean takeArticle, Optional<Entity> newRegistrationStatus, Entity originalRegistrationType, List<TakeRegistrationActionConfiguration> takeRegistrationActionConfigurations)
      Returns:
      touched registration, empty when only handling new and registration exists, or when only handling existing and no registration exists
    • getTakeStatus

      public TakeStatus getTakeStatus()