it.eng.spagobi.bo.dao.hibernate
Class ObjParuseDAOHibImpl

java.lang.Object
  extended by it.eng.spagobi.bo.dao.hibernate.AbstractHibernateDAO
      extended by it.eng.spagobi.bo.dao.hibernate.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)
          Implements the query to erase a ObjParuse.
 java.util.List getDependencies(java.lang.Integer objParFatherId)
          Returns the list of labels of BIObjectParameter objects that have a correlation relationship with the BIObjectParameter at input, given its id.
 void insertObjParuse(ObjParuse aObjParuse)
          Implements the query to insert a ObjParuse.
 ObjParuse loadObjParuse(java.lang.Integer objParId, java.lang.Integer paruseId)
          Loads all detail information for a ObjParuse identified by its objParId and its paruseId.
 java.util.List loadObjParuses(java.lang.Integer objParId)
          Returns the list of all ObjParuse objects associated to a BIObjectParameter, known its objParId.
 void modifyObjParuse(ObjParuse aObjParuse)
          Implements the query to modify a ObjParuse.
 ObjParuse toObjParuse(SbiObjParuse aSbiObjParuse)
          From the hibernate SbiObjParuse at input, gives the corrispondent ObjParuse object.
 
Methods inherited from class it.eng.spagobi.bo.dao.hibernate.AbstractHibernateDAO
getSession, logException
 
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

loadObjParuse

public ObjParuse loadObjParuse(java.lang.Integer objParId,
                               java.lang.Integer paruseId)
                        throws EMFUserError
Description copied from interface: IObjParuseDAO
Loads all detail information for a ObjParuse identified by its objParId and its paruseId. All these information, achived by a query to the DB, are stored into a ObjParuse object, which is returned.

Specified by:
loadObjParuse in interface IObjParuseDAO
Parameters:
objParId - The id for the BI object parameter to load
paruseId - The parameterUse-id for the Parameter to load
Returns:
A ObjParuse object containing all loaded information
Throws:
EMFUserError - If an Exception occurred
See Also:
IObjParuseDAO.loadObjParuse(java.lang.Integer, java.lang.Integer)

modifyObjParuse

public void modifyObjParuse(ObjParuse aObjParuse)
                     throws EMFUserError
Description copied from interface: IObjParuseDAO
Implements the query to modify a ObjParuse. All information needed is stored into the input ObjParuse object.

Specified by:
modifyObjParuse in interface IObjParuseDAO
Parameters:
aObjParuse - The ObjParuse containing all modify information
Throws:
EMFUserError - If an Exception occurred
See Also:
IObjParuseDAO.modifyObjParuse(it.eng.spagobi.bo.ObjParuse)

insertObjParuse

public void insertObjParuse(ObjParuse aObjParuse)
                     throws EMFUserError
Description copied from interface: IObjParuseDAO
Implements the query to insert a ObjParuse. All information needed is stored into the input ObjParuse object.

Specified by:
insertObjParuse in interface IObjParuseDAO
Parameters:
aObjParuse - The ObjParuse containing all insert information
Throws:
EMFUserError - If an Exception occurred
See Also:
IObjParuseDAO.insertObjParuse(it.eng.spagobi.bo.ObjParuse)

eraseObjParuse

public void eraseObjParuse(ObjParuse aObjParuse)
                    throws EMFUserError
Description copied from interface: IObjParuseDAO
Implements the query to erase a ObjParuse. All information needed is stored into the input ObjParuse object.

Specified by:
eraseObjParuse in interface IObjParuseDAO
Parameters:
aObjParuse - The object containing all delete information
Throws:
EMFUserError - If an Exception occurred
See Also:
IObjParuseDAO.eraseObjParuse(ObjParuse)

loadObjParuses

public java.util.List loadObjParuses(java.lang.Integer objParId)
                              throws EMFUserError
Description copied from interface: IObjParuseDAO
Returns the list of all ObjParuse objects associated to a BIObjectParameter, known its objParId.

Specified by:
loadObjParuses in interface IObjParuseDAO
Parameters:
objParId - The input BIObjectParameter id code
Returns:
The list of all ObjParuse objects associated
Throws:
EMFUserError - If any exception occurred
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 EMFUserError
Description copied from interface: IObjParuseDAO
Returns the list of labels of BIObjectParameter objects that have a correlation relationship with the BIObjectParameter at input, given its id.

Specified by:
getDependencies in interface IObjParuseDAO
Parameters:
objParFatherId - The id of the BIObjectParameter
Returns:
the list of BIObjectParameter objects that have a correlation relationship with the BIObjectParameter at input
Throws:
EMFUserError
See Also:
IObjParuseDAO.getDependencies(Integer)