|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBIObjectDAO
Defines the interfaces for all methods needed to insert, modify and deleting a BI object.
Method Summary | |
---|---|
java.lang.Integer |
countBIObjects()
|
void |
eraseBIObject(BIObject obj,
java.lang.Integer idFunct)
Deletes a BIObject from a functionality. |
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. |
void |
insertBIObject(BIObject obj,
boolean loadParsDC)
Implements the query to insert a BIObject and its template. |
java.lang.Integer |
insertBIObject(BIObject obj,
ObjTemplate objTemp)
Implements the query to insert a BIObject and its template. |
void |
insertBIObject(BIObject obj,
ObjTemplate objTemp,
boolean loadParsDC)
Implements the query to insert a BIObject and its template. |
java.util.List |
loadAllBIObjects()
Loads all the BIObjects. |
java.util.List |
loadAllBIObjects(java.lang.String filterOrder)
Loads all the BIObjects ordered by parameter column. |
java.util.List |
loadAllBIObjectsFromInitialPath(java.lang.String initialPath)
Loads all the BIObjects that belong to sub functionalities of the given functionality path. |
java.util.List |
loadAllBIObjectsFromInitialPath(java.lang.String initialPath,
java.lang.String filterOrder)
Loads all the BIObjects that belong to sub functionalities of the given functionality path and ordered by parameter column. |
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. |
java.util.List |
loadBIObjects(java.lang.Integer folderID,
it.eng.spago.security.IEngUserProfile profile,
boolean isPersonalFolder)
Loads all the BIObjects filtering with the input parameters. |
java.util.List |
loadBIObjects(java.lang.String type,
java.lang.String state,
java.lang.String folderPath)
Loads all the BIObjects filtering with the input parameters. |
java.util.List |
loadPagedObjectsList(java.lang.Integer offset,
java.lang.Integer fetchSize)
|
void |
modifyBIObject(BIObject obj)
Implements the query to modify a BI Object. |
void |
modifyBIObject(BIObject obj,
boolean loadParsDC)
Implements the query to modify a BI Object. |
void |
modifyBIObject(BIObject obj,
ObjTemplate objTemp)
Implements the query to modify a BI Object and its template. |
void |
modifyBIObject(BIObject obj,
ObjTemplate objTemp,
boolean loadParsDC)
Implements the query to modify a BI Object and its template. |
java.util.List |
searchBIObjects(java.lang.String valueFilter,
java.lang.String typeFilter,
java.lang.String columnFilter,
java.lang.String isGlobal,
java.lang.Integer nodeFilter,
it.eng.spago.security.IEngUserProfile profile)
Search objects with the features specified. |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setUserID, setUserProfile |
Method Detail |
---|
BIObject loadBIObjectForExecutionByIdAndRole(java.lang.Integer id, java.lang.String role) throws it.eng.spago.error.EMFUserError
id
and its role
. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
id
- The BI object idrole
- The BI object role
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursBIObject loadBIObjectByLabel(java.lang.String label) throws it.eng.spago.error.EMFUserError
label
identifier. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
label
- The BI object label identifier
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursBIObject loadBIObjectById(java.lang.Integer biObjectID) throws it.eng.spago.error.EMFUserError
biObjectID
identifier. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
biObjectID
- the BI object identifier
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursBIObject loadBIObjectForDetail(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
identifier integer. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
id
- the id
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursBIObject loadBIObjectForDetail(java.lang.String path) throws it.eng.spago.error.EMFUserError
path
in the cms. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
path
- the path
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursBIObject loadBIObjectForTree(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
identifier Integer. All these information,
achived by a query to the DB, are stored into a BIObject
object,
which is returned.
id
- the id
BIObject
it.eng.spago.error.EMFUserError
- If an Exception occursvoid modifyBIObject(BIObject obj) throws it.eng.spago.error.EMFUserError
BIObject
object.
obj
- the obj
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyBIObject(BIObject obj, boolean loadParsDC) throws it.eng.spago.error.EMFUserError
BIObject
object.
obj
- the objloadParsDC
- the boolean that permit the loading of parameters of a document composition
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyBIObject(BIObject obj, ObjTemplate objTemp) throws it.eng.spago.error.EMFUserError
BIObject
and ObjTemplate
objects.
objTemp
- The template of the biobjectobj
- the obj
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyBIObject(BIObject obj, ObjTemplate objTemp, boolean loadParsDC) throws it.eng.spago.error.EMFUserError
BIObject
and ObjTemplate
objects.
objTemp
- The template of the biobjectobj
- the objloadParsDC
- the boolean that permit the loading of parameters of a document composition
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertBIObject(BIObject obj) throws it.eng.spago.error.EMFUserError
BIObject
object.
obj
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertBIObject(BIObject obj, boolean loadParsDC) throws it.eng.spago.error.EMFUserError
BIObject
and ObjTemplate
objects.
obj
- The object containing all insert informationloadParsDC
- the boolean that permit the loading of parameters of a document composition
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.lang.Integer insertBIObject(BIObject obj, ObjTemplate objTemp) throws it.eng.spago.error.EMFUserError
BIObject
and ObjTemplate
objects.
obj
- The object containing all insert informationobjTemp
- The template of the biobject
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertBIObject(BIObject obj, ObjTemplate objTemp, boolean loadParsDC) throws it.eng.spago.error.EMFUserError
BIObject
and ObjTemplate
objects.
obj
- The object containing all insert informationobjTemp
- The template of the biobjectloadParsDC
- the boolean that permit the loading of parameters of a document composition
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseBIObject(BIObject obj, java.lang.Integer idFunct) throws it.eng.spago.error.EMFUserError
obj
- The object containing all delete informationidFunct
- The Integer representing the functionality id
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List getCorrectRolesForExecution(java.lang.Integer id, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
id
- The Integer id for the reportprofile
- The user profile
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List getCorrectRolesForExecution(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
- The Integer id for the report
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List getBIObjectParameters(BIObject aBIObject) throws it.eng.spago.error.EMFUserError
aBIObject
- BIObject the biobject to analize
it.eng.spago.error.EMFUserError
- the EMF user errorjava.util.List loadAllBIObjects() throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadAllBIObjects(java.lang.String filterOrder) throws it.eng.spago.error.EMFUserError
filterOrder
- the filter order
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadPagedObjectsList(java.lang.Integer offset, java.lang.Integer fetchSize) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.lang.Integer countBIObjects() throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.util.List loadAllBIObjectsFromInitialPath(java.lang.String initialPath) throws it.eng.spago.error.EMFUserError
initialPath
- the initial path
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadAllBIObjectsFromInitialPath(java.lang.String initialPath, java.lang.String filterOrder) throws it.eng.spago.error.EMFUserError
initialPath
- the initial pathfilterOrder
- the filter order
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadBIObjects(java.lang.String type, java.lang.String state, java.lang.String folderPath) throws it.eng.spago.error.EMFUserError
type
- the type of the biobjects (DASH/REPORT/OLAP...); if it is null, all types will be consideredstate
- the type of the biobjects (REL/DEV...); if it is null, all states will be consideredfolderPath
- the path of the folder; if it is null, all folders will be considered
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadBIObjects(java.lang.Integer folderID, it.eng.spago.security.IEngUserProfile profile, boolean isPersonalFolder) throws it.eng.spago.error.EMFUserError
folderID
- the identifier of the folder; if it is null, all folders will be consideredprofile
- the user profile
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List searchBIObjects(java.lang.String valueFilter, java.lang.String typeFilter, java.lang.String columnFilter, java.lang.String isGlobal, java.lang.Integer nodeFilter, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
valueFilter
- the value of the filter for the researchtypeFilter
- the type of the filter (the operator: equals, starts...)columnFilter
- the column on which the filter is appliednodeFilter
- the node (folder id) on which the filter is appliedprofile
- the profile of the user
it.eng.spago.error.EMFUserError
- If an Exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |