public abstract class AbstractQuery extends Object implements org.apache.commons.chain.Command
Repository
through either SQL or XPATH language.Constructor and Description |
---|
AbstractQuery() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.apache.commons.chain.Context ctx) |
String |
getDestKey() |
protected abstract String |
getLanguage() |
String |
getStatementKey() |
void |
setDestKey(String toKey) |
void |
setStatementKey(String statementKey) |
public final boolean execute(org.apache.commons.chain.Context ctx) throws Exception
execute
in interface org.apache.commons.chain.Command
Exception
protected abstract String getLanguage()
public String getStatementKey()
public void setStatementKey(String statementKey)
statementKey
- the statement key to setpublic String getDestKey()
public void setDestKey(String toKey)
toKey
- the destination key to setCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.