Package com.verisign.epp.framework
Class EPPRegistryPolicyAdapter
java.lang.Object
com.verisign.epp.framework.EPPRegistryPolicyAdapter
- Direct Known Subclasses:
EPPLaunchPolicyAdapter,EPPLoginSecPolicyAdapter
EPPRegistryPolicyAdapter is a base class used to adapt zone or system
policy extensions from local server classes to / from EPP extensions. The
methods of EPPRegistryPolicyAdapter are concrete and return
null by default. A derived class can support either a zone or system
policy extension by overriding the appropriate methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneppExtToZoneExt(List<EPPCodecComponent> aEppExtensions) Adapt a list of EPP extensions used with a registry create or update to a matching zone policy extension.Gets the system policy extension to include in a registry info response for the system.zoneExtToEppExt(List<EPPRegistryZoneInterface> aZoneExtensions) Adapt a list of zone policy extensions available for the zone to a matching EPP extension for an info response.
-
Constructor Details
-
EPPRegistryPolicyAdapter
public EPPRegistryPolicyAdapter()
-
-
Method Details
-
eppExtToZoneExt
Adapt a list of EPP extensions used with a registry create or update to a matching zone policy extension. It is assumed that there will be anEPPRegistryPolicyAdapterfor each versioned policy extension that will be used to extract the contained zone policy information in a matching EPP extension.- Parameters:
aEppExtensions- List of EPP extensions to adapt to a zone policy extension.- Returns:
- Matching zone policy extension if found;
nullotherwise.
-
zoneExtToEppExt
Adapt a list of zone policy extensions available for the zone to a matching EPP extension for an info response.- Parameters:
aZoneExtensions- List of zone policy extensions to adapt to an EPP extension for an info response.- Returns:
- Matching EPP extension for an info response if found;
nullotherwise.
-
getSystemExt
Gets the system policy extension to include in a registry info response for the system.- Returns:
EPPCodecComponentthat represents the system policy extension if defined;nullotherwise.
-