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

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
BIObjectParameterDAOHibImpl

public interface IBIObjectParameterDAO
extends ISpagoBIDao

Defines the interfaces for all methods needed to insert, modify and deleting a BI Object Parameter.

Author:
Zoppello

Method Summary
 void eraseBIObjectParameter(BIObjectParameter aBIObjectParameter, boolean alsoDependencies)
          Implements the query to erase a BIObjectParameter.
 void eraseBIObjectParameterDependencies(BIObjectParameter aBIObjectParameter, org.hibernate.Session aSession)
          erase alld ependencies of a given object parameterr
 void eraseBIObjectParametersByObjectId(java.lang.Integer biObjId, org.hibernate.Session currSession)
          erase all Object parameters referring to the Obj with id biObjId
 java.util.List getDocumentLabelsListUsingParameter(java.lang.Integer parId)
          Returns the labels list of document using the parameter identified by the id at input.
 void insertBIObjectParameter(BIObjectParameter aBIObjectParameter)
          Implements the query to insert a BI Object Parameter.
 java.util.List loadBIObjectParametersById(java.lang.Integer biObjectID)
          Returns the list of all BIObject parameters associated to a BIObject, known its biObjectID>/code>.
 BIObjectParameter loadBiObjParameterById(java.lang.Integer id)
          Loads all detail information for a BI Object Parameter identified by its objParId.
 SbiObjPar loadById(java.lang.Integer id)
          Loads all detail information for a BI Object Parameter identified by its objParId.
 BIObjectParameter loadForDetailByObjParId(java.lang.Integer objParId)
          Loads all detail information for a BI Object Parameter identified by its objParId.
 void modifyBIObjectParameter(BIObjectParameter aBIObjectParameter)
          Implements the query to modify a BI Object parameter.
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setTenant, setUserID, setUserProfile
 

Method Detail

loadById

SbiObjPar loadById(java.lang.Integer id)
                   throws it.eng.spago.error.EMFUserError
Loads all detail information for a BI Object Parameter identified by its objParId. All these information, achived by a query to the DB, are stored into a SbiObjPar object, which is returned.

Parameters:
id - The id for the BI object parameter to load
Returns:
A SbiObjPar object containing all loaded information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadBiObjParameterById

BIObjectParameter loadBiObjParameterById(java.lang.Integer id)
                                         throws it.eng.spago.error.EMFUserError
Loads all detail information for a BI Object Parameter identified by its objParId. return a wrapper object

Returns:
Throws:
it.eng.spago.error.EMFUserError

loadForDetailByObjParId

BIObjectParameter loadForDetailByObjParId(java.lang.Integer objParId)
                                          throws it.eng.spago.error.EMFUserError
Loads all detail information for a BI Object Parameter identified by its objParId. All these information, achived by a query to the DB, are stored into a BIObjectParameter object, which is returned.

Parameters:
objParId - The id for the BI object parameter to load
Returns:
A BIObjectParameter object containing all loaded information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

modifyBIObjectParameter

void modifyBIObjectParameter(BIObjectParameter aBIObjectParameter)
                             throws it.eng.spago.error.EMFUserError
Implements the query to modify a BI Object parameter. All information needed is stored into the input BIObjectParameter object.

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

insertBIObjectParameter

void insertBIObjectParameter(BIObjectParameter aBIObjectParameter)
                             throws it.eng.spago.error.EMFUserError
Implements the query to insert a BI Object Parameter. All information needed is stored into the input BIObjectParameter object.

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

eraseBIObjectParameter

void eraseBIObjectParameter(BIObjectParameter aBIObjectParameter,
                            boolean alsoDependencies)
                            throws it.eng.spago.error.EMFUserError
Implements the query to erase a BIObjectParameter. All information needed is stored into the input aBIObjectParameter object.

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

getDocumentLabelsListUsingParameter

java.util.List getDocumentLabelsListUsingParameter(java.lang.Integer parId)
                                                   throws it.eng.spago.error.EMFUserError
Returns the labels list of document using the parameter identified by the id at input.

Parameters:
parId - The BI object Parameter id
Returns:
The labels lis
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadBIObjectParametersById

java.util.List loadBIObjectParametersById(java.lang.Integer biObjectID)
                                          throws it.eng.spago.error.EMFUserError
Returns the list of all BIObject parameters associated to a BIObject, known its biObjectID>/code>.

Parameters:
biObjectID - The input BI object id code
Returns:
The list of all BI Object Parameters associated
Throws:
it.eng.spago.error.EMFUserError - If any exception occurred

eraseBIObjectParameterDependencies

void eraseBIObjectParameterDependencies(BIObjectParameter aBIObjectParameter,
                                        org.hibernate.Session aSession)
                                        throws it.eng.spago.error.EMFUserError
erase alld ependencies of a given object parameterr

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

eraseBIObjectParametersByObjectId

void eraseBIObjectParametersByObjectId(java.lang.Integer biObjId,
                                       org.hibernate.Session currSession)
                                       throws it.eng.spago.error.EMFUserError
erase all Object parameters referring to the Obj with id biObjId

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