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

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
ParameterDAOHibImpl

public interface IParameterDAO
extends ISpagoBIDao

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

Author:
Zoppello

Method Summary
 void eraseParameter(Parameter aParameter)
          Implements the query to erase a parameter.
 void insertParameter(Parameter aParameter)
          Implements the query to insert a parameter.
 java.util.List loadAllParameters()
          Loads all detail information for all parameters.
 Parameter loadForDetailByParameterID(java.lang.Integer parameterID)
          Loads all detail information for a parameter identified by its parameterID.
 Parameter loadForDetailByParameterLabel(java.lang.String Label)
          Loads all detail information for a parameter identified by its label.
 Parameter loadForExecutionByParameterIDandRoleName(java.lang.Integer parameterID, java.lang.String roleName)
          Load for execution by parameter i dand role name.
 void modifyParameter(Parameter aParameter)
          Implements the query to modify a parameter.
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setUserID, setUserProfile
 

Method Detail

loadForDetailByParameterID

Parameter loadForDetailByParameterID(java.lang.Integer parameterID)
                                     throws it.eng.spago.error.EMFUserError
Loads all detail information for a parameter identified by its parameterID. All these information, are stored into a Parameter object, which is returned.

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

loadForDetailByParameterLabel

Parameter loadForDetailByParameterLabel(java.lang.String Label)
                                        throws it.eng.spago.error.EMFUserError
Loads all detail information for a parameter identified by its label. All these information, are stored into a Parameter object, which is returned.

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

loadForExecutionByParameterIDandRoleName

Parameter loadForExecutionByParameterIDandRoleName(java.lang.Integer parameterID,
                                                   java.lang.String roleName)
                                                   throws it.eng.spago.error.EMFUserError
Load for execution by parameter i dand role name.

Parameters:
parameterID - the parameter id
roleName - the role name
Returns:
the parameter
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

loadAllParameters

java.util.List loadAllParameters()
                                 throws it.eng.spago.error.EMFUserError
Loads all detail information for all parameters. For each of them, detail information is stored into a Parameter object. After that, all parameters are stored into a List, which is returned.

Returns:
A list containing all parameters objects
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

modifyParameter

void modifyParameter(Parameter aParameter)
                     throws it.eng.spago.error.EMFUserError
Implements the query to modify a parameter. All information needed is stored into the input Parameter object.

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

insertParameter

void insertParameter(Parameter aParameter)
                     throws it.eng.spago.error.EMFUserError
Implements the query to insert a parameter. All information needed is stored into the input Parameter object.

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

eraseParameter

void eraseParameter(Parameter aParameter)
                    throws it.eng.spago.error.EMFUserError
Implements the query to erase a parameter. All information needed is stored into the input Parameter object.

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