public interface 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,
org.apache.http.protocol.HttpContext context)
Adds membership of services to the given package.
|
com.google.common.util.concurrent.CheckedFuture<Iterable<Service>,com.covisint.core.http.service.core.ServiceException> |
getMemberServices(String packageId,
org.apache.http.protocol.HttpContext context)
Fetches 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,
org.apache.http.protocol.HttpContext context)
Removes membership of services from the given package.
|
@Nonnull @NonnullElements com.google.common.util.concurrent.CheckedFuture<Iterable<Service>,com.covisint.core.http.service.core.ServiceException> getMemberServices(@Nonnull@NotEmpty String packageId, @Nonnull org.apache.http.protocol.HttpContext context)
Services that are members of the given package id.packageId - The package id for which to get services.context - The HTTP context.Services.com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> assignServiceMemberships(@Nonnull String packageId, @Nonnull@NonnullElements List<String> serviceIds, @Nonnull org.apache.http.protocol.HttpContext context)
packageId - The id of the package getting the new services.serviceIds - The id's of the services to assign.context - The HTTP context.com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> removeServiceMemberships(@Nonnull String packageId, @Nonnull@NonnullElements List<String> serviceIds, @Nonnull org.apache.http.protocol.HttpContext context)
packageId - The id of the package losing the service.serviceIds - The id's of the services to remove.context - The HTTP context.Copyright © 2015 Covisint. All rights reserved.