Class RegistryHandler.RegistryZones
- java.lang.Object
-
- com.verisign.epp.serverstub.registry.v02.RegistryHandler.RegistryZones
-
- Enclosing class:
- RegistryHandler
public static class RegistryHandler.RegistryZones extends java.lang.ObjectRegistryZonesstores 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 byRegistryHandler.RegistryZone.
-
-
Constructor Summary
Constructors Constructor Description RegistryZones()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteZone(java.lang.String aName)RegistryHandler.RegistryZonegetZone(java.lang.String aName)Gets zone by namejava.util.Set<java.lang.String>getZoneNames()Gets the set of zone names.voidsetZone(java.lang.String aName, RegistryHandler.RegistryZone aZone)Sets a zone, which add add it if it does not exist or update it if it does exist.booleansetZoneInfo(java.lang.String aName, EPPRegistryZone aZoneInfo)Sets the zone info for an existing zone.voidsetZonePolicyExt(java.lang.String aName, EPPRegistryZoneInterface aZonePolicy)Sets the zone policy extension for an existing zone.voidsetZonePolicyExts(java.lang.String aName, java.util.List<EPPRegistryZoneInterface> aZonePolicies)Sets the zone policy extensions for an existing zone.booleanzoneExists(java.lang.String aName)Does the zone exist by name?
-
-
-
Method Detail
-
zoneExists
public boolean zoneExists(java.lang.String aName)
Does the zone exist by name?- Parameters:
aName- Zone name to search for.- Returns:
trueif zone exists;falseotherwise.
-
getZoneNames
public java.util.Set<java.lang.String> getZoneNames()
Gets the set of zone names.- Returns:
- Set of zone names if the zones are defined;
nullotherwise.
-
getZone
public RegistryHandler.RegistryZone getZone(java.lang.String aName)
Gets zone by name- Parameters:
aName- Name of zone to search for- Returns:
- Zone data if found;
nullotherwise.
-
setZone
public void setZone(java.lang.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 setaZone- Zone data to set
-
setZoneInfo
public boolean setZoneInfo(java.lang.String aName, EPPRegistryZone aZoneInfo)Sets the zone info for an existing zone.- Parameters:
aName- Naming of existing zoneaZoneInfo- Zone information to set for the existing zone- Returns:
trueif the zone information was set;falseotherwise.
-
setZonePolicyExt
public void setZonePolicyExt(java.lang.String aName, EPPRegistryZoneInterface aZonePolicy)Sets the zone policy extension for an existing zone. If the policy has not already been set, thesetZonePolicyExtwill add it.- Parameters:
aName- Naming of existing zoneaZonePolicy- Zone policy extension to set for the existing zone
-
setZonePolicyExts
public void setZonePolicyExts(java.lang.String aName, java.util.List<EPPRegistryZoneInterface> aZonePolicies)Sets the zone policy extensions for an existing zone. If the policy has not already been set, thesetZonePolicyExtwill add it.- Parameters:
aName- Naming of existing zoneaZonePolicies- Zone policy extensions to set for the existing zone
-
deleteZone
public void deleteZone(java.lang.String aName)
-
-