Package com.helger.smpclient.bdxr2
Interface IBDXR2ServiceGroupProvider
- All Known Implementing Classes:
BDXR2Client,BDXR2ClientReadOnly
public interface IBDXR2ServiceGroupProvider
Abstract interface to retrieve a service group instance.
- Since:
- 7.0.6
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptioncom.helger.xsds.bdxr.smp2.ServiceGroupTypegetServiceGroupOrNull(com.helger.peppolid.IParticipantIdentifier aServiceGroupID) Returns a service group.
-
Method Details
-
getServiceGroupOrNull
@Nullable com.helger.xsds.bdxr.smp2.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
-