Class DomainCreateFlowCustomLogic.BeforeSaveParameters

    • Constructor Detail

      • BeforeSaveParameters

        public BeforeSaveParameters()
    • Method Detail

      • newDomain

        public abstract DomainBase newDomain()
        The new DomainBase entity that is going to be persisted at the end of the transaction.
      • historyEntry

        public abstract HistoryEntry historyEntry()
        The new HistoryEntry entity for the domain's creation that is going to be persisted at the end of the transaction.
      • entityChanges

        public abstract EntityChanges entityChanges()
        The collection of EntityChanges (including new entities and those to delete) that will be persisted at the end of the transaction.

        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.

      • years

        public abstract int years()
        The number of years that the domain name will be registered for.

        On standard TLDs, this is usually 1.