mirror of
https://github.com/google/nomulus
synced 2026-01-07 22:15:30 +00:00
Add extra flow logic hooks for application delete and update
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138393251
This commit is contained in:
@@ -37,12 +37,7 @@ public interface RegistryExtraFlowLogic {
|
||||
public Set<String> getExtensionFlags(
|
||||
DomainResource domainResource, String clientId, DateTime asOfDate);
|
||||
|
||||
/**
|
||||
* Performs additional tasks required for an application create command.
|
||||
*
|
||||
* <p>Any changes should not be persisted to Datastore until commitAdditionalLogicChanges is
|
||||
* called.
|
||||
*/
|
||||
/** Performs additional tasks required for an application create command. */
|
||||
public void performAdditionalApplicationCreateLogic(
|
||||
DomainApplication application,
|
||||
String clientId,
|
||||
@@ -51,11 +46,30 @@ public interface RegistryExtraFlowLogic {
|
||||
EppInput eppInput,
|
||||
HistoryEntry historyEntry) throws EppException;
|
||||
|
||||
/**
|
||||
* Computes the expected creation fee.
|
||||
*
|
||||
* <p>For use in fee challenges and the like.
|
||||
*/
|
||||
/** Performs additional tasks required for an application delete command. */
|
||||
public void performAdditionalApplicationDeleteLogic(
|
||||
DomainApplication application,
|
||||
String clientId,
|
||||
DateTime asOfDate,
|
||||
EppInput eppInput,
|
||||
HistoryEntry historyEntry) throws EppException;
|
||||
|
||||
/** Computes the expected application update fee. */
|
||||
public BaseFee getApplicationUpdateFeeOrCredit(
|
||||
DomainApplication application,
|
||||
String clientId,
|
||||
DateTime asOfDate,
|
||||
EppInput eppInput) throws EppException;
|
||||
|
||||
/** Performs additional tasks required for an application update command. */
|
||||
public void performAdditionalApplicationUpdateLogic(
|
||||
DomainApplication application,
|
||||
String clientId,
|
||||
DateTime asOfDate,
|
||||
EppInput eppInput,
|
||||
HistoryEntry historyEntry) throws EppException;
|
||||
|
||||
/** Computes the expected creation fee. */
|
||||
public BaseFee getCreateFeeOrCredit(
|
||||
String domainName,
|
||||
String clientId,
|
||||
@@ -80,11 +94,7 @@ public interface RegistryExtraFlowLogic {
|
||||
EppInput eppInput,
|
||||
HistoryEntry historyEntry) throws EppException;
|
||||
|
||||
/**
|
||||
* Computes the expected renewal fee.
|
||||
*
|
||||
* <p>For use in fee challenges and the like.
|
||||
*/
|
||||
/** Computes the expected renewal fee. */
|
||||
public BaseFee getRenewFeeOrCredit(
|
||||
DomainResource domain,
|
||||
String clientId,
|
||||
@@ -118,11 +128,7 @@ public interface RegistryExtraFlowLogic {
|
||||
EppInput eppInput,
|
||||
HistoryEntry historyEntry) throws EppException;
|
||||
|
||||
/**
|
||||
* Computes the expected update fee.
|
||||
*
|
||||
* <p>For use in fee challenges and the like.
|
||||
*/
|
||||
/** Computes the expected update fee. */
|
||||
public BaseFee getUpdateFeeOrCredit(
|
||||
DomainResource domain,
|
||||
String clientId,
|
||||
|
||||
Reference in New Issue
Block a user