public class ExpressInterest extends java.lang.Object implements RestPluginProcess
| Constructor and Description |
|---|
ExpressInterest() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
createExpressInterestURL(DBEmailSend email,
Contact contact,
Task task,
boolean noExpress) |
static java.lang.String[] |
decodeContact(java.lang.String s) |
static java.lang.String[] |
decodeExpressInterest(java.lang.String s) |
static java.lang.String |
encodeContact(Contact contact) |
static java.lang.String |
encodeExpressInterest(Task task) |
java.lang.Object |
restCreate(WebClient client,
RestDefinition restDefinition,
MutableDataSource ds)
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 rds)
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 rds) throws java.lang.Exception
RestPluginProcessrestRetrieve in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionrds - 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 ds) throws ExceptionResponse
RestPluginProcessrestCreate in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionds - the data source to useExceptionResponse - an error has occurred.public java.lang.Object restUpdate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws ExceptionResponse
RestPluginProcessrestUpdate in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionmds - the data source to useExceptionResponse - an error has occurred.public java.lang.Object restDelete(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws ExceptionResponse
RestPluginProcessrestDelete in interface RestPluginProcessclient - the client. Null means check only of opsrestDefinition - the definitionmds - the data source to use.ExceptionResponse - an error has occurred.public static java.lang.String[] decodeExpressInterest(java.lang.String s)
throws java.lang.Exception
s - encoded stringjava.io.UnsupportedEncodingExceptionjava.lang.Exceptionpublic static java.lang.String encodeExpressInterest(Task task) throws java.lang.Exception
task - java.lang.Exception - a serious problem.public static java.lang.String createExpressInterestURL(DBEmailSend email, Contact contact, Task task, boolean noExpress) throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String encodeContact(Contact contact) throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String[] decodeContact(java.lang.String s)
throws java.lang.Exception
s - encoded stringjava.io.UnsupportedEncodingExceptionjava.lang.ExceptionstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.