Class OnTLSCertApplyChallengeReadyEvent.Handler

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

@Component("tlsCertApplyChallengeReadyEventHandler") public static class OnTLSCertApplyChallengeReadyEvent.Handler extends com.sankcrm.erp.event.AbstractEventHandler<TLSCertApplyChallengeReadyEvent>
  • Constructor Details

    • Handler

      public Handler()
  • Method Details

    • applyOpt

    • handle

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

      protected String stage()
    • apply

    • applyOpt

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

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

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

      protected void hand(TLSCertApplyChallengeReadyEvent 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(TLSCertApplyChallengeReadyEvent 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(TLSCertApplyChallengeReadyEvent 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(TLSCertApplyChallengeReadyEvent 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