edu.uoc.tfc.exuoc.controladors
Class MDCDAO

java.lang.Object
  extended by edu.uoc.tfc.exuoc.controladors.MDCDAO

public class MDCDAO
extends java.lang.Object


Constructor Summary
protected MDCDAO()
           
 
Method Summary
 MetaDC consulta(java.lang.Class classe, java.lang.Long id)
           
protected  MetaDC consulta(java.lang.Long id)
           
 java.util.Iterator<MetaDC> llista()
           
static void main(java.lang.String[] args)
           
protected  void tancarConnexio()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDCDAO

protected MDCDAO()
Method Detail

tancarConnexio

protected void tancarConnexio()
                       throws org.hibernate.HibernateException
Throws:
org.hibernate.HibernateException

consulta

protected MetaDC consulta(java.lang.Long id)
                   throws org.hibernate.HibernateException,
                          BuitException
Throws:
org.hibernate.HibernateException
BuitException

consulta

public MetaDC consulta(java.lang.Class classe,
                       java.lang.Long id)
                throws org.hibernate.HibernateException,
                       BuitException
Throws:
org.hibernate.HibernateException
BuitException

llista

public java.util.Iterator<MetaDC> llista()
                                  throws LlistatDAOException,
                                         BuitException
Throws:
LlistatDAOException
BuitException

main

public static void main(java.lang.String[] args)