mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 09:27:16 +02:00
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:
parent
5262cd2854
commit
fb47d2563d
12 changed files with 150 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue