|
||||||||||
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.BIObjectDAOHibImpl
public class BIObjectDAOHibImpl
Defines the Hibernate implementations for all DAO methods, for a BI Object.
Constructor Summary | |
---|---|
BIObjectDAOHibImpl()
|
Method Summary | |
---|---|
void |
eraseBIObject(BIObject obj,
java.lang.Integer idFunct)
Deletes a BIObject from a functionality. |
void |
gatherCMSInformation(BIObject biObject)
Load the CMS Information of the biObject |
java.util.List |
getBIObjectParameters(BIObject aBIObject)
Gets the biparameters associated with to a biobject |
java.util.List |
getCorrectRolesForExecution(java.lang.Integer id)
Gets the correct roles for Report execution, given only the Report's id. |
java.util.List |
getCorrectRolesForExecution(java.lang.Integer id,
it.eng.spago.security.IEngUserProfile profile)
Given the id for a report and the user profile, gets the corret roles for execution. |
void |
insertBIObject(BIObject obj)
Implements the query to insert a BIObject. |
java.util.List |
loadAllBIObjects()
Given all parameters for the input hibernate BI object, fills the other BIObject at input with these parameters. |
java.util.List |
loadAllBIObjectsFromInitialPath(java.lang.String initialPath)
Loads all the BIObjects that belong to sub functionalities of the given functionality path |
BIObject |
loadBIObjectById(java.lang.Integer biObjectID)
Loads all detail information for a BI Object identified by its biObjectID identifier. |
BIObject |
loadBIObjectByLabel(java.lang.String label)
Loads all detail information for a BI Object identified by its label identifier. |
BIObject |
loadBIObjectForDetail(java.lang.Integer id)
Loads all detail information for a BI Object identified by its id identifier integer. |
BIObject |
loadBIObjectForDetail(java.lang.String path)
Loads all detail information for a BI Object identified by its path in the cms. |
BIObject |
loadBIObjectForExecutionByIdAndRole(java.lang.Integer id,
java.lang.String role)
Loads all information for the execution of a BI Object identified by its id and its role . |
BIObject |
loadBIObjectForTree(java.lang.Integer id)
Loads all tree information for a BI Object identified by its id identifier Integer. |
void |
modifyBIObject(BIObject obj)
Implements the query to modify a BI Object. |
void |
modifyBIObjectWithoutVersioning(BIObject obj)
Implements the query to modify a BI Object, but without updating versioning. |
BIObject |
toBIObject(SbiObjects hibBIObject)
From the Hibernate BI object at input, gives the corrispondent BI 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 BIObjectDAOHibImpl()
Method Detail |
---|
public BIObject loadBIObjectForExecutionByIdAndRole(java.lang.Integer id, java.lang.String role) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
id
and its role
. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectForExecutionByIdAndRole
in interface IBIObjectDAO
id
- The BI object idrole
- The BI object role
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectForExecutionByIdAndRole(java.lang.Integer, java.lang.String)
public BIObject loadBIObjectById(java.lang.Integer biObjectID) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
biObjectID
identifier. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectById
in interface IBIObjectDAO
biObjectID
- the BI object identifier
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectById(java.lang.Integer)
public BIObject loadBIObjectForDetail(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
id
identifier integer. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectForDetail
in interface IBIObjectDAO
id
- The Integer representing the BI object id
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectForDetail(java.lang.Integer)
public BIObject loadBIObjectByLabel(java.lang.String label) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
label
identifier. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectByLabel
in interface IBIObjectDAO
label
- The BI object label identifier
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectByLabel(java.lang.String)
public void gatherCMSInformation(BIObject biObject) throws it.eng.spago.error.EMFUserError
biObject
-
it.eng.spago.error.EMFUserError
public BIObject loadBIObjectForTree(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
id
identifier Integer. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectForTree
in interface IBIObjectDAO
id
- The Integer representing the BI object id
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectForTree(java.lang.Integer)
public void modifyBIObject(BIObject obj) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
BIObject
object.
modifyBIObject
in interface IBIObjectDAO
obj
- The BIobject containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredIBIObjectDAO.modifyBIObject(it.eng.spagobi.bo.BIObject)
public void modifyBIObjectWithoutVersioning(BIObject obj) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
BIObject
object.
modifyBIObjectWithoutVersioning
in interface IBIObjectDAO
obj
- The BIobject containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredIBIObjectDAO.modifyBIObjectWithoutVersioning(it.eng.spagobi.bo.BIObject)
public void insertBIObject(BIObject obj) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
BIObject
object.
insertBIObject
in interface IBIObjectDAO
obj
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredIBIObjectDAO.insertBIObject(it.eng.spagobi.bo.BIObject)
public void eraseBIObject(BIObject obj, java.lang.Integer idFunct) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
eraseBIObject
in interface IBIObjectDAO
obj
- The object containing all delete informationidFunct
- The Integer representing the functionality id
it.eng.spago.error.EMFUserError
- If an Exception occurredIBIObjectDAO.eraseBIObject(it.eng.spagobi.bo.BIObject, java.lang.Integer)
public java.util.List getCorrectRolesForExecution(java.lang.Integer id, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
getCorrectRolesForExecution
in interface IBIObjectDAO
id
- The Integer id for the reportprofile
- The user profile
it.eng.spago.error.EMFUserError
- If an Exception occurredIBIObjectDAO.getCorrectRolesForExecution(java.lang.Integer, it.eng.spago.security.IEngUserProfile)
public java.util.List getCorrectRolesForExecution(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
getCorrectRolesForExecution
in interface IBIObjectDAO
id
- The Integer id for the report
it.eng.spago.error.EMFUserError
- If an Exception occurredIBIObjectDAO.getCorrectRolesForExecution(java.lang.Integer)
public BIObject toBIObject(SbiObjects hibBIObject)
hibBIObject
- The Hibernate BI object
BIObject
public java.util.List loadAllBIObjects() throws it.eng.spago.error.EMFUserError
BIObject
at input with these parameters.
loadAllBIObjects
in interface IBIObjectDAO
aBIObject
- The BI object to fill parameters inhibBIObject
- The Hibernate BI objectrole
-
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic java.util.List getBIObjectParameters(BIObject aBIObject) throws it.eng.spago.error.EMFUserError
getBIObjectParameters
in interface IBIObjectDAO
aBIObject
- BIObject the biobject to analize
it.eng.spago.error.EMFUserError
public java.util.List loadAllBIObjectsFromInitialPath(java.lang.String initialPath) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
loadAllBIObjectsFromInitialPath
in interface IBIObjectDAO
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic BIObject loadBIObjectForDetail(java.lang.String path) throws it.eng.spago.error.EMFUserError
IBIObjectDAO
path
in the cms. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectForDetail
in interface IBIObjectDAO
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |