public static interface PersonRequestSDK.PersonRequestClient
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<PersonRequest,com.covisint.core.http.service.core.ServiceException> |
add(PersonRequest request)
Add a new person request.
|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
approve(String requestId)
Approves a person request.
|
com.google.common.util.concurrent.CheckedFuture<PersonRequest,com.covisint.core.http.service.core.ServiceException> |
delete(String requestId)
Delete a person request.
|
com.google.common.util.concurrent.CheckedFuture<PersonRequest,com.covisint.core.http.service.core.ServiceException> |
get(String requestId)
Get a person request by id.
|
com.google.common.util.concurrent.CheckedFuture<List<PersonRequest>,com.covisint.core.http.service.core.ServiceException> |
search(String registrantId,
com.covisint.core.http.service.core.Page page)
Search for person requests based on the given criteria.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<PersonRequest,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String requestId)
requestId - The id of the person request to be returned.@Nonnull com.google.common.util.concurrent.CheckedFuture<PersonRequest,com.covisint.core.http.service.core.ServiceException> add(@Nonnull PersonRequest request)
request - The person request to be added.@Nonnull com.google.common.util.concurrent.CheckedFuture<PersonRequest,com.covisint.core.http.service.core.ServiceException> delete(@Nonnull@NotEmpty String requestId)
requestId - The id of the person request to delete.@Nonnull com.google.common.util.concurrent.CheckedFuture<List<PersonRequest>,com.covisint.core.http.service.core.ServiceException> search(String registrantId, @Nonnull com.covisint.core.http.service.core.Page page)
registrantId - The registrant id to search. Returns all requests sent by the registrant.page - The pagination criteria. 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)
requestId - The id of the person request to approve.Copyright © 2015 Covisint. All rights reserved.