public static interface ServicePackageSDK.ServicePackageClient
ServicePackage resource APIs.| Modifier and Type | Interface and Description |
|---|---|
static class |
ServicePackageSDK.ServicePackageClient.FilterSpec
Filter specification populated for and use by the service package search operation.
|
static class |
ServicePackageSDK.ServicePackageClient.Sort
All supported sort fields.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<ServicePackage,com.covisint.core.http.service.core.ServiceException> |
add(ServicePackage servicePackage)
Creates a new service package with a default service.
|
com.google.common.util.concurrent.CheckedFuture<ServicePackage,com.covisint.core.http.service.core.ServiceException> |
get(String packageId)
Gets a service package by its id.
|
com.google.common.util.concurrent.CheckedFuture<List<ServicePackage>,com.covisint.core.http.service.core.ServiceException> |
search(ServicePackageSDK.ServicePackageClient.FilterSpec filter,
com.covisint.core.http.service.core.Page page,
ServicePackageSDK.ServicePackageClient.Sort... sortOrder)
Searches for service packages based on the given criteria.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<List<ServicePackage>,com.covisint.core.http.service.core.ServiceException> search(ServicePackageSDK.ServicePackageClient.FilterSpec filter, @Nonnull com.covisint.core.http.service.core.Page page, ServicePackageSDK.ServicePackageClient.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).ServicePackageSDK.ServicePackageClient.FilterSpec@Nonnull com.google.common.util.concurrent.CheckedFuture<ServicePackage,com.covisint.core.http.service.core.ServiceException> add(@Nonnull ServicePackage servicePackage)
servicePackage - The service package to add.@Nonnull com.google.common.util.concurrent.CheckedFuture<ServicePackage,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String packageId)
packageId - The id of the package to retrieve.Copyright © 2015 Covisint. All rights reserved.