Class ZoneServiceImpl

    • Constructor Detail

      • ZoneServiceImpl

        public ZoneServiceImpl()
    • Method Detail

      • get

        public Zone get​(String zoneId)
        Description copied from interface: ZoneService
        gets detailed information about a specified zone by id
        Specified by:
        get in interface ZoneService
        Parameters:
        zoneId - the zone identifier
        Returns:
        the zone
      • listNameservers

        public List<? extends Nameserver> listNameservers​(String zoneId)
        Description copied from interface: ZoneService
        list nameservers for a zone
        Specified by:
        listNameservers in interface ZoneService
        Parameters:
        zoneId - the zone identifier
        Returns:
        list of nameservers for a zone
      • update

        public Zone update​(Zone zone)
        Description copied from interface: ZoneService
        updates an existing zone
        Specified by:
        update in interface ZoneService
        Parameters:
        zone - the zone set to update
        Returns:
        the updated zone
      • create

        public Zone create​(Zone zone)
        Description copied from interface: ZoneService
        create a new zone
        Specified by:
        create in interface ZoneService
        Parameters:
        zone - the zone
        Returns:
        the newly created zone
      • create

        public Zone create​(String name,
                           String email)
        Description copied from interface: ZoneService
        creates a new zone
        Specified by:
        create in interface ZoneService
        Parameters:
        name - the zone name
        email - the e-mail for the zone
        Returns:
        the newly created group
      • list

        public List<? extends Zone> list()
        Description copied from interface: ZoneService
        lists zones.
        Specified by:
        list in interface ZoneService
        Returns:
        list of zones