Class RegistryHandler.RegistryZones
java.lang.Object
com.verisign.epp.serverstub.registry.v02.RegistryHandler.RegistryZones
- Enclosing class:
RegistryHandler
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteZone(String aName) Gets zone by nameGets the set of zone names.voidsetZone(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(String aName, EPPRegistryZone aZoneInfo) Sets the zone info for an existing zone.voidsetZonePolicyExt(String aName, EPPRegistryZoneInterface aZonePolicy) Sets the zone policy extension for an existing zone.voidsetZonePolicyExts(String aName, List<EPPRegistryZoneInterface> aZonePolicies) Sets the zone policy extensions for an existing zone.booleanzoneExists(String aName) Does the zone exist by name?
-
Constructor Details
-
RegistryZones
public RegistryZones()Default constructor
-
-
Method Details
-
zoneExists
Does the zone exist by name?- Parameters:
aName- Zone name to search for.- Returns:
trueif zone exists;falseotherwise.
-
getZoneNames
Gets the set of zone names.- Returns:
- Set of zone names if the zones are defined;
nullotherwise.
-
getZone
Gets zone by name- Parameters:
aName- Name of zone to search for- Returns:
- Zone data if found;
nullotherwise.
-
setZone
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
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
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
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
-