it.eng.spagobi.bo.dao
Interface IParameterDAO

All Known Implementing Classes:
ParameterDAOHibImpl

public interface IParameterDAO

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 loadForExecutionByParameterIDandRoleName(java.lang.Integer parameterID, java.lang.String roleName)
           
 void modifyParameter(Parameter aParameter)
          Implements the query to modify a parameter.
 

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

loadForExecutionByParameterIDandRoleName

Parameter loadForExecutionByParameterIDandRoleName(java.lang.Integer parameterID,
                                                   java.lang.String roleName)
                                                   throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError

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