Package google.registry.flows.poll
Class PollAckFlow
java.lang.Object
google.registry.flows.poll.PollAckFlow
- All Implemented Interfaces:
Flow
,MutatingFlow
,TransactionalFlow
@IsolationLevel(TRANSACTION_READ_COMMITTED)
public final class PollAckFlow
extends Object
implements MutatingFlow
An EPP flow for acknowledging
PollMessage
s.
Registrars refer to poll messages using an externally visible id generated by PollMessageExternalKeyConverter
. One-time poll messages are deleted from the database once they
are ACKed, whereas autorenew poll messages are simply marked as read, and won't be delivered
again until the next year of their recurrence.
- Expected Error
PollAckFlow.InvalidMessageIdException
,PollAckFlow.MessageDoesNotExistException
,PollAckFlow.MissingMessageIdException
,PollAckFlow.NotAuthorizedToAckMessageException
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Message with this id does not exist. -
Method Summary
Modifier and TypeMethodDescriptionrun()
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.
-
Method Details
-
run
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 interfaceFlow
- Throws:
EppException
-