Add extra flow logic hooks for transfer approve, cancel and reject

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139217498
This commit is contained in:
mountford 2016-11-15 10:32:46 -08:00 committed by Ben McIlwain
parent 5262cd2854
commit fb47d2563d
12 changed files with 150 additions and 6 deletions

View file

@ -254,9 +254,30 @@ public class TestExtraLogicManager implements RegistryExtraFlowLogic {
throw new TestExtraLogicManagerSuccessException("restored");
}
/** Performs additional tasks required for a transfer command. */
/** Performs additional tasks required for a transfer approve command. */
@Override
public void performAdditionalDomainTransferLogic(
public void performAdditionalDomainTransferApproveLogic(
DomainResource domain, String clientId, HistoryEntry historyEntry) throws EppException {
throw new TestExtraLogicManagerSuccessException("transfer approved");
}
/** Performs additional tasks required for a transfer cancel command. */
@Override
public void performAdditionalDomainTransferCancelLogic(
DomainResource domain, String clientId, HistoryEntry historyEntry) throws EppException {
throw new TestExtraLogicManagerSuccessException("transfer cancelled");
}
/** Performs additional tasks required for a transfer reject command. */
@Override
public void performAdditionalDomainTransferRejectLogic(
DomainResource domain, String clientId, HistoryEntry historyEntry) throws EppException {
throw new TestExtraLogicManagerSuccessException("transfer rejected");
}
/** Performs additional tasks required for a transfer request command. */
@Override
public void performAdditionalDomainTransferRequestLogic(
DomainResource domainResource,
String clientId,
DateTime asOfDate,