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

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
ObjParviewDAOHibImpl

public interface IObjParviewDAO
extends ISpagoBIDao

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

Author:
Gavardi

Method Summary
 void eraseObjParview(ObjParview aObjParview)
          Implements the query to erase a ObjParview.
 void eraseObjParview(ObjParview aObjParview, org.hibernate.Session aSession)
          Implements the query to erase a ObjParview preserving the session.
 void eraseObjParviewIfExists(ObjParview aObjParview, org.hibernate.Session aSession)
          Implements the query to erase a ObjParview preserving the session.
 java.util.List getAllDependenciesForParameterview(java.lang.Integer viewId)
          Returns the list of dependencies (ObjParview objects list) for the Parameterview 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 viewId)
          Returns the labels list of the documents containing dependencies for the parameter view identified by the id at input.
 void insertObjParview(ObjParview aObjParview)
          Implements the query to insert a ObjParview.
 java.util.List loadObjParview(java.lang.Integer objParId, java.lang.Integer parviewId)
          Loads the list of ObjParview associated to the input objParId and paruseId.
 java.util.List loadObjParviews(java.lang.Integer objParId)
          Returns the list of all ObjParview objects associated to a BIObjectParameter, known its objParId.
 java.util.List loadObjParviewsFather(java.lang.Integer objParId)
          Returns the list of all ObjParview objects associated to a BIObjectParameter by a father relationship, known its objParId.
 void modifyObjParview(ObjParview aObjParview)
          Implements the query to modify a ObjParview.
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setTenant, setUserID, setUserProfile
 

Method Detail

loadObjParview

java.util.List loadObjParview(java.lang.Integer objParId,
                              java.lang.Integer parviewId)
                              throws it.eng.spago.error.EMFUserError
Loads the list of ObjParview associated to the input objParId and paruseId. All these information, achived by a query to the DB, are stored into a List of ObjParview object, which is returned.

Parameters:
objParId - The id for the BI object parameter to load
parvireId - 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

modifyObjParview

void modifyObjParview(ObjParview aObjParview)
                      throws it.eng.spago.error.EMFUserError
Implements the query to modify a ObjParview. All information needed is stored into the input ObjParview object.

Parameters:
aObjParview - The ObjParview containing all modify information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

insertObjParview

void insertObjParview(ObjParview aObjParview)
                      throws it.eng.spago.error.EMFUserError
Implements the query to insert a ObjParview. All information needed is stored into the input ObjParview object.

Parameters:
aObjParview - The ObjParview containing all insert information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

eraseObjParview

void eraseObjParview(ObjParview aObjParview)
                     throws it.eng.spago.error.EMFUserError
Implements the query to erase a ObjParview. All information needed is stored into the input ObjParview object.

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

eraseObjParview

void eraseObjParview(ObjParview aObjParview,
                     org.hibernate.Session aSession)
                     throws it.eng.spago.error.EMFUserError
Implements the query to erase a ObjParview preserving the session. All information needed is stored into the input ObjParview object.

Parameters:
aObjParview -
aSession -
Throws:
it.eng.spago.error.EMFUserError

eraseObjParviewIfExists

void eraseObjParviewIfExists(ObjParview aObjParview,
                             org.hibernate.Session aSession)
                             throws it.eng.spago.error.EMFUserError
Implements the query to erase a ObjParview preserving the session. All information needed is stored into the input ObjParview object. If does not exist don'd do anything

Parameters:
aObjParview -
aSession -
Throws:
it.eng.spago.error.EMFUserError

loadObjParviews

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

Parameters:
objParId - The input BIObjectParameter id code
Returns:
The list of all ObjParview 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 viewId)
                                                               throws it.eng.spago.error.EMFUserError
Returns the labels list of the documents containing dependencies for the parameter view identified by the id at input.

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

getAllDependenciesForParameterview

java.util.List getAllDependenciesForParameterview(java.lang.Integer viewId)
                                                  throws it.eng.spago.error.EMFUserError
Returns the list of dependencies (ObjParview objects list) for the Parameterview object identified by the id passes at input.

Parameters:
viewId - The Integer representing the view id
Returns:
The list of ObjParview objects
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

loadObjParviewsFather

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

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