public static interface ServiceSDK.ServiceClient
Service resource APIs.| Modifier and Type | Interface and Description |
|---|---|
static class |
ServiceSDK.ServiceClient.FilterSpec
Filter specification populated for and use by the service search operation.
|
static class |
ServiceSDK.ServiceClient.Sort
All supported sort fields.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Service,com.covisint.core.http.service.core.ServiceException> |
add(Service service)
Adds a new service.
|
com.google.common.util.concurrent.CheckedFuture<Service,com.covisint.core.http.service.core.ServiceException> |
get(String serviceId)
Gets a service by its id.
|
com.google.common.util.concurrent.CheckedFuture<List<Service>,com.covisint.core.http.service.core.ServiceException> |
search(ServiceSDK.ServiceClient.FilterSpec filter,
com.covisint.core.http.service.core.Page page,
ServiceSDK.ServiceClient.Sort... sortOrder)
Searches for services based on the given criteria.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<List<Service>,com.covisint.core.http.service.core.ServiceException> search(ServiceSDK.ServiceClient.FilterSpec filter, @Nonnull com.covisint.core.http.service.core.Page page, ServiceSDK.ServiceClient.Sort... sortOrder)
filter - The filter parameters to use. Pass null if no filtering is desired.page - The page of results to retrieve. Pass Page.DEFAULT if no specific pagination is required.sortOrder - The sort criteria to apply before returning the results (optional).ServiceSDK.ServiceClient.FilterSpec@Nonnull com.google.common.util.concurrent.CheckedFuture<Service,com.covisint.core.http.service.core.ServiceException> add(@Nonnull Service service)
service - The service to add.@Nonnull com.google.common.util.concurrent.CheckedFuture<Service,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String serviceId)
serviceId - The id of the service to retrieve.Copyright © 2015 Covisint. All rights reserved.