Class AssociationTypeService

    • Constructor Detail

      • AssociationTypeService

        public AssociationTypeService()
    • Method Detail

      • getAssociationTypes

        public Response getAssociationTypes​(String friendId,
                                            List<URI> domains)
        Returns the list of available association types for the given friend and domains. If the friend and the domains are not provided, all the available association types will be returned.
        Parameters:
        friendId - the friend identifier
        domains - the list of domains
        Returns:
        the association types
        Since:
        3.5.0
      • getCatalog

        public Response getCatalog​(String associationTypeId,
                                   String friendId,
                                   String catalog)
        Returns the service provider catalog of the given friend or the given catalog if query parameter is not empty. The catalog will only include providers that are compatible with the domain of the given association type.
        Parameters:
        associationTypeId - the association type identifier
        friendId - the friend identifier
        catalog - the catalog uri
        Returns:
        the service provider catalog