public class ExpressInterestV2 extends java.lang.Object implements RestPluginProcess
| Constructor and Description |
|---|
ExpressInterestV2() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
decodeExpressInterest(java.lang.String token) |
static java.lang.String |
encodeExpressInterest(Contact contact,
Task task) |
java.lang.Object |
restCreate(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP POST calls the the Create ReST service.
|
java.lang.Object |
restDelete(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP DELETE calls the the Delete ReST service.
|
java.lang.Object |
restRetrieve(WebClient client,
RestDefinition restDefinition,
ReadOnlyDataSource mds1)
HTTP GET calls the the Retrieval ReST service.
|
java.lang.Object |
restUpdate(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP PUT calls the the Update ReST service.
|
public java.lang.Object restRetrieve(WebClient client, RestDefinition restDefinition, ReadOnlyDataSource mds1) throws java.lang.Exception
RestPluginProcessrestRetrieve in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionmds1 - the data source to usejava.lang.UnsupportedOperationException - if this method is NOT supported.java.lang.Exception - an error has occurred.public java.lang.Object restCreate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcessrestCreate in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionmds - the data source to usejava.lang.UnsupportedOperationException - if this method is NOT supported.ExceptionResponse - an error has occurred.java.lang.Exceptionpublic java.lang.Object restUpdate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcessrestUpdate in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionmds - the data source to usejava.lang.UnsupportedOperationException - if this method is NOT supported.ExceptionResponse - an error has occurred.java.lang.Exceptionpublic java.lang.Object restDelete(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcessrestDelete in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionmds - the data source to use.java.lang.UnsupportedOperationException - if this method is NOT supported.ExceptionResponse - an error has occurred.java.lang.Exceptionpublic static java.lang.String[] decodeExpressInterest(java.lang.String token)
throws java.lang.Exception
token - encoded stringjava.io.UnsupportedEncodingExceptionjava.lang.ExceptionstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.