it.eng.spagobi.tools.udp.dao
Class UdpDAOHibImpl

java.lang.Object
  extended by it.eng.spagobi.commons.dao.AbstractHibernateDAO
      extended by it.eng.spagobi.tools.udp.dao.UdpDAOHibImpl
All Implemented Interfaces:
IUdpDAO

public class UdpDAOHibImpl
extends AbstractHibernateDAO
implements IUdpDAO

Author:
Antonella Giachino
See Also:
it.eng.spagobi.tools.udp.bo.SbiUdp

Constructor Summary
UdpDAOHibImpl()
           
 
Method Summary
 java.lang.Integer countUdp()
           
 void delete(java.lang.Integer id)
           
 void delete(SbiUdp prop)
           
 void delete(org.hibernate.Session session, java.lang.Integer id)
           
 void delete(org.hibernate.Session session, SbiUdp item)
           
 java.util.List<SbiUdp> findAll()
           
 SbiUdp findById(java.lang.Integer id)
           
 java.lang.Integer insert(SbiUdp prop)
           
 void insert(org.hibernate.Session session, SbiUdp prop)
           
 java.util.List<Udp> loadAllByFamily(java.lang.String familyCd)
           
 Udp loadById(java.lang.Integer id)
           
 Udp loadByLabel(java.lang.String label)
          Load a Udp by Label
 Udp loadByLabelAndFamily(java.lang.String label, java.lang.String family)
          Load a Udp by Label and Family code
 java.util.List<SbiUdp> loadPagedUdpList(java.lang.Integer offset, java.lang.Integer fetchSize)
           
 Udp toUdp(SbiUdp sbiUdp)
           
 void update(SbiUdp prop)
           
 void update(org.hibernate.Session session, SbiUdp prop)
           
 
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO
getSession, logException, rollbackIfActiveAndClose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UdpDAOHibImpl

public UdpDAOHibImpl()
Method Detail

insert

public java.lang.Integer insert(SbiUdp prop)
Specified by:
insert in interface IUdpDAO

insert

public void insert(org.hibernate.Session session,
                   SbiUdp prop)
Specified by:
insert in interface IUdpDAO

update

public void update(SbiUdp prop)
Specified by:
update in interface IUdpDAO

update

public void update(org.hibernate.Session session,
                   SbiUdp prop)
Specified by:
update in interface IUdpDAO

delete

public void delete(SbiUdp prop)
Specified by:
delete in interface IUdpDAO

delete

public void delete(org.hibernate.Session session,
                   SbiUdp item)
Specified by:
delete in interface IUdpDAO

delete

public void delete(java.lang.Integer id)
Specified by:
delete in interface IUdpDAO

delete

public void delete(org.hibernate.Session session,
                   java.lang.Integer id)
Specified by:
delete in interface IUdpDAO

findById

public SbiUdp findById(java.lang.Integer id)
Specified by:
findById in interface IUdpDAO

loadById

public Udp loadById(java.lang.Integer id)
Specified by:
loadById in interface IUdpDAO

loadByLabel

public Udp loadByLabel(java.lang.String label)
                throws it.eng.spago.error.EMFUserError
Load a Udp by Label

Specified by:
loadByLabel in interface IUdpDAO
Throws:
it.eng.spago.error.EMFUserError

loadByLabelAndFamily

public Udp loadByLabelAndFamily(java.lang.String label,
                                java.lang.String family)
                         throws it.eng.spago.error.EMFUserError
Load a Udp by Label and Family code

Specified by:
loadByLabelAndFamily in interface IUdpDAO
Throws:
it.eng.spago.error.EMFUserError

findAll

public java.util.List<SbiUdp> findAll()
Specified by:
findAll in interface IUdpDAO

loadAllByFamily

public java.util.List<Udp> loadAllByFamily(java.lang.String familyCd)
                                    throws it.eng.spago.error.EMFUserError
Specified by:
loadAllByFamily in interface IUdpDAO
Throws:
it.eng.spago.error.EMFUserError

toUdp

public Udp toUdp(SbiUdp sbiUdp)

countUdp

public java.lang.Integer countUdp()
                           throws it.eng.spago.error.EMFUserError
Specified by:
countUdp in interface IUdpDAO
Throws:
it.eng.spago.error.EMFUserError

loadPagedUdpList

public java.util.List<SbiUdp> loadPagedUdpList(java.lang.Integer offset,
                                               java.lang.Integer fetchSize)
                                        throws it.eng.spago.error.EMFUserError
Specified by:
loadPagedUdpList in interface IUdpDAO
Throws:
it.eng.spago.error.EMFUserError