|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.bo.dao.hibernate.AbstractHibernateDAO
it.eng.spagobi.bo.dao.hibernate.LowFunctionalityDAOHibImpl
public class LowFunctionalityDAOHibImpl
Defines the Hibernate implementations for all DAO methods, for a functionality.
Constructor Summary | |
---|---|
LowFunctionalityDAOHibImpl()
|
Method Summary | |
---|---|
boolean |
checkUserRootExists(java.lang.String username)
|
void |
deleteInconsistentRoles(java.util.Set rolesSet)
Deletes a set of inconsistent roles reference from the database, in order to keep functionalities tree permissions consistence. |
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.Integer id)
Control if the functionality with the given id has childs |
void |
insertLowFunctionality(LowFunctionality aLowFunctionality,
it.eng.spago.security.IEngUserProfile profile)
Implements the query to insert a low functionality. |
void |
insertUserFunctionality(UserFunctionality userfunct)
|
java.util.List |
loadAllLowFunctionalities(boolean recoverBIObjects)
Loads all the functionalities |
java.util.List |
loadChildFunctionalities(java.lang.Integer parentId,
boolean recoverBIObjects)
Loads all the child functionalities of the given parent functionality |
LowFunctionality |
loadLowFunctionalityByID(java.lang.Integer functionalityID,
boolean recoverBIObjects)
Loads all information for a low functionality identified by its functionalityID . |
LowFunctionality |
loadLowFunctionalityByPath(java.lang.String functionalityPath,
boolean recoverBIObjects)
Loads all information for a low functionality identified by its functionalityPath . |
LowFunctionality |
loadRootLowFunctionality(boolean recoverBIObjects)
Loads the root functionality |
java.util.List |
loadSubLowFunctionalities(java.lang.String initialPath,
boolean recoverBIObjects)
Loads all the sub functionalities of the given initial path |
void |
modifyLowFunctionality(LowFunctionality aLowFunctionality)
Implements the query to modify a low functionality. |
void |
moveDownLowFunctionality(java.lang.Integer functionalityID)
Moves down the functionality specified by the id at input in the functionalities tree |
void |
moveUpLowFunctionality(java.lang.Integer functionalityID)
Moves up the functionality specified by the id at input in the functionalities tree |
LowFunctionality |
toLowFunctionality(SbiFunctions hibFunct,
boolean recoverBIObjects)
From the Hibernate Low Functionality object at input, gives the corrispondent LowFunctionality object. |
Methods inherited from class it.eng.spagobi.bo.dao.hibernate.AbstractHibernateDAO |
---|
getSession, logException |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LowFunctionalityDAOHibImpl()
Method Detail |
---|
public boolean checkUserRootExists(java.lang.String username) throws it.eng.spago.error.EMFUserError
checkUserRootExists
in interface ILowFunctionalityDAO
it.eng.spago.error.EMFUserError
public void insertUserFunctionality(UserFunctionality userfunct) throws it.eng.spago.error.EMFUserError
insertUserFunctionality
in interface ILowFunctionalityDAO
it.eng.spago.error.EMFUserError
public LowFunctionality loadLowFunctionalityByID(java.lang.Integer functionalityID, boolean recoverBIObjects) throws it.eng.spago.error.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 loadrecoverBIObjects
- If true the LowFunctionality
at output will have the
list of contained BIObject
objects
LowFunctionality
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.bo.dao.ILowFunctionalityDAO#loadLowFunctionalityByID(java.lang.Integer)
public LowFunctionality loadRootLowFunctionality(boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
loadRootLowFunctionality
in interface ILowFunctionalityDAO
recoverBIObjects
- If true each LowFunctionality
at output will have the
list of contained BIObject
objects
it.eng.spago.error.EMFUserError
ILowFunctionalityDAO.loadRootLowFunctionality(boolean)
public LowFunctionality loadLowFunctionalityByPath(java.lang.String functionalityPath, boolean recoverBIObjects) throws it.eng.spago.error.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 loadrecoverBIObjects
- If true the LowFunctionality
at output will have the
list of contained BIObject
objects
LowFunctionality
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.bo.dao.ILowFunctionalityDAO#loadLowFunctionalityByPath(java.lang.String)
public void modifyLowFunctionality(LowFunctionality aLowFunctionality) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
LowFunctionality
object.
modifyLowFunctionality
in interface ILowFunctionalityDAO
aLowFunctionality
- The object containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredILowFunctionalityDAO.modifyLowFunctionality(it.eng.spagobi.bo.LowFunctionality)
public void insertLowFunctionality(LowFunctionality aLowFunctionality, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
LowFunctionality
object.
insertLowFunctionality
in interface ILowFunctionalityDAO
aLowFunctionality
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredILowFunctionalityDAO.insertLowFunctionality(it.eng.spagobi.bo.LowFunctionality, it.eng.spago.security.IEngUserProfile)
public void eraseLowFunctionality(LowFunctionality aLowFunctionality, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
LowFunctionality
object.
eraseLowFunctionality
in interface ILowFunctionalityDAO
aLowFunctionality
- The object containing all erase information
it.eng.spago.error.EMFUserError
- If an Exception occurredILowFunctionalityDAO.eraseLowFunctionality(it.eng.spagobi.bo.LowFunctionality, it.eng.spago.security.IEngUserProfile)
public LowFunctionality toLowFunctionality(SbiFunctions hibFunct, boolean recoverBIObjects)
LowFunctionality
object.
hibFunct
- The Hibernate Low Functionality objectrecoverBIObjects
- If true the LowFunctionality
at output will have the
list of contained BIObject
objects
LowFunctionality
public java.lang.Integer existByCode(java.lang.String code) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
existByCode
in interface ILowFunctionalityDAO
code
- The code of the functionality
it.eng.spago.error.EMFUserError
ILowFunctionalityDAO.existByCode(java.lang.String)
public java.util.List loadAllLowFunctionalities(boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
loadAllLowFunctionalities
in interface ILowFunctionalityDAO
recoverBIObjects
- If true each LowFunctionality
at output will have the
list of contained BIObject
objects
it.eng.spago.error.EMFUserError
ILowFunctionalityDAO.loadAllLowFunctionalities(boolean)
public java.util.List loadSubLowFunctionalities(java.lang.String initialPath, boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
loadSubLowFunctionalities
in interface ILowFunctionalityDAO
initialPath
- The String representing the initial pathrecoverBIObjects
- If true each LowFunctionality
at output will have the
list of contained BIObject
objects
it.eng.spago.error.EMFUserError
ILowFunctionalityDAO.loadSubLowFunctionalities(java.lang.String, boolean)
public boolean hasChild(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
hasChild
in interface ILowFunctionalityDAO
id
- Integer id of the functionality
it.eng.spago.error.EMFUserError
it.eng.spagobi.bo.dao.ILowFunctionalityDAO#hasChild(java.lang.String)
public void deleteInconsistentRoles(java.util.Set rolesSet) throws it.eng.spago.error.EMFUserError
deleteInconsistentRoles
in interface ILowFunctionalityDAO
rolesSet
- the set containing the roles to erase
it.eng.spago.error.EMFUserError
public java.util.List loadChildFunctionalities(java.lang.Integer parentId, boolean recoverBIObjects) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
loadChildFunctionalities
in interface ILowFunctionalityDAO
parentId
- The Integer representing the parent idrecoverBIObjects
- If true each LowFunctionality
at output will have the
list of contained BIObject
objects
it.eng.spago.error.EMFUserError
public void moveDownLowFunctionality(java.lang.Integer functionalityID) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
moveDownLowFunctionality
in interface ILowFunctionalityDAO
it.eng.spago.error.EMFUserError
public void moveUpLowFunctionality(java.lang.Integer functionalityID) throws it.eng.spago.error.EMFUserError
ILowFunctionalityDAO
moveUpLowFunctionality
in interface ILowFunctionalityDAO
it.eng.spago.error.EMFUserError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |