Class AssociationTypeService
- java.lang.Object
-
- com.sodius.oslc.server.process.services.AssociationTypeService
-
public class AssociationTypeService extends Object
Provides services forAssociationType
.- Since:
- 1.3.0
-
-
Constructor Summary
Constructors Constructor Description AssociationTypeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
getAssociationTypes(String friendId, List<URI> domains)
Returns the list of available association types for the given friend and domains.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.
-
-
-
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 identifierdomains
- 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 identifierfriendId
- the friend identifiercatalog
- the catalog uri- Returns:
- the service provider catalog
-
-