public class PinClientImpl extends com.covisint.core.http.service.client.BaseResourceClient<Pin> implements PinClient
| Constructor and Description |
|---|
PinClientImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Pin,com.covisint.core.http.service.core.ServiceException> |
add(Pin resource,
org.apache.http.protocol.HttpContext httpContext) |
com.damnhandy.uri.template.UriTemplate |
getExistingEndpointTemplate()
Gets the URI template for the existing endpoint.
|
com.damnhandy.uri.template.UriTemplate |
getValidateEndpointTemplate()
Gets the URI template for the validate endpoint.
|
com.google.common.util.concurrent.CheckedFuture<Boolean,com.covisint.core.http.service.core.ServiceException> |
isExisting(String id,
org.apache.http.protocol.HttpContext httpContext)
Validate if the pin existing for the user.
|
com.google.common.util.concurrent.CheckedFuture<List<Pin>,com.covisint.core.http.service.core.ServiceException> |
search(com.google.common.collect.Multimap<String,String> searchCriteria,
com.covisint.core.http.service.core.SortCriteria sortCriteria,
com.covisint.core.http.service.core.Page page,
org.apache.http.protocol.HttpContext httpContext) |
void |
setExistingEndpointTemplate(com.damnhandy.uri.template.UriTemplate newExistingEndpointTemplate)
Sets the URI template for the existing endpoint.
|
void |
setValidateEndpointTemplate(com.damnhandy.uri.template.UriTemplate newValidateEndpointTemplate)
Sets the URI template for the validate endpoint.
|
com.google.common.util.concurrent.CheckedFuture<Boolean,com.covisint.core.http.service.core.ServiceException> |
validatePIN(String id,
String pin,
String requestor,
org.apache.http.protocol.HttpContext httpContext)
Validate the pin.
|
buildSearchKey, delete, doGet, execute, executeWithBody, executeWithBody, executeWithPrecondition, get, get, getEndpointWithQueryParams, getLocalCache, persist, searchpublic com.google.common.util.concurrent.CheckedFuture<Boolean,com.covisint.core.http.service.core.ServiceException> validatePIN(@Nonnull@NotEmpty String id, @Nonnull@NotEmpty String pin, @Nonnull@NotEmpty String requestor, @Nonnull org.apache.http.protocol.HttpContext httpContext)
validatePIN in interface PinClientid - the subject name of user.pin - the pin number.requestor - the requestor.httpContext - http context which should include prefer language.public com.google.common.util.concurrent.CheckedFuture<Boolean,com.covisint.core.http.service.core.ServiceException> isExisting(@Nonnull@NotEmpty String id, @Nonnull org.apache.http.protocol.HttpContext httpContext)
isExisting in interface PinClientid - the subject name of user.httpContext - http context which should include prefer language.public com.damnhandy.uri.template.UriTemplate getValidateEndpointTemplate()
public void setValidateEndpointTemplate(com.damnhandy.uri.template.UriTemplate newValidateEndpointTemplate)
newValidateEndpointTemplate - The URI template to set.public com.damnhandy.uri.template.UriTemplate getExistingEndpointTemplate()
public void setExistingEndpointTemplate(com.damnhandy.uri.template.UriTemplate newExistingEndpointTemplate)
newExistingEndpointTemplate - The URI template to set.public com.google.common.util.concurrent.CheckedFuture<List<Pin>,com.covisint.core.http.service.core.ServiceException> search(com.google.common.collect.Multimap<String,String> searchCriteria, com.covisint.core.http.service.core.SortCriteria sortCriteria, com.covisint.core.http.service.core.Page page, org.apache.http.protocol.HttpContext httpContext)
Copyright © 2015 Covisint. All rights reserved.