Class DomainUpdateFlowCustomLogic

java.lang.Object
google.registry.flows.custom.BaseFlowCustomLogic
google.registry.flows.custom.DomainUpdateFlowCustomLogic

public class DomainUpdateFlowCustomLogic extends BaseFlowCustomLogic
A no-op base class for DomainUpdateFlow custom logic.

Extend this class and override the hook(s) to perform custom logic.

  • Constructor Details Link icon

  • Method Details Link icon

    • beforeValidation Link icon

      public void beforeValidation() throws EppException
      A hook that runs before any validation. This is useful to e.g. add allowable extensions.
      Throws:
      EppException
    • afterValidation Link icon

      public void afterValidation(DomainUpdateFlowCustomLogic.AfterValidationParameters parameters) throws EppException
      A hook that runs at the end of the validation step to perform additional validation.
      Throws:
      EppException
    • beforeSave Link icon

      A hook that runs before new entities are persisted, allowing them to be changed.

      It returns the actual entity changes that should be persisted to the database. It is important to be careful when changing the flow behavior for existing entities, because the core logic across many different flows expects the existence of these entities and many of the fields on them.

      Throws:
      EppException