it.eng.spagobi.bo.dao
Interface IBIObjectParameterDAO

All Known Implementing Classes:
BIObjectParameterDAOHibImpl, BIObjectParameterDAOImpl

public interface IBIObjectParameterDAO

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

Author:
Zoppello

Method Summary
 void eraseBIObjectParameter(BIObjectParameter aBIObjectParameter)
          Implements the query to erase a BIObjectParameter.
 boolean hasObjParameters(java.lang.String parId)
          Controls if a BI object parameter has one or more parameters associated.
 void insertBIObjectParameter(BIObjectParameter aBIObjectParameter)
          Implements the query to insert a BI Object Parameter.
 BIObjectParameter loadBIObjectParameterForDetail(java.lang.Integer biObjectID, java.lang.Integer parameterID)
          Loads all detail information for a BI Object Parameter identified by its biObjectId and by its parameterID.
 java.util.List loadBIObjectParametersById(java.lang.Integer biObjectID)
          Returns the list of all BIObject parameters associated to a BIObject, known its biObjectID>/code>
 void modifyBIObjectParameter(BIObjectParameter aBIObjectParameter)
          Implements the query to modify a BI Object parameter.
 

Method Detail

loadBIObjectParameterForDetail

public BIObjectParameter loadBIObjectParameterForDetail(java.lang.Integer biObjectID,
                                                        java.lang.Integer parameterID)
                                                 throws EMFUserError
Loads all detail information for a BI Object Parameter identified by its biObjectId and by its parameterID. All these information, achived by a query to the DB, are stored into a BIObjectParameter object, which is returned.

Parameters:
biObjectID - The id for the BI object parameter to load
parameterID - The parameter-id for the BI object parameter to load
Returns:
A BIObjectParameter object containing all loaded information
Throws:
EMFUserError - If an Exception occurred

modifyBIObjectParameter

public void modifyBIObjectParameter(BIObjectParameter aBIObjectParameter)
                             throws 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:
EMFUserError - If an Exception occurred

insertBIObjectParameter

public void insertBIObjectParameter(BIObjectParameter aBIObjectParameter)
                             throws 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:
EMFUserError - If an Exception occurred

eraseBIObjectParameter

public void eraseBIObjectParameter(BIObjectParameter aBIObjectParameter)
                            throws 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:
EMFUserError - If an Exception occurred

hasObjParameters

public boolean hasObjParameters(java.lang.String parId)
                         throws EMFUserError
Controls if a BI object parameter has one or more parameters associated. It is useful because a parameter cannot be erased if it has some BIObjects parameters associated

Parameters:
parId - The BI object Parameter id
Returns:
True if there are parameters associaated, else false
Throws:
EMFUserError - If an Exception occurred

loadBIObjectParametersById

public java.util.List loadBIObjectParametersById(java.lang.Integer biObjectID)
                                          throws 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:
EMFUserError - If any exception occurred