public class ProcessorCreateQuery extends net.idea.modbcum.p.AbstractDBProcessor<net.idea.modbcum.i.IQueryObject<IStructureRecord>,IStoredQuery>
StoredQuery
. Example:Modifier and Type | Field and Description |
---|---|
protected boolean |
copy |
protected boolean |
delete |
protected UpdateExecutor<net.idea.modbcum.i.query.IQueryUpdate> |
exec |
protected Template |
profile |
protected QueryExecutor |
qexec |
protected String |
queryName |
protected IStoredQuery |
result |
protected SessionID |
session |
Constructor and Description |
---|
ProcessorCreateQuery() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Template |
getProfile() |
String |
getQueryName() |
SessionID |
getSession() |
IStoredQuery |
getStoredQuery() |
protected void |
insertProfile(IStoredQuery q,
Template template) |
protected int |
insertResults(IStoredQuery result) |
protected int |
insertScreenedResults(IStoredQuery result,
net.idea.modbcum.i.IQueryRetrieval<IStructureRecord> query) |
boolean |
isCopy() |
boolean |
isDelete() |
void |
open() |
IStoredQuery |
process(net.idea.modbcum.i.IQueryObject<IStructureRecord> target) |
void |
setCopy(boolean copy) |
void |
setDelete(boolean delete) |
void |
setProfile(Template profile) |
void |
setQueryName(String queryName) |
void |
setSession(SessionID session) |
void |
setStoredQuery(IStoredQuery storedQuery) |
getConnection, isCloseConnection, isEnabled, setCloseConnection, setConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected IStoredQuery result
protected boolean copy
protected boolean delete
protected Template profile
protected UpdateExecutor<net.idea.modbcum.i.query.IQueryUpdate> exec
protected QueryExecutor qexec
protected String queryName
protected SessionID session
public SessionID getSession()
public void setSession(SessionID session)
public String getQueryName()
public void setQueryName(String queryName)
public Template getProfile()
public void setProfile(Template profile)
public boolean isDelete()
public void setDelete(boolean delete)
public boolean isCopy()
public void setCopy(boolean copy)
public IStoredQuery getStoredQuery()
public void setStoredQuery(IStoredQuery storedQuery)
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<net.idea.modbcum.i.IQueryObject<IStructureRecord>,IStoredQuery>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<net.idea.modbcum.i.IQueryObject<IStructureRecord>,IStoredQuery>
net.idea.modbcum.i.exceptions.DbAmbitException
public IStoredQuery process(net.idea.modbcum.i.IQueryObject<IStructureRecord> target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected void insertProfile(IStoredQuery q, Template template) throws Exception
Exception
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<net.idea.modbcum.i.IQueryObject<IStructureRecord>,IStoredQuery>
close
in class net.idea.modbcum.p.AbstractDBProcessor<net.idea.modbcum.i.IQueryObject<IStructureRecord>,IStoredQuery>
Exception
protected int insertScreenedResults(IStoredQuery result, net.idea.modbcum.i.IQueryRetrieval<IStructureRecord> query) throws SQLException, net.idea.modbcum.i.exceptions.AmbitException
SQLException
net.idea.modbcum.i.exceptions.AmbitException
protected int insertResults(IStoredQuery result) throws SQLException, net.idea.modbcum.i.exceptions.AmbitException
SQLException
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.