|
||||||||||
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)
Implements the query to erase a BI Object. |
void |
fillBIObjectParameters(BIObject aBIObject,
SbiObjects hibBIObject,
java.lang.String role)
Given all parameters for the input hibernate BI object, fills the other BIObject at input with these parameters. |
void |
gatherCMSInformation(BIObject biObject)
Load the CMS Information of the biObject |
java.util.List |
getCorrectRolesForExecution(java.lang.String pathReport)
Gets the correct roles for Report execution, given only the Report's path. |
java.util.List |
getCorrectRolesForExecution(java.lang.String pathReport,
it.eng.spago.security.IEngUserProfile profile)
Given the path String for a report and th User profile, gets the corret roles for execution. |
void |
insertBIObject(BIObject obj)
Implements the query to insert a BIObject. |
BIObject |
loadBIObjectForDetail(java.lang.Integer biObjectID)
Loads all detail information for a BI Object identified by its biObjectID identifier. |
BIObject |
loadBIObjectForDetail(java.lang.String path)
Loads all detail information for a BI Object identified by its path identifier string. |
BIObject |
loadBIObjectForExecutionByPathAndRole(java.lang.String path,
java.lang.String role)
Loads all information for the execution of a BI Object identified by its path and its role . |
BIObject |
loadBIObjectForTree(java.lang.String path)
Loads all tree information for a BI Object identified by its path identifier string. |
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 loadBIObjectForExecutionByPathAndRole(java.lang.String path, java.lang.String role) throws EMFUserError
IBIObjectDAO
path
and its role
. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectForExecutionByPathAndRole
in interface IBIObjectDAO
path
- The BI object pathrole
- The BI object role
BIObject
EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectForExecutionByPathAndRole(java.lang.String, java.lang.String)
public BIObject loadBIObjectForDetail(java.lang.Integer biObjectID) throws EMFUserError
IBIObjectDAO
biObjectID
identifier. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectForDetail
in interface IBIObjectDAO
biObjectID
- the BI object identifier
BIObject
EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectForDetail(java.lang.Integer)
public BIObject loadBIObjectForDetail(java.lang.String path) throws EMFUserError
IBIObjectDAO
path
identifier string. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectForDetail
in interface IBIObjectDAO
path
- the BI object path string
BIObject
EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectForDetail(java.lang.String)
public void gatherCMSInformation(BIObject biObject) throws EMFUserError
biObject
-
EMFUserError
public BIObject loadBIObjectForTree(java.lang.String path) throws EMFUserError
IBIObjectDAO
path
identifier string. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
loadBIObjectForTree
in interface IBIObjectDAO
path
- the BI object path string
BIObject
EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectForTree(java.lang.String)
public void modifyBIObject(BIObject obj) throws EMFUserError
IBIObjectDAO
BIObject
object.
modifyBIObject
in interface IBIObjectDAO
obj
- The BIobject containing all modify information
EMFUserError
- If an Exception occurredIBIObjectDAO.modifyBIObject(it.eng.spagobi.bo.BIObject)
public void modifyBIObjectWithoutVersioning(BIObject obj) throws EMFUserError
IBIObjectDAO
BIObject
object.
modifyBIObjectWithoutVersioning
in interface IBIObjectDAO
obj
- The BIobject containing all modify information
EMFUserError
- If an Exception occurredIBIObjectDAO.modifyBIObjectWithoutVersioning(it.eng.spagobi.bo.BIObject)
public void insertBIObject(BIObject obj) throws EMFUserError
IBIObjectDAO
BIObject
object.
insertBIObject
in interface IBIObjectDAO
obj
- The object containing all insert information
EMFUserError
- If an Exception occurredIBIObjectDAO.insertBIObject(it.eng.spagobi.bo.BIObject)
public void eraseBIObject(BIObject obj) throws EMFUserError
IBIObjectDAO
BIObject
object.
eraseBIObject
in interface IBIObjectDAO
obj
- The object containing all delete information
EMFUserError
- If an Exception occurredIBIObjectDAO.eraseBIObject(it.eng.spagobi.bo.BIObject)
public java.util.List getCorrectRolesForExecution(java.lang.String pathReport, it.eng.spago.security.IEngUserProfile profile) throws EMFUserError
IBIObjectDAO
getCorrectRolesForExecution
in interface IBIObjectDAO
pathReport
- The String path for the reportprofile
- The user profile
EMFUserError
- If an Exception occurredIBIObjectDAO.getCorrectRolesForExecution(java.lang.String, it.eng.spago.security.IEngUserProfile)
public java.util.List getCorrectRolesForExecution(java.lang.String pathReport) throws EMFUserError
IBIObjectDAO
getCorrectRolesForExecution
in interface IBIObjectDAO
pathReport
- The String path for the report
EMFUserError
- If an Exception occurredIBIObjectDAO.getCorrectRolesForExecution(java.lang.String)
public BIObject toBIObject(SbiObjects hibBIObject)
hibBIObject
- The Hibernate BI object
BIObject
public void fillBIObjectParameters(BIObject aBIObject, SbiObjects hibBIObject, java.lang.String role)
BIObject
at input with these parameters.
aBIObject
- The BI object to fill parameters inhibBIObject
- The Hibernate BI objectrole
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |