it.eng.spagobi.bo.dao
Interface ICheckDAO

All Known Implementing Classes:
CheckDAOHibImpl

public interface ICheckDAO

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

Author:
Zoppello

Method Summary
 void eraseCheck(Check check)
          Implements the query to erase a value constraint.
 void insertCheck(Check check)
          Implements the query to insert a value constraint.
 boolean isReferenced(java.lang.String checkId)
           
 java.util.List loadAllChecks()
          Loads all detail information for all value constraints.
 Check loadCheckByID(java.lang.Integer id)
          Loads all detail information for a value constraint identified by its id.
 void modifyCheck(Check check)
          Implements the query to modify a value constraint.
 

Method Detail

loadAllChecks

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

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

loadCheckByID

Check loadCheckByID(java.lang.Integer id)
                    throws it.eng.spago.error.EMFUserError
Loads all detail information for a value constraint identified by its id. All these information are stored into a Check object, which is returned.

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

eraseCheck

void eraseCheck(Check check)
                throws it.eng.spago.error.EMFUserError
Implements the query to erase a value constraint. All information needed is stored into the input Check object.

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

insertCheck

void insertCheck(Check check)
                 throws it.eng.spago.error.EMFUserError
Implements the query to insert a value constraint. All information needed is stored into the input Check object.

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

modifyCheck

void modifyCheck(Check check)
                 throws it.eng.spago.error.EMFUserError
Implements the query to modify a value constraint. All information needed is stored into the input Check object.

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

isReferenced

boolean isReferenced(java.lang.String checkId)
                     throws it.eng.spago.error.EMFUserError
Throws:
it.eng.spago.error.EMFUserError