|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.bo.dao.jdbc.AbstractJdbcDAO
it.eng.spagobi.bo.dao.jdbc.LowFunctionalityDAOImpl
Defines the JDBC implementations for all DAO methods, for a low functionality.
Constructor Summary | |
LowFunctionalityDAOImpl()
|
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 |
void |
fillRoles(LowFunctionality aLowFunctionality)
Sets the roles for a given low functionality. |
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. |
Methods inherited from class it.eng.spagobi.bo.dao.jdbc.AbstractJdbcDAO |
getConnection |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LowFunctionalityDAOImpl()
Method Detail |
public LowFunctionality loadLowFunctionalityByID(java.lang.Integer functionalityID) throws EMFUserError
ILowFunctionalityDAO
functionalityID
. All these information, are stored into a
LowFunctionality
object, which is
returned.
loadLowFunctionalityByID
in interface ILowFunctionalityDAO
functionalityID
- The id for the low functionality to load
LowFunctionality
object containing all loaded information
EMFUserError
- If an Exception occurredILowFunctionalityDAO.loadLowFunctionalityByID(java.lang.Integer)
public LowFunctionality loadLowFunctionalityByPath(java.lang.String functionalityPath) throws EMFUserError
ILowFunctionalityDAO
functionalityPath
. All these information, are stored into a
LowFunctionality
object, which is
returned.
loadLowFunctionalityByPath
in interface ILowFunctionalityDAO
functionalityPath
- The path for the low functionality to load
LowFunctionality
object containing all loaded information
EMFUserError
- If an Exception occurredILowFunctionalityDAO.loadLowFunctionalityByPath(java.lang.String)
public void fillRoles(LowFunctionality aLowFunctionality) throws EMFUserError
aLowFunctionality
- The input Low Functionality
EMFUserError
- If any exception occurredpublic void modifyLowFunctionality(LowFunctionality aLowFunctionality) throws EMFUserError
ILowFunctionalityDAO
LowFunctionality
object.
modifyLowFunctionality
in interface ILowFunctionalityDAO
aLowFunctionality
- The object containing all modify information
EMFUserError
- If an Exception occurredILowFunctionalityDAO.modifyLowFunctionality(it.eng.spagobi.bo.LowFunctionality)
public void insertLowFunctionality(LowFunctionality aLowFunctionality, it.eng.spago.security.IEngUserProfile profile) throws EMFUserError
ILowFunctionalityDAO
LowFunctionality
object.
insertLowFunctionality
in interface ILowFunctionalityDAO
aLowFunctionality
- The object containing all insert information
EMFUserError
- If an Exception occurred)
public void eraseLowFunctionality(LowFunctionality aLowFunctionality, it.eng.spago.security.IEngUserProfile profile) throws EMFUserError
ILowFunctionalityDAO
LowFunctionality
object.
eraseLowFunctionality
in interface ILowFunctionalityDAO
aLowFunctionality
- The object containing all erase information
EMFUserError
- If an Exception occurredILowFunctionalityDAO.eraseLowFunctionality(it.eng.spagobi.bo.LowFunctionality, it.eng.spago.security.IEngUserProfile)
public java.lang.Integer existByCode(java.lang.String code) throws EMFUserError
ILowFunctionalityDAO
existByCode
in interface ILowFunctionalityDAO
code
- The code of the functionality
EMFUserError
ILowFunctionalityDAO.existByCode(java.lang.String)
public boolean hasChild(java.lang.String path) throws EMFUserError
ILowFunctionalityDAO
hasChild
in interface ILowFunctionalityDAO
path
- String path of the functionality
EMFUserError
ILowFunctionalityDAO.hasChild(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |