it.eng.spagobi.behaviouralmodel.analyticaldriver.dao
Interface IObjParuseDAO

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
ObjParuseDAOHibImpl

public interface IObjParuseDAO
extends ISpagoBIDao

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.
 void eraseObjParuseIfExists(ObjParuse aObjParuse, org.hibernate.Session aSession)
          Implements the query to erase a ObjParuse.
 java.util.List getAllDependenciesForParameterUse(java.lang.Integer useId)
          Returns the list of dependencies (ObjParuse objects list) for the ParameterUse object identified by the id passes at input.
 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.
 java.util.List getDocumentLabelsListWithAssociatedDependencies(java.lang.Integer useId)
          Returns the labels list of the documents containing dependencies for the parameter use identified by the id at input.
 void insertObjParuse(ObjParuse aObjParuse)
          Implements the query to insert a ObjParuse.
 java.util.List loadObjParuse(java.lang.Integer objParId, java.lang.Integer paruseId)
          Loads the list of ObjParuse associated to the input objParId and paruseId.
 java.util.List loadObjParuses(java.lang.Integer objParId)
          Returns the list of all ObjParuse objects associated to a BIObjectParameter, known its objParId.
 java.util.List loadObjParusesFather(java.lang.Integer objParId)
          Returns the list of all ObjParuse objects associated to a BIObjectParameter via a father relationship, known its objParId.
 void modifyObjParuse(ObjParuse aObjParuse)
          Implements the query to modify a ObjParuse.
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setTenant, setUserID, setUserProfile
 

Method Detail

loadObjParuse

java.util.List loadObjParuse(java.lang.Integer objParId,
                             java.lang.Integer paruseId)
                             throws it.eng.spago.error.EMFUserError
Loads the list of ObjParuse associated to the input objParId and paruseId. All these information, achived by a query to the DB, are stored into a List of 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 List of ObjParuse object containing all loaded information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

modifyObjParuse

void modifyObjParuse(ObjParuse aObjParuse)
                     throws it.eng.spago.error.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:
it.eng.spago.error.EMFUserError - If an Exception occurred

insertObjParuse

void insertObjParuse(ObjParuse aObjParuse)
                     throws it.eng.spago.error.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:
it.eng.spago.error.EMFUserError - If an Exception occurred

eraseObjParuse

void eraseObjParuse(ObjParuse aObjParuse)
                    throws it.eng.spago.error.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:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadObjParuses

java.util.List loadObjParuses(java.lang.Integer objParId)
                              throws it.eng.spago.error.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:
it.eng.spago.error.EMFUserError - If any exception occurred

getDependencies

java.util.List getDependencies(java.lang.Integer objParFatherId)
                               throws it.eng.spago.error.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:
it.eng.spago.error.EMFUserError - the EMF user error

getDocumentLabelsListWithAssociatedDependencies

java.util.List getDocumentLabelsListWithAssociatedDependencies(java.lang.Integer useId)
                                                               throws it.eng.spago.error.EMFUserError
Returns the labels list of the documents containing dependencies for the parameter use identified by the id at input.

Parameters:
useId - The Integer representing the use id
Returns:
The list of BIObject objects labels
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getAllDependenciesForParameterUse

java.util.List getAllDependenciesForParameterUse(java.lang.Integer useId)
                                                 throws it.eng.spago.error.EMFUserError
Returns the list of dependencies (ObjParuse objects list) for the ParameterUse object identified by the id passes at input.

Parameters:
useId - The Integer representing the use id
Returns:
The list of ObjParuse objects
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

eraseObjParuseIfExists

void eraseObjParuseIfExists(ObjParuse aObjParuse,
                            org.hibernate.Session aSession)
                            throws it.eng.spago.error.EMFUserError
Implements the query to erase a ObjParuse. If the object does not exist does not do anything All information needed is stored into the input ObjParuse object.

Parameters:
aObjParuse - The object containing all delete information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadObjParusesFather

java.util.List loadObjParusesFather(java.lang.Integer objParId)
                                    throws it.eng.spago.error.EMFUserError
Returns the list of all ObjParuse objects associated to a BIObjectParameter via a father relationship, known its objParId.

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