Class OnTLSCertApplyValidatedEvent.Handler

java.lang.Object
com.sankcrm.erp.event.AbstractEventHandler<TLSCertApplyValidatedEvent>
com.sankcrm.erp.apisix.event.tlscert.apply.OnTLSCertApplyValidatedEvent.Handler
All Implemented Interfaces:
com.sankcrm.erp.event.EventHandler<TLSCertApplyValidatedEvent>
Enclosing interface:
OnTLSCertApplyValidatedEvent

@Component("tlsCertApplyValidatedEventHandler") public static class OnTLSCertApplyValidatedEvent.Handler extends com.sankcrm.erp.event.AbstractEventHandler<TLSCertApplyValidatedEvent>
  • Constructor Details

    • Handler

      public Handler()
  • Method Details

    • applyOpt

      protected Optional<TLSCertApply> applyOpt(TLSCertApplyValidatedEvent event)
    • handle

      protected TLSCertApply handle(TLSCertApply oldApply, TLSCertApplyValidatedEvent event) throws com.sankcrm.erp.common.exception.CoreException
      Throws:
      com.sankcrm.erp.common.exception.CoreException
    • stage

      protected String stage()
    • apply

      protected TLSCertApply apply(TLSCertApplyValidatedEvent event)
    • applyOpt

      protected Optional<TLSCertApply> applyOpt(TLSCertApplyId applyId)
    • certificate

      protected Optional<TLSCertificate> certificate(TLSCertificateId tlsCerId)
    • handle

      public void handle(TLSCertApplyValidatedEvent event) throws com.sankcrm.erp.common.exception.CoreException
      Throws:
      com.sankcrm.erp.common.exception.CoreException
    • hand

      protected void hand(TLSCertApplyValidatedEvent event, Exception throwable) throws com.sankcrm.erp.common.exception.CoreException
      Overrides:
      hand in class com.sankcrm.erp.event.AbstractEventHandler<E extends com.sankcrm.erp.event.Event>
      Throws:
      com.sankcrm.erp.common.exception.CoreException
    • hand

      protected void hand(TLSCertApplyValidatedEvent event, com.sankcrm.erp.domain.exception.EntityNoneException throwable) throws com.sankcrm.erp.common.exception.CoreException
      Overrides:
      hand in class com.sankcrm.erp.event.AbstractEventHandler<E extends com.sankcrm.erp.event.Event>
      Throws:
      com.sankcrm.erp.common.exception.CoreException
    • hand

      protected void hand(TLSCertApplyValidatedEvent event, com.sankcrm.erp.domain.exception.EntityExistException throwable) throws com.sankcrm.erp.common.exception.CoreException
      Overrides:
      hand in class com.sankcrm.erp.event.AbstractEventHandler<E extends com.sankcrm.erp.event.Event>
      Throws:
      com.sankcrm.erp.common.exception.CoreException
    • hand

      protected void hand(TLSCertApplyValidatedEvent event, com.sankcrm.erp.bus.exception.CommandInvalidException throwable) throws com.sankcrm.erp.common.exception.CoreException
      Overrides:
      hand in class com.sankcrm.erp.event.AbstractEventHandler<E extends com.sankcrm.erp.event.Event>
      Throws:
      com.sankcrm.erp.common.exception.CoreException