it.eng.spagobi.bo.dao
Interface IObjParuseDAO

All Known Implementing Classes:
ObjParuseDAOHibImpl

public interface IObjParuseDAO

Defines the interfaces for all methods needed to insert, modify and deleting a ObjParuse.

Author:
Zerbetto

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.
 

Method Detail

loadObjParuse

ObjParuse loadObjParuse(java.lang.Integer objParId,
                        java.lang.Integer paruseId)
                        throws EMFUserError
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.

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

modifyObjParuse

void modifyObjParuse(ObjParuse aObjParuse)
                     throws EMFUserError
Implements the query to modify a ObjParuse. All information needed is stored into the input ObjParuse object.

Parameters:
aObjParuse - The ObjParuse containing all modify information
Throws:
EMFUserError - If an Exception occurred

insertObjParuse

void insertObjParuse(ObjParuse aObjParuse)
                     throws EMFUserError
Implements the query to insert a ObjParuse. All information needed is stored into the input ObjParuse object.

Parameters:
aObjParuse - The ObjParuse containing all insert information
Throws:
EMFUserError - If an Exception occurred

eraseObjParuse

void eraseObjParuse(ObjParuse aObjParuse)
                    throws EMFUserError
Implements the query to erase a ObjParuse. All information needed is stored into the input ObjParuse object.

Parameters:
aObjParuse - The object containing all delete information
Throws:
EMFUserError - If an Exception occurred

loadObjParuses

java.util.List loadObjParuses(java.lang.Integer objParId)
                              throws EMFUserError
Returns the list of all ObjParuse objects associated to a BIObjectParameter, known its objParId.

Parameters:
objParId - The input BIObjectParameter id code
Returns:
The list of all ObjParuse objects associated
Throws:
EMFUserError - If any exception occurred

getDependencies

java.util.List getDependencies(java.lang.Integer objParFatherId)
                               throws EMFUserError
Returns the list of labels of BIObjectParameter objects that have a correlation relationship with the BIObjectParameter at input, given its id.

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