Class ContactTransferQueryFlow

java.lang.Object
google.registry.flows.contact.ContactTransferQueryFlow
All Implemented Interfaces:
Flow, TransactionalFlow

@ReportingSpec(CONTACT_TRANSFER_QUERY) public final class ContactTransferQueryFlow extends Object implements TransactionalFlow
An EPP flow that queries a pending transfer on a contact.

The "gaining" registrar requests a transfer from the "losing" (aka current) registrar. The losing registrar has a "transfer" time period to respond (by default five days) after which the transfer is automatically approved. This flow can be used by the gaining or losing registrars (or anyone with the correct authId) to see the status of a transfer, which may still be pending or may have been approved, rejected, cancelled or implicitly approved by virtue of the transfer period expiring.

Expected Error
FlowUtils.NotLoggedInException, ResourceFlowUtils.BadAuthInfoForResourceException, ResourceFlowUtils.ResourceDoesNotExistException, NoTransferHistoryToQueryException, NotAuthorizedToViewTransferException
  • Method Details

    • run

      public EppResponse run() throws EppException
      Description copied from interface: Flow
      Executes an EPP "flow" and returns a response object (or in the specific case of the "hello" flow a greeting object) that can be converted to XML and returned to the caller.

      Flows should have Flow.run() called once per instance. If a flow needs to be retried, a new instance should be created.

      Flows should get all of their parameters via injection off of FlowComponent.

      Specified by:
      run in interface Flow
      Throws:
      EppException