public abstract class RestTransaction extends java.lang.Object implements RestPluginProcess
| Constructor and Description |
|---|
RestTransaction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFullDetails(TransHeader th,
JSONObject json,
VirtualDB vdb,
TransHeaderLogValues helper,
java.util.List logCtrlList) |
protected boolean |
isAnyFilterAvailable(java.util.List logCtrlList)
Determines whether at least one filter available in log controls.
|
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 |
restUpdate(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP PUT calls the the Update ReST service.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrestRetrieveprotected void addFullDetails(TransHeader th, JSONObject json, VirtualDB vdb, TransHeaderLogValues helper, java.util.List logCtrlList) throws java.lang.Exception
java.lang.Exceptionprotected boolean isAnyFilterAvailable(java.util.List logCtrlList)
throws java.lang.Exception
logCtrlList - list of log controlsjava.lang.Exception - If something went wrongpublic java.lang.Object restCreate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.UnsupportedOperationException, java.lang.Exception, java.lang.IllegalArgumentException
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.Exceptionjava.lang.IllegalArgumentExceptionpublic java.lang.Object restUpdate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.UnsupportedOperationException, java.lang.Exception, java.lang.IllegalArgumentException
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.Exceptionjava.lang.IllegalArgumentExceptionpublic java.lang.Object restDelete(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.UnsupportedOperationException, java.lang.Exception, java.lang.IllegalArgumentException
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.Exceptionjava.lang.IllegalArgumentExceptionstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.