Interface ISMPServiceGroupProvider

All Known Implementing Classes:
SMPClient, SMPClientReadOnly

public interface ISMPServiceGroupProvider
Abstract interface to retrieve a Peppol Service Group instance.
Since:
7.0.6
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    com.helger.xsds.peppol.smp1.ServiceGroupType
    getServiceGroup(com.helger.peppolid.IParticipantIdentifier aServiceGroupID)
    Returns a service group.
    com.helger.xsds.peppol.smp1.ServiceGroupType
    getServiceGroupOrNull(com.helger.peppolid.IParticipantIdentifier aServiceGroupID)
    Returns a service group.
  • Method Details

    • getServiceGroup

      @Nonnull com.helger.xsds.peppol.smp1.ServiceGroupType getServiceGroup(@Nonnull com.helger.peppolid.IParticipantIdentifier aServiceGroupID) throws SMPClientException
      Returns a service group. A service group references to the service metadata. This is a specification compliant method.
      Parameters:
      aServiceGroupID - The ID of the service group to retrieve. May not be null.
      Returns:
      The service group. Maybe null.
      Throws:
      SMPClientException - in case something goes wrong
      Since:
      9.5.1 in this interface
      See Also:
    • getServiceGroupOrNull

      @Nullable com.helger.xsds.peppol.smp1.ServiceGroupType getServiceGroupOrNull(@Nonnull com.helger.peppolid.IParticipantIdentifier aServiceGroupID) throws SMPClientException
      Returns a service group. A service group references to the service metadata. This is a specification compliant method.
      Parameters:
      aServiceGroupID - The ID of the service group to retrieve. May not be null.
      Returns:
      The service group. Maybe null.
      Throws:
      SMPClientException - in case something goes wrong
      See Also: