public static interface ServicePackageRequestSDK.ServicePackageRequestClient
ServicePackageRequest resource APIs.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<ServicePackageRequest,com.covisint.core.http.service.core.ServiceException> |
add(ServicePackageRequest request)
Add a new service package request.
|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
approve(String requestId,
String justification)
Approves a service package request.
|
com.google.common.util.concurrent.CheckedFuture<ServicePackageRequest,com.covisint.core.http.service.core.ServiceException> |
delete(String requestId)
Delete a service package request.
|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
deny(String requestId,
String justification)
Denies a service package request.
|
com.google.common.util.concurrent.CheckedFuture<ServicePackageRequest,com.covisint.core.http.service.core.ServiceException> |
get(String requestId)
Get a service package request by its id.
|
com.google.common.util.concurrent.CheckedFuture<List<ServicePackageRequest>,com.covisint.core.http.service.core.ServiceException> |
search(String requestorId,
RequestorType requestorType,
com.covisint.core.http.service.core.Page page)
Search for service package requests based on the given criteria.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<ServicePackageRequest,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String requestId)
requestId - The id of the request to be returned.@Nonnull com.google.common.util.concurrent.CheckedFuture<ServicePackageRequest,com.covisint.core.http.service.core.ServiceException> add(@Nonnull ServicePackageRequest request)
request - The service package request to be added.@Nonnull com.google.common.util.concurrent.CheckedFuture<ServicePackageRequest,com.covisint.core.http.service.core.ServiceException> delete(@Nonnull@NotEmpty String requestId)
requestId - The id of the service package request to delete.@Nonnull com.google.common.util.concurrent.CheckedFuture<List<ServicePackageRequest>,com.covisint.core.http.service.core.ServiceException> search(String requestorId, RequestorType requestorType, @Nonnull com.covisint.core.http.service.core.Page page)
requestorId - The id of the requestor.requestorType - The requestor type. Pass null to find all requestor types.page - the page of results to return. Pass Page.DEFAULT to return the standard result
collection.@Nonnull com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> approve(@Nonnull@NotEmpty String requestId, String justification)
requestId - The id of the service package request to approve.justification - The optional justification for why the decision was made.@Nonnull com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> deny(@Nonnull@NotEmpty String requestId, String justification)
requestId - The id of the service package request to deny.justification - The optional justification for why the decision was made.Copyright © 2015 Covisint. All rights reserved.