Class RegistryPolicyCompositeAdapter

java.lang.Object
com.verisign.epp.serverstub.RegistryPolicyCompositeAdapter

public class RegistryPolicyCompositeAdapter extends Object
RegistryPolicyCompositeAdapter will execute each of the configured Registry Policy Adapters and executes each one to adapt all of the registry policy EPP extensions to zone policy extensions and vice-versa.
  • Constructor Details

    • RegistryPolicyCompositeAdapter

      public RegistryPolicyCompositeAdapter()
  • Method Details

    • eppExtToZoneExt

      public List<EPPRegistryZoneInterface> eppExtToZoneExt(List<EPPCodecComponent> aEppExtensions)
      Adapt a list of EPP extensions used with a registry create or update to a list of matching zone policy extensions. It is assumed that there will be an EPPRegistryPolicyAdapter for 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 extensions if matches found; empty list otherwise.
    • zoneExtToEppExt

      public List<EPPCodecComponent> zoneExtToEppExt(List<EPPRegistryZoneInterface> aZoneExtensions)
      Adapt a list of zone policy extensions available for the zone to a matching list of EPP extensions for an info response.
      Parameters:
      aZoneExtensions - List of zone policy extensions to adapt to an EPP extension for an info response.
      Returns:
      Matching EPP extensions for an info response if matches found; empty list otherwise.
    • getSystemExts

      public List<EPPCodecComponent> getSystemExts()
      Adapts the registered set of policy adapters to a list of system policy extensions that can be added to a registry system info response.
      Returns:
      List of system policy extensions associated with registered adapters.