google-nomulus/java/google/registry/flows/domain
nickfelt fd62f4a74e Streamline transfer resolving helpers in ResourceFlowUtils
In the great flow flattening, ResourceFlowUtils grew a couple nice helpers
for rebuilding transferrable resources (Domains and Contacts) upon the
resolution of a transfer - approvePendingTransfer() and denyPendingTransfer().

Most transfer-resolving callsites use one of these two helpers, but for legacy
reasons the deletion flows (DomainDeleteFlow and DeleteContactsAndHostsAction)
were instead using the "manual" resolvePendingTransfer() method or its even more
low-level createResolvedTransferData() helper instead of denyPendingTransfer().
It's simpler to just have two options - approve and deny - so this CL inlines
createResolvedTransferData() into resolvePendingTransfer() and makes the latter
a private helper for the approve/denyPendingTransfer() public helpers.

This CL also adds sanity checks that approve/denyPendingTransfer() are called
only with the logically appropriate values of TransferStatus.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=170819358
2017-10-04 16:16:45 -04:00
..
ClaimsCheckFlow.java Make the superuser flag bypass TLD access checks 2017-06-14 10:43:50 -04:00
DomainAllocateFlow.java Record domain transaction for domain transfers 2017-08-29 17:17:07 -04:00
DomainApplicationCreateFlow.java Don't allow non-active registrars to create domains or applications 2017-10-04 16:16:45 -04:00
DomainApplicationDeleteFlow.java Make the superuser flag bypass TLD access checks 2017-06-14 10:43:50 -04:00
DomainApplicationInfoFlow.java Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00
DomainApplicationUpdateFlow.java Rename buildHistory() methods to buildHistoryEntry() 2017-08-29 16:38:39 -04:00
DomainCheckFlow.java Add better testing of domain and host creation using multi-part TLDs 2017-08-29 15:47:50 -04:00
DomainCreateFlow.java Don't allow non-active registrars to create domains or applications 2017-10-04 16:16:45 -04:00
DomainDeleteFlow.java Streamline transfer resolving helpers in ResourceFlowUtils 2017-10-04 16:16:45 -04:00
DomainFlowTmchUtils.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainFlowUtils.java Don't allow non-active registrars to create domains or applications 2017-10-04 16:16:45 -04:00
DomainInfoFlow.java Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00
DomainPricingLogic.java Restrict domain transfer pricing to 1 year 2017-03-21 15:33:29 -04:00
DomainRenewFlow.java Record domain transaction for domain transfers 2017-08-29 17:17:07 -04:00
DomainRestoreRequestFlow.java Unnest transactionFieldAmount from DomainTransactionRecord 2017-08-29 17:05:15 -04:00
DomainTransferApproveFlow.java Allow domain transfers with 0 period and in auto-renew grace period 2017-10-04 16:16:45 -04:00
DomainTransferCancelFlow.java Record domain transaction for domain transfers 2017-08-29 17:17:07 -04:00
DomainTransferQueryFlow.java Make FlowRunner log ICANN activity report field name 2017-03-27 13:32:57 -04:00
DomainTransferRejectFlow.java Record domain transaction for domain transfers 2017-08-29 17:17:07 -04:00
DomainTransferRequestFlow.java Allow domain transfers with 0 period and in auto-renew grace period 2017-10-04 16:16:45 -04:00
DomainTransferUtils.java Allow domain transfers with 0 period and in auto-renew grace period 2017-10-04 16:16:45 -04:00
DomainUpdateFlow.java Make the superuser flag bypass TLD access checks 2017-06-14 10:43:50 -04:00
FeesAndCredits.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00