|
||||||||||
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.BIObjectDAOImpl
public class BIObjectDAOImpl
Defines the JDBC implementations for all DAO methods, for a BI Object.
Constructor Summary | |
---|---|
BIObjectDAOImpl()
|
Method Summary | |
---|---|
void |
eraseBIObject(BIObject obj)
|
void |
eraseBIObject(BIObject obj,
java.lang.Integer idFunct)
Deletes a BIObject from a functionality. |
void |
fillBIObjectTemplate(BIObject obj)
|
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. |
java.util.List |
getCorrectRolesForExecution(java.lang.String pathReport)
|
java.util.List |
getCorrectRolesForExecution(java.lang.String pathReport,
it.eng.spago.security.IEngUserProfile profile)
|
void |
insertBIObject(BIObject obj)
Implements the query to insert a BIObject. |
private void |
internalModify(java.lang.Object obj,
boolean version)
Updates the CMS repository if the user has loaded a file template. |
java.util.List |
loadAllBIObjects()
Loads all the BIObjects |
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. |
private BIObject |
loadBIObjectByPath(java.lang.String path)
|
BIObject |
loadBIObjectForDetail(java.lang.Integer biObjectID)
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 |
loadBIObjectForExecutionByPathAndRole(java.lang.String path,
java.lang.String role)
|
BIObject |
loadBIObjectForTree(java.lang.Integer id)
Loads all tree information for a BI Object identified by its id identifier Integer. |
BIObject |
loadBIObjectForTree(java.lang.String path)
|
java.util.List |
loadBIObjectParametersForBIObject(BIObject biObject,
java.lang.String role)
Loads all the BI object parameters referring to a given BI Object, according to the particular role. |
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. |
Methods inherited from class it.eng.spagobi.bo.dao.jdbc.AbstractJdbcDAO |
---|
getConnection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BIObjectDAOImpl()
Method Detail |
---|
public BIObject loadBIObjectForExecutionByPathAndRole(java.lang.String path, java.lang.String role) throws EMFUserError
EMFUserError
it.eng.spagobi.bo.dao.IBIObjectDAO#loadBIObjectForExecutionByPathAndRole(java.lang.String, java.lang.String)
public BIObject loadBIObjectForDetail(java.lang.Integer biObjectID) throws 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
biObjectID
- The Integer representing the BI object id
BIObject
EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectForDetail(java.lang.Integer)
public BIObject loadBIObjectForDetail(java.lang.String path) throws 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
EMFUserError
- If an Exception occursIBIObjectDAO.loadBIObjectForDetail(java.lang.Integer)
public BIObject loadBIObjectForTree(java.lang.String path) throws EMFUserError
EMFUserError
it.eng.spagobi.bo.dao.IBIObjectDAO#loadBIObjectForTree(java.lang.String)
private BIObject loadBIObjectByPath(java.lang.String path) throws EMFUserError
EMFUserError
it.eng.spagobi.bo.dao.IBIObjectDAO#loadBIObjectByPath(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
EMFUserError
it.eng.spagobi.bo.dao.IBIObjectDAO#eraseBIObject(it.eng.spagobi.bo.BIObject)
public void fillBIObjectTemplate(BIObject obj)
it.eng.spagobi.bo.dao.IBIObjectDAO#fillBIObjectTemplate(it.eng.spagobi.bo.BIObject)
public java.util.List loadBIObjectParametersForBIObject(BIObject biObject, java.lang.String role) throws EMFUserError
biObject
- The input BI Objectrole
- A string defining the role
EMFUserError
- If any exception occursprivate void internalModify(java.lang.Object obj, boolean version) throws EMFUserError
version
is true and the CNS is uploaded,
else not. This is the JDBC version for this method.
obj
- A generic input objectversion
- The boolean input parameter
EMFUserError
- If any exception occurredpublic java.util.List getCorrectRolesForExecution(java.lang.String pathReport, it.eng.spago.security.IEngUserProfile profile) throws EMFUserError
EMFUserError
it.eng.spagobi.bo.dao.IBIObjectDAO#getCorrectRolesForExecution(java.lang.String, it.eng.spago.security.IEngUserProfile)
public java.util.List getCorrectRolesForExecution(java.lang.String pathReport) throws EMFUserError
EMFUserError
it.eng.spagobi.bo.dao.IBIObjectDAO#getCorrectRolesForExecution(java.lang.String)
public java.util.List getBIObjectParameters(BIObject aBIObject) throws EMFUserError
IBIObjectDAO
getBIObjectParameters
in interface IBIObjectDAO
aBIObject
- BIObject the biobject to analize
EMFUserError
public BIObject loadBIObjectForExecutionByIdAndRole(java.lang.Integer id, java.lang.String role) throws 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
EMFUserError
- If an Exception occurspublic BIObject loadBIObjectById(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.
loadBIObjectById
in interface IBIObjectDAO
biObjectID
- the BI object identifier
BIObject
EMFUserError
- If an Exception occurspublic java.util.List loadAllBIObjects() throws EMFUserError
IBIObjectDAO
loadAllBIObjects
in interface IBIObjectDAO
EMFUserError
- If an Exception occurredpublic java.util.List getCorrectRolesForExecution(java.lang.Integer id, it.eng.spago.security.IEngUserProfile profile) throws EMFUserError
IBIObjectDAO
getCorrectRolesForExecution
in interface IBIObjectDAO
id
- The Integer id for the reportprofile
- The user profile
EMFUserError
- If an Exception occurredpublic java.util.List getCorrectRolesForExecution(java.lang.Integer id) throws EMFUserError
IBIObjectDAO
getCorrectRolesForExecution
in interface IBIObjectDAO
id
- The Integer id for the report
EMFUserError
- If an Exception occurredpublic BIObject loadBIObjectForTree(java.lang.Integer id) throws 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
EMFUserError
- If an Exception occurspublic void eraseBIObject(BIObject obj, java.lang.Integer idFunct) throws EMFUserError
IBIObjectDAO
eraseBIObject
in interface IBIObjectDAO
obj
- The object containing all delete informationidFunct
- The Integer representing the functionality id
EMFUserError
- If an Exception occurredpublic BIObject loadBIObjectByLabel(java.lang.String label) throws 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
EMFUserError
- If an Exception occurspublic java.util.List loadAllBIObjectsFromInitialPath(java.lang.String initialPath) throws EMFUserError
IBIObjectDAO
loadAllBIObjectsFromInitialPath
in interface IBIObjectDAO
EMFUserError
- If an Exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |