Class UpdateTldCommand

  • All Implemented Interfaces:
    Command

    public class UpdateTldCommand
    extends MutatingCommand
    Command to update a TLD.
    • Constructor Detail

      • UpdateTldCommand

        public UpdateTldCommand()
    • Method Detail

      • initTldCommand

        protected void initTldCommand()
      • init

        protected final void init()
                           throws java.io.UnsupportedEncodingException
        Description copied from class: MutatingCommand
        Initializes the command.

        Subclasses override this method to populate MutatingCommand.changedEntitiesMap with updated entities. The old entity is the key and the new entity is the value; the key is null for newly created entities and the value is null for deleted entities.

        Specified by:
        init in class MutatingCommand
        Throws:
        java.io.UnsupportedEncodingException
      • execute

        public java.lang.String execute()
                                 throws java.lang.Exception
        Description copied from class: MutatingCommand
        Performs the command and returns a result description.

        Subclasses can override this method if the command does something besides update entities, such as running a full flow.

        Overrides:
        execute in class MutatingCommand
        Throws:
        java.lang.Exception