it.eng.spagobi.behaviouralmodel.analyticaldriver.dao
Class ObjParuseDAOHibImpl

java.lang.Object
  extended by it.eng.spagobi.commons.dao.AbstractHibernateDAO
      extended by it.eng.spagobi.behaviouralmodel.analyticaldriver.dao.ObjParuseDAOHibImpl
All Implemented Interfaces:
IObjParuseDAO

public class ObjParuseDAOHibImpl
extends AbstractHibernateDAO
implements IObjParuseDAO

Defines the Hibernate implementations for all DAO methods, for a ObjParuse object.

Author:
Zerbetto

Constructor Summary
ObjParuseDAOHibImpl()
           
 
Method Summary
 void eraseObjParuse(ObjParuse aObjParuse)
          Erase obj paruse.
 java.util.List getAllDependenciesForParameterUse(java.lang.Integer useId)
          Gets the all dependencies for parameter use.
 java.util.List getDependencies(java.lang.Integer objParFatherId)
          Gets the dependencies.
 java.util.List getDocumentLabelsListWithAssociatedDependencies(java.lang.Integer useId)
          Gets the document labels list with associated dependencies.
 void insertObjParuse(ObjParuse aObjParuse)
          Insert obj paruse.
 java.util.List loadObjParuse(java.lang.Integer objParId, java.lang.Integer paruseId)
          Load obj paruse.
 java.util.List loadObjParuses(java.lang.Integer objParId)
          Load obj paruses.
 void modifyObjParuse(ObjParuse aObjParuse)
          Modify obj paruse.
 ObjParuse toObjParuse(SbiObjParuse aSbiObjParuse)
          From the hibernate SbiObjParuse at input, gives the corrispondent ObjParuse object.
 
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

ObjParuseDAOHibImpl

public ObjParuseDAOHibImpl()
Method Detail

modifyObjParuse

public void modifyObjParuse(ObjParuse aObjParuse)
                     throws it.eng.spago.error.EMFUserError
Modify obj paruse.

Specified by:
modifyObjParuse in interface IObjParuseDAO
Parameters:
aObjParuse - the a obj paruse
Throws:
it.eng.spago.error.EMFUserError - the EMF user error
See Also:
IObjParuseDAO.modifyObjParuse(it.eng.spagobi.behaviouralmodel.analyticaldriver.bo.ObjParuse)

insertObjParuse

public void insertObjParuse(ObjParuse aObjParuse)
                     throws it.eng.spago.error.EMFUserError
Insert obj paruse.

Specified by:
insertObjParuse in interface IObjParuseDAO
Parameters:
aObjParuse - the a obj paruse
Throws:
it.eng.spago.error.EMFUserError - the EMF user error
See Also:
IObjParuseDAO.insertObjParuse(it.eng.spagobi.behaviouralmodel.analyticaldriver.bo.ObjParuse)

eraseObjParuse

public void eraseObjParuse(ObjParuse aObjParuse)
                    throws it.eng.spago.error.EMFUserError
Erase obj paruse.

Specified by:
eraseObjParuse in interface IObjParuseDAO
Parameters:
aObjParuse - the a obj paruse
Throws:
it.eng.spago.error.EMFUserError - the EMF user error
See Also:
IObjParuseDAO.eraseObjParuse(ObjParuse)

loadObjParuses

public java.util.List loadObjParuses(java.lang.Integer objParId)
                              throws it.eng.spago.error.EMFUserError
Load obj paruses.

Specified by:
loadObjParuses in interface IObjParuseDAO
Parameters:
objParId - the obj par id
Returns:
the list
Throws:
it.eng.spago.error.EMFUserError - the EMF user error
See Also:
IObjParuseDAO.loadObjParuses(Integer)

toObjParuse

public ObjParuse toObjParuse(SbiObjParuse aSbiObjParuse)
From the hibernate SbiObjParuse at input, gives the corrispondent ObjParuse object.

Parameters:
aSbiObjParuse - The hybernate SbiObjParuse
Returns:
The corrispondent ObjParuse

getDependencies

public java.util.List getDependencies(java.lang.Integer objParFatherId)
                               throws it.eng.spago.error.EMFUserError
Gets the dependencies.

Specified by:
getDependencies in interface IObjParuseDAO
Parameters:
objParFatherId - the obj par father id
Returns:
the dependencies
Throws:
it.eng.spago.error.EMFUserError - the EMF user error
See Also:
IObjParuseDAO.getDependencies(Integer)

getAllDependenciesForParameterUse

public java.util.List getAllDependenciesForParameterUse(java.lang.Integer useId)
                                                 throws it.eng.spago.error.EMFUserError
Gets the all dependencies for parameter use.

Specified by:
getAllDependenciesForParameterUse in interface IObjParuseDAO
Parameters:
useId - the use id
Returns:
the all dependencies for parameter use
Throws:
it.eng.spago.error.EMFUserError - the EMF user error
See Also:
IObjParuseDAO.getAllDependenciesForParameterUse(java.lang.Integer)

getDocumentLabelsListWithAssociatedDependencies

public java.util.List getDocumentLabelsListWithAssociatedDependencies(java.lang.Integer useId)
                                                               throws it.eng.spago.error.EMFUserError
Gets the document labels list with associated dependencies.

Specified by:
getDocumentLabelsListWithAssociatedDependencies in interface IObjParuseDAO
Parameters:
useId - the use id
Returns:
the document labels list with associated dependencies
Throws:
it.eng.spago.error.EMFUserError - the EMF user error
See Also:
IObjParuseDAO.getDocumentLabelsListWithAssociatedDependencies(java.lang.Integer)

loadObjParuse

public java.util.List loadObjParuse(java.lang.Integer objParId,
                                    java.lang.Integer paruseId)
                             throws it.eng.spago.error.EMFUserError
Load obj paruse.

Specified by:
loadObjParuse in interface IObjParuseDAO
Parameters:
objParId - the obj par id
paruseId - the paruse id
Returns:
the list
Throws:
it.eng.spago.error.EMFUserError - the EMF user error
See Also:
IObjParuseDAO.loadObjParuse(java.lang.Integer, java.lang.Integer)