org.apache.agila.dao.jdbc
Class InstanceDAOJdbc

java.lang.Object
  extended by org.apache.agila.dao.jdbc.InstanceDAOJdbc
All Implemented Interfaces:
InstanceDAO

public class InstanceDAOJdbc
extends java.lang.Object
implements InstanceDAO

$Id: InstanceDAOJdbc.java 232595 2005-08-14 11:11:13Z clim $


Constructor Summary
InstanceDAOJdbc()
           
 
Method Summary
 int generateKey()
          Generates a unique key
 Instance getInstanceByID(InstanceID id)
           
 InstanceServiceInfo getInstanceServiceInfo()
           
 java.util.List listInstanceInfo()
           
 Instance newInstance(BusinessProcessID processID, java.util.Map params)
           
 void saveInstance(Instance instance)
           
 void setBusinessProcess(BusinessProcessDAO businessProcessDAO)
           
 void setDataSource(javax.sql.DataSource dataSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceDAOJdbc

public InstanceDAOJdbc()
Method Detail

newInstance

public Instance newInstance(BusinessProcessID processID,
                            java.util.Map params)
                     throws InstanceException
Specified by:
newInstance in interface InstanceDAO
Throws:
InstanceException

saveInstance

public void saveInstance(Instance instance)
                  throws InstanceException
Specified by:
saveInstance in interface InstanceDAO
Throws:
InstanceException

getInstanceByID

public Instance getInstanceByID(InstanceID id)
                         throws InstanceException
Specified by:
getInstanceByID in interface InstanceDAO
Throws:
InstanceException

listInstanceInfo

public java.util.List listInstanceInfo()
                                throws InstanceException
Specified by:
listInstanceInfo in interface InstanceDAO
Throws:
InstanceException

getInstanceServiceInfo

public InstanceServiceInfo getInstanceServiceInfo()
                                           throws InstanceException
Specified by:
getInstanceServiceInfo in interface InstanceDAO
Throws:
InstanceException

setBusinessProcess

public void setBusinessProcess(BusinessProcessDAO businessProcessDAO)

setDataSource

public void setDataSource(javax.sql.DataSource dataSource)

generateKey

public int generateKey()
Generates a unique key



Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.