public abstract class CallableQueryProcessor<Target,Result,USERID> extends CallableProtectedTask<USERID>
| Modifier and Type | Field and Description |
|---|---|
protected String |
agent |
protected net.idea.modbcum.p.batch.AbstractBatchProcessor |
batch |
protected org.restlet.Context |
context |
protected String |
referer |
protected org.restlet.data.Reference |
sourceReference |
protected Target |
target |
logFile, logger, uuid| Constructor and Description |
|---|
CallableQueryProcessor(org.restlet.data.Form form,
org.restlet.Context context,
USERID token,
String referer,
org.restlet.data.ClientInfo clientinfo) |
CallableQueryProcessor(org.restlet.data.Reference applicationRootReference,
org.restlet.data.Form form,
org.restlet.Context context,
USERID token,
String referer,
org.restlet.data.ClientInfo clientinfo) |
| Modifier and Type | Method and Description |
|---|---|
protected net.idea.modbcum.p.batch.AbstractBatchProcessor |
createBatch(Target target) |
protected abstract net.idea.modbcum.i.processors.ProcessorsChain<Result,net.idea.modbcum.i.batch.IBatchStatistics,net.idea.modbcum.i.processors.IProcessor> |
createProcessors() |
protected abstract TaskResult |
createReference(Connection connection) |
protected abstract Target |
createTarget(org.restlet.data.Reference reference) |
TaskResult |
doCall() |
String |
getAgent() |
String |
getCookies() |
static Object |
getQueryObject(org.restlet.data.Reference reference,
org.restlet.data.Reference applicationRootReference,
org.restlet.Context context,
org.restlet.util.Series<org.restlet.data.Cookie> cookies,
String agent,
String referer) |
static Object |
getQueryObject(org.restlet.data.Reference reference,
org.restlet.data.Reference applicationRootReference,
org.restlet.Context context,
String cookies,
String agent,
String referer) |
protected void |
processForm(org.restlet.data.Reference applicationRootReference,
org.restlet.data.Form form) |
protected net.idea.modbcum.i.batch.IBatchStatistics |
runBatch(Target target) |
call, getTaskCategory, getToken, getUuid, setUuidprotected net.idea.modbcum.p.batch.AbstractBatchProcessor batch
protected Target target
protected org.restlet.data.Reference sourceReference
protected org.restlet.Context context
protected String referer
protected String agent
public CallableQueryProcessor(org.restlet.data.Form form,
org.restlet.Context context,
USERID token,
String referer,
org.restlet.data.ClientInfo clientinfo)
public String getCookies()
public String getAgent()
protected void processForm(org.restlet.data.Reference applicationRootReference,
org.restlet.data.Form form)
public TaskResult doCall() throws Exception
doCall in class CallableProtectedTask<USERID>Exceptionprotected net.idea.modbcum.i.batch.IBatchStatistics runBatch(Target target) throws Exception
Exceptionprotected net.idea.modbcum.p.batch.AbstractBatchProcessor createBatch(Target target) throws Exception
Exceptionprotected abstract Target createTarget(org.restlet.data.Reference reference) throws Exception
Exceptionprotected abstract TaskResult createReference(Connection connection) throws Exception
Exceptionprotected abstract net.idea.modbcum.i.processors.ProcessorsChain<Result,net.idea.modbcum.i.batch.IBatchStatistics,net.idea.modbcum.i.processors.IProcessor> createProcessors() throws Exception
Exceptionpublic static Object getQueryObject(org.restlet.data.Reference reference, org.restlet.data.Reference applicationRootReference, org.restlet.Context context, org.restlet.util.Series<org.restlet.data.Cookie> cookies, String agent, String referer) throws Exception
ExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.