public static interface ServiceMembershipSDK.ServiceMembershipClient
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
assignServiceMemberships(String packageId,
List<String> serviceIds)
Assigns membership between a service and package.
|
com.google.common.util.concurrent.CheckedFuture<Iterable<Service>,com.covisint.core.http.service.core.ServiceException> |
listMemberServices(String packageId)
List all services that are members of the given package id.
|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
removeServiceMemberships(String packageId,
List<String> serviceIds)
Removes membership of a service from a package.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<Iterable<Service>,com.covisint.core.http.service.core.ServiceException> listMemberServices(@Nonnull@NotEmpty String packageId)
packageId - The package id for which to get services.@Nonnull com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> assignServiceMemberships(@Nonnull String packageId, @Nonnull@NonnullElements List<String> serviceIds)
packageId - The id of the package getting the new services.serviceIds - The id's of the services to assign.@Nonnull com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> removeServiceMemberships(@Nonnull String packageId, @Nonnull@NonnullElements List<String> serviceIds)
packageId - The id of the package losing the service.serviceIds - The id's of the services to remove.Copyright © 2015 Covisint. All rights reserved.