Class RegistryHandler.RegistryZones

java.lang.Object
com.verisign.epp.serverstub.registry.v02.RegistryHandler.RegistryZones
Enclosing class:
RegistryHandler

public static class RegistryHandler.RegistryZones extends Object
RegistryZones stores the set of registry zone information. The registry zones are keyed by the zone name, which is normalized in upper case. A zone contains zone information and a list of policy extensions, as defined by RegistryHandler.RegistryZone.
  • Constructor Details

    • RegistryZones

      public RegistryZones()
      Default constructor
  • Method Details

    • zoneExists

      public boolean zoneExists(String aName)
      Does the zone exist by name?
      Parameters:
      aName - Zone name to search for.
      Returns:
      true if zone exists; false otherwise.
    • getZoneNames

      public Set<String> getZoneNames()
      Gets the set of zone names.
      Returns:
      Set of zone names if the zones are defined; null otherwise.
    • getZone

      public RegistryHandler.RegistryZone getZone(String aName)
      Gets zone by name
      Parameters:
      aName - Name of zone to search for
      Returns:
      Zone data if found; null otherwise.
    • setZone

      public void setZone(String aName, RegistryHandler.RegistryZone aZone)
      Sets a zone, which add add it if it does not exist or update it if it does exist.
      Parameters:
      aName - Name of zone to set
      aZone - Zone data to set
    • setZoneInfo

      public boolean setZoneInfo(String aName, EPPRegistryZone aZoneInfo)
      Sets the zone info for an existing zone.
      Parameters:
      aName - Naming of existing zone
      aZoneInfo - Zone information to set for the existing zone
      Returns:
      true if the zone information was set; false otherwise.
    • setZonePolicyExt

      public void setZonePolicyExt(String aName, EPPRegistryZoneInterface aZonePolicy)
      Sets the zone policy extension for an existing zone. If the policy has not already been set, the setZonePolicyExt will add it.
      Parameters:
      aName - Naming of existing zone
      aZonePolicy - Zone policy extension to set for the existing zone
    • setZonePolicyExts

      public void setZonePolicyExts(String aName, List<EPPRegistryZoneInterface> aZonePolicies)
      Sets the zone policy extensions for an existing zone. If the policy has not already been set, the setZonePolicyExt will add it.
      Parameters:
      aName - Naming of existing zone
      aZonePolicies - Zone policy extensions to set for the existing zone
    • deleteZone

      public void deleteZone(String aName)