it.eng.spagobi.bo.dao
Interface ILowFunctionalityDAO

All Known Implementing Classes:
LowFunctionalityDAOHibImpl, LowFunctionalityDAOImpl

public interface ILowFunctionalityDAO

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

Author:
Zoppello

Method Summary
 void eraseLowFunctionality(LowFunctionality aLowFunctionality, it.eng.spago.security.IEngUserProfile profile)
          Implements the query to erase a low functionality.
 java.lang.Integer existByCode(java.lang.String code)
          Control if exist a functionality with the given code
 boolean hasChild(java.lang.String path)
          Control if the functionality with the given path has childs
 void insertLowFunctionality(LowFunctionality aLowFunctionality, it.eng.spago.security.IEngUserProfile profile)
          Implements the query to insert a low functionality.
 LowFunctionality loadLowFunctionalityByID(java.lang.Integer functionalityID)
          Loads all information for a low functionality identified by its functionalityID.
 LowFunctionality loadLowFunctionalityByPath(java.lang.String functionalityPath)
          Loads all information for a low functionality identified by its functionalityPath.
 void modifyLowFunctionality(LowFunctionality aLowFunctionality)
          Implements the query to modify a low functionality.
 

Method Detail

loadLowFunctionalityByID

LowFunctionality loadLowFunctionalityByID(java.lang.Integer functionalityID)
                                          throws EMFUserError
Loads all information for a low functionality identified by its functionalityID. All these information, are stored into a LowFunctionality object, which is returned.

Parameters:
functionalityID - The id for the low functionality to load
Returns:
A LowFunctionality object containing all loaded information
Throws:
EMFUserError - If an Exception occurred

loadLowFunctionalityByPath

LowFunctionality loadLowFunctionalityByPath(java.lang.String functionalityPath)
                                            throws EMFUserError
Loads all information for a low functionality identified by its functionalityPath. All these information, are stored into a LowFunctionality object, which is returned.

Parameters:
functionalityPath - The path for the low functionality to load
Returns:
A LowFunctionality object containing all loaded information
Throws:
EMFUserError - If an Exception occurred

modifyLowFunctionality

void modifyLowFunctionality(LowFunctionality aLowFunctionality)
                            throws EMFUserError
Implements the query to modify a low functionality. All information needed is stored into the input LowFunctionality object.

Parameters:
aLowFunctionality - The object containing all modify information
Throws:
EMFUserError - If an Exception occurred

insertLowFunctionality

void insertLowFunctionality(LowFunctionality aLowFunctionality,
                            it.eng.spago.security.IEngUserProfile profile)
                            throws EMFUserError
Implements the query to insert a low functionality. All information needed is stored into the input LowFunctionality object.

Parameters:
aLowFunctionality - The object containing all insert information
Throws:
EMFUserError - If an Exception occurred

eraseLowFunctionality

void eraseLowFunctionality(LowFunctionality aLowFunctionality,
                           it.eng.spago.security.IEngUserProfile profile)
                           throws EMFUserError
Implements the query to erase a low functionality. All information needed is stored into the input LowFunctionality object.

Parameters:
aLowFunctionality - The object containing all erase information
Throws:
EMFUserError - If an Exception occurred

existByCode

java.lang.Integer existByCode(java.lang.String code)
                              throws EMFUserError
Control if exist a functionality with the given code

Parameters:
code - The code of the functionality
Returns:
The functionality ID
Throws:
EMFUserError

hasChild

boolean hasChild(java.lang.String path)
                 throws EMFUserError
Control if the functionality with the given path has childs

Parameters:
path - String path of the functionality
Throws:
EMFUserError