mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 16:37:13 +02:00
Add Javadocs to parameters for DomainCreateFlowCustomLogic methods
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=139912059
This commit is contained in:
parent
998dae33ec
commit
b3907d5d90
1 changed files with 28 additions and 0 deletions
|
@ -64,8 +64,14 @@ public class DomainCreateFlowCustomLogic extends BaseFlowCustomLogic {
|
||||||
@AutoValue
|
@AutoValue
|
||||||
public abstract static class AfterValidationParameters extends ImmutableObject {
|
public abstract static class AfterValidationParameters extends ImmutableObject {
|
||||||
|
|
||||||
|
/** The parsed domain name of the domain that is requested to be created. */
|
||||||
public abstract InternetDomainName domainName();
|
public abstract InternetDomainName domainName();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The number of years that the domain name will be registered for.
|
||||||
|
*
|
||||||
|
* <p>On standard TLDs, this is usually 1.
|
||||||
|
*/
|
||||||
public abstract int years();
|
public abstract int years();
|
||||||
|
|
||||||
public static Builder newBuilder() {
|
public static Builder newBuilder() {
|
||||||
|
@ -88,12 +94,34 @@ public class DomainCreateFlowCustomLogic extends BaseFlowCustomLogic {
|
||||||
@AutoValue
|
@AutoValue
|
||||||
public abstract static class BeforeSaveParameters extends ImmutableObject {
|
public abstract static class BeforeSaveParameters extends ImmutableObject {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The new {@link DomainResource} entity that is going to be persisted at the end of the
|
||||||
|
* transaction.
|
||||||
|
*/
|
||||||
public abstract DomainResource newDomain();
|
public abstract DomainResource newDomain();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The new {@link HistoryEntry} entity for the domain's creation that is going to be persisted
|
||||||
|
* at the end of the transaction.
|
||||||
|
*/
|
||||||
public abstract HistoryEntry historyEntry();
|
public abstract HistoryEntry historyEntry();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The collection of {@link EntityChanges} (including new entities and those to delete) that
|
||||||
|
* will be persisted at the end of the transaction.
|
||||||
|
*
|
||||||
|
* <p>Note that the new domain and history entry are also included as saves in this collection,
|
||||||
|
* and are separated out above solely for convenience, as they are most likely to need to be
|
||||||
|
* changed. Removing them from the collection will cause them not to be saved, which is most
|
||||||
|
* likely not what you intended.
|
||||||
|
*/
|
||||||
public abstract EntityChanges entityChanges();
|
public abstract EntityChanges entityChanges();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The number of years that the domain name will be registered for.
|
||||||
|
*
|
||||||
|
* <p>On standard TLDs, this is usually 1.
|
||||||
|
*/
|
||||||
public abstract int years();
|
public abstract int years();
|
||||||
|
|
||||||
public static Builder newBuilder() {
|
public static Builder newBuilder() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue