|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Type
com.ail.core.command.AbstractCommand
com.ail.core.command.Command
com.ail.core.persistence.QueryCommand
public class QueryCommand
| Field Summary |
|---|
| Fields inherited from class com.ail.core.Type |
|---|
jXPathContext, NOT_PERSISTED |
| Constructor Summary | |
|---|---|
QueryCommand()
|
|
| Method Summary | |
|---|---|
CommandArg |
getArgs()
Get the argument set associated with this command. |
java.lang.Object[] |
getQueryArgumentsArg()
Getter for the list of arument values referenced in the query |
java.lang.String |
getQueryNameArg()
Getter for the query property. |
java.util.List<?> |
getResultsListRet()
Getter returning the results of the query |
Type |
getUniqueResultRet()
Gets the unique result - assuming there was only one object returned. |
void |
setArgs(CommandArg arg)
Update this Command object's arguments with those taken from the command arg passed in. |
void |
setQueryArgumentsArg(java.lang.Object... queryArgumentsArg)
Setter for the list of argument values referenced in the query. |
void |
setQueryNameArg(java.lang.String queryName)
Setter for the query string property. |
void |
setResultsListRet(java.util.List<java.lang.Object> resultsListRet)
Setter for the list of query results |
void |
setUniqueResultRet(Type type)
Set the unique result. |
| Methods inherited from class com.ail.core.command.Command |
|---|
clone, getAccessor, getCallersCore, getConfiguration, getVersion, invoke, setAccessor, setCallersCore, setConfiguration, setService |
| Methods inherited from class com.ail.core.Type |
|---|
addAttribute, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ail.core.command.CommandArg |
|---|
getCallersCore, setCallersCore |
| Constructor Detail |
|---|
public QueryCommand()
| Method Detail |
|---|
public void setArgs(CommandArg arg)
AbstractCommand
setArgs in class AbstractCommandarg - Source for argumentspublic CommandArg getArgs()
AbstractCommand
getArgs in class AbstractCommandpublic void setQueryArgumentsArg(java.lang.Object... queryArgumentsArg)
QueryArg
setQueryArgumentsArg in interface QueryArgQueryArg.getQueryArgumentsArg()public java.lang.Object[] getQueryArgumentsArg()
QueryArg
getQueryArgumentsArg in interface QueryArgpublic void setQueryNameArg(java.lang.String queryName)
QueryArg
setQueryNameArg in interface QueryArg#getQuerypublic java.lang.String getQueryNameArg()
QueryArg
getQueryNameArg in interface QueryArgpublic java.util.List<?> getResultsListRet()
QueryArg
getResultsListRet in interface QueryArgpublic void setResultsListRet(java.util.List<java.lang.Object> resultsListRet)
QueryArg
setResultsListRet in interface QueryArgresultsListRet - List of resultspublic Type getUniqueResultRet()
QueryArg
getUniqueResultRet in interface QueryArgpublic void setUniqueResultRet(Type type)
QueryArg
setUniqueResultRet in interface QueryArgtype - ResultQueryArg.getUniqueResultRet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||