it.unibas.acim2pincohibernate.persistenza
Class DAOAutomobile

java.lang.Object
  extended by it.unibas.acim2pincohibernate.persistenza.DAOAutomobile

public class DAOAutomobile
extends java.lang.Object


Constructor Summary
DAOAutomobile()
           
 
Method Summary
static Automobile findByTarga(java.lang.String targa)
           
static void makePersistent(Automobile automobile)
           
static void makeTransient(Automobile automobile)
           
static void scambiaTarghe(Automobile automobile1, Automobile automobile2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOAutomobile

public DAOAutomobile()
Method Detail

findByTarga

public static Automobile findByTarga(java.lang.String targa)
                              throws DAOException
Throws:
DAOException

makePersistent

public static void makePersistent(Automobile automobile)
                           throws DAOException
Throws:
DAOException

makeTransient

public static void makeTransient(Automobile automobile)
                          throws DAOException
Throws:
DAOException

scambiaTarghe

public static void scambiaTarghe(Automobile automobile1,
                                 Automobile automobile2)
                          throws DAOException
Throws:
DAOException