Class OnTLSCertApplyCreatedEvent.Handler

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

@Component("tlsCertApplyCreatedEventHandler") public static class OnTLSCertApplyCreatedEvent.Handler extends com.sankcrm.erp.event.AbstractEventHandler<TLSCertApplyCreatedEvent>
  • Constructor Details

    • Handler

      public Handler()
  • Method Details

    • handle

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

      protected Optional<TLSCertApply> applyOpt(TLSCertApplyCreatedEvent event)
    • stage

      protected String stage()
    • apply

      protected TLSCertApply apply(TLSCertApplyCreatedEvent event)
    • applyOpt

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

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

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

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