org.apache.tuscany.das.rdb.impl
Class SPCommandImpl

java.lang.Object
  extended by org.apache.tuscany.das.rdb.impl.BaseCommandImpl
      extended by org.apache.tuscany.das.rdb.impl.CommandImpl
          extended by org.apache.tuscany.das.rdb.impl.ReadCommandImpl
              extended by org.apache.tuscany.das.rdb.impl.SPCommandImpl
All Implemented Interfaces:
Command

public class SPCommandImpl
extends ReadCommandImpl


Field Summary
 
Fields inherited from class org.apache.tuscany.das.rdb.impl.CommandImpl
parameters, resultSetShape, statement
 
Fields inherited from class org.apache.tuscany.das.rdb.impl.BaseCommandImpl
configWrapper
 
Constructor Summary
SPCommandImpl(java.lang.String sqlString, MappingWrapper config, java.util.List params)
           
 
Method Summary
 void execute()
          Performs the function defined by the command
 commonj.sdo.DataObject executeQuery()
          Performs the function defined by the command and return the results in the root DataObject
 
Methods inherited from class org.apache.tuscany.das.rdb.impl.ReadCommandImpl
addResultDescriptor, buildGraph, enablePaging, getEndRow, getResultDescriptor, getResultDescriptors, getStartRow, printResultDescriptors, removeResultDescriptor, removeResultDescriptor, setEndRow, setResultDescriptors, setStartRow
 
Methods inherited from class org.apache.tuscany.das.rdb.impl.CommandImpl
addParameter, close, getConnection, getGeneratedKey, getParameter, getParameter, getParameters, setConnection, setParameter, setParameter
 
Methods inherited from class org.apache.tuscany.das.rdb.impl.BaseCommandImpl
setConnection, setConnection, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPCommandImpl

public SPCommandImpl(java.lang.String sqlString,
                     MappingWrapper config,
                     java.util.List params)
Method Detail

executeQuery

public commonj.sdo.DataObject executeQuery()
Description copied from interface: Command
Performs the function defined by the command and return the results in the root DataObject

Specified by:
executeQuery in interface Command
Overrides:
executeQuery in class ReadCommandImpl
Returns:
the root DataObject

execute

public void execute()
Description copied from interface: Command
Performs the function defined by the command

Specified by:
execute in interface Command
Overrides:
execute in class ReadCommandImpl


Copyright © 2007 Apache Software Foundation. All Rights Reserved.