Package com.helger.smpclient.peppol
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 TypeMethodDescriptioncom.helger.xsds.peppol.smp1.ServiceGroupTypegetServiceGroup(com.helger.peppolid.IParticipantIdentifier aServiceGroupID) Returns a service group.com.helger.xsds.peppol.smp1.ServiceGroupTypegetServiceGroupOrNull(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 benull.- 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 benull.- Returns:
- The service group. Maybe
null. - Throws:
SMPClientException- in case something goes wrong- See Also:
-