public class PersonClientImpl extends com.covisint.core.http.service.client.BaseResourceClient<Person> implements PersonClient
PersonClient.| Constructor and Description |
|---|
PersonClientImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
activate(String personId,
org.apache.http.protocol.HttpContext context)
Activates a
Person in pending status. |
com.google.common.util.concurrent.CheckedFuture<Person,com.covisint.core.http.service.core.ServiceException> |
delete(String id,
org.apache.http.protocol.HttpContext httpContext) |
void |
setActivateEndpointTemplate(com.damnhandy.uri.template.UriTemplate template)
Sets the "activate person endpoint" URI template.
|
void |
setSuspendEndpointTemplate(com.damnhandy.uri.template.UriTemplate template)
Sets the "suspend person endpoint" URI template.
|
void |
setUnsuspendEndpointTemplate(com.damnhandy.uri.template.UriTemplate template)
Sets the "unsuspend person endpoint" URI template.
|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
suspend(String personId,
org.apache.http.protocol.HttpContext context)
Suspends a
Person in active status. |
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
unsuspend(String personId,
org.apache.http.protocol.HttpContext context)
Unsuspends a
Person in suspend status. |
add, buildSearchKey, doGet, execute, executeWithBody, executeWithBody, executeWithPrecondition, get, get, getEndpointWithQueryParams, getLocalCache, persist, search, searchpublic final com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> activate(@Nonnull@NotEmpty String personId, @Nonnull org.apache.http.protocol.HttpContext context)
Person in pending status.activate in interface PersonClientpersonId - The id of the Person to activate.context - The HTTP context used to pass state.public final com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> suspend(@Nonnull@NotEmpty String personId, @Nonnull org.apache.http.protocol.HttpContext context)
Person in active status.suspend in interface PersonClientpersonId - The id of the Person to suspend.context - The HTTP context used to pass state.public final com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> unsuspend(@Nonnull@NotEmpty String personId, @Nonnull org.apache.http.protocol.HttpContext context)
Person in suspend status.unsuspend in interface PersonClientpersonId - The id of the Person to unsuspend.context - The HTTP context used to pass state.public final void setActivateEndpointTemplate(@Nonnull
com.damnhandy.uri.template.UriTemplate template)
template - The URI template to set.public final void setSuspendEndpointTemplate(@Nonnull
com.damnhandy.uri.template.UriTemplate template)
template - The URI template to set.public final void setUnsuspendEndpointTemplate(@Nonnull
com.damnhandy.uri.template.UriTemplate template)
template - The URI template to set.Copyright © 2015 Covisint. All rights reserved.