Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Aug 7, 2024
1 parent a0993eb commit c063620
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@ public SMPClientReadOnly (@Nonnull final URI aSMPHost)

/**
* Gets a list of references to the CompleteServiceGroup's owned by the
* specified userId. This is a non-specification compliant method.
* specified userId.<br>
* NOTE: this API is NOT supported by all SMP implementations. It is based on
* a proprietary API provided by the Peppol reference implementation and now
* supported by phoss SMP but not all other SMPs.
*
* @param sUserID
* The username for which to retrieve service groups.
Expand Down Expand Up @@ -208,7 +211,10 @@ public ServiceGroupReferenceListType getServiceGroupReferenceList (@Nonnull fina

/**
* Gets a list of references to the CompleteServiceGroup's owned by the
* specified userId. This is a non-specification compliant method.
* specified userId.<br>
* NOTE: this API is NOT supported by all SMP implementations. It is based on
* a proprietary API provided by the Peppol reference implementation and now
* supported by phoss SMP but not all other SMPs.
*
* @param sUserID
* The username for which to retrieve service groups.
Expand Down Expand Up @@ -356,26 +362,6 @@ public CompleteServiceGroupType getCompleteServiceGroupOrNull (@Nonnull final IP
}
}

/**
* Returns a service group. A service group references to the service
* metadata. This is a specification compliant method.
*
* @param aServiceGroupID
* The service group id corresponding to the service group which one
* wants to get.
* @return The service group. Never <code>null</code>.
* @throws SMPClientException
* in case something goes wrong
* @throws SMPClientUnauthorizedException
* A HTTP Forbidden was received, should not happen.
* @throws SMPClientParticipantNotFoundException
* The service group id does not exist in the network.
* @throws SMPClientNotFoundException
* The service group id or document types did not exist.
* @throws SMPClientBadRequestException
* The request was not well formed.
* @see #getServiceGroupOrNull(IParticipantIdentifier)
*/
@Nonnull
public ServiceGroupType getServiceGroup (@Nonnull final IParticipantIdentifier aServiceGroupID) throws SMPClientException
{
Expand Down Expand Up @@ -422,6 +408,7 @@ public ServiceGroupType getServiceGroupOrNull (@Nonnull final IParticipantIdenti
* @param aSG
* The service group to parse. May be <code>null</code>.
* @return Never <code>null</code> but a maybe empty list.
* @see #getAllDocumentTypes(ServiceGroupType, IIdentifierFactory, Consumer)
* @since 8.0.4
*/
@Nonnull
Expand Down Expand Up @@ -500,7 +487,8 @@ public static ICommonsList <IDocumentTypeIdentifier> getAllDocumentTypes (@Nulla

/**
* Gets a signed service metadata object given by its service group id and its
* document type. This is a specification compliant method.
* document type.<br>
* This is a specification compliant method.
*
* @param aServiceGroupID
* The service group id of the service metadata to get. May not be
Expand Down Expand Up @@ -626,7 +614,8 @@ public SignedServiceMetadataType getServiceMetadata (@Nonnull final IParticipant

/**
* Gets a signed service metadata object given by its service group id and its
* document type. This is a specification compliant method.
* document type.<br>
* This is a specification compliant method.
*
* @param aServiceGroupID
* The service group id of the service metadata to get. May not be
Expand Down Expand Up @@ -684,6 +673,12 @@ private static boolean _hasSameContent (@Nonnull final ProcessIdentifierType aPI
* The required transport profile to be used. May not be
* <code>null</code>.
* @return <code>null</code> if no matching endpoint was found
* @see #getEndpoint(ServiceMetadataType, IProcessIdentifier,
* ISMPTransportProfile)
* @see #getEndpointAt(SignedServiceMetadataType, IProcessIdentifier,
* ISMPTransportProfile, LocalDateTime)
* @see #getEndpointAt(ServiceMetadataType, IProcessIdentifier,
* ISMPTransportProfile, LocalDateTime)
*/
@Nullable
public static EndpointType getEndpoint (@Nonnull final SignedServiceMetadataType aSignedServiceMetadata,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ private static Element _convertReferenceToXML (@Nonnull final W3CEndpointReferen
}

/**
* Get the address contained in the passed endpoint reference.
* Get the address contained in the passed endpoint reference.<br>
* See https://github.com/jakartaee/jax-ws-api/issues/167 why this is done so
* stupidly
*
* @param aEndpointReference
* The endpoint reference to retrieve the address from. May not be
Expand Down

0 comments on commit c063620

Please sign in to comment.