|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.analiticalmodel.document.dao.ViewpointDAOHimpl
public class ViewpointDAOHimpl
Defines the Hibernate implementations for all DAO methods, for a viewpoint.
Constructor Summary | |
---|---|
ViewpointDAOHimpl()
|
Method Summary | |
---|---|
void |
eraseViewpoint(java.lang.Integer id)
Erase viewpoint. |
void |
insertViewpoint(Viewpoint viewpoint)
Insert viewpoint. |
java.util.List |
loadAccessibleViewpointsByObjId(java.lang.Integer objId,
it.eng.spago.security.IEngUserProfile userProfile)
Loads all detail information for all viewpoints of a object specified accessibile to the user profile at input. |
java.util.List |
loadAllViewpoints()
Load all viewpoints. |
java.util.List |
loadAllViewpointsByObjID(java.lang.Integer objId)
Load all viewpoints by obj id. |
Viewpoint |
loadViewpointByID(java.lang.Integer id)
Load viewpoint by id. |
Viewpoint |
loadViewpointByNameAndBIObjectId(java.lang.String name,
java.lang.Integer biobjectId)
Load viewpoint by name and document identifier. |
Viewpoint |
toViewpoint(SbiViewpoints hibViewpoint)
From the hibernate BI value viewpoint at input, gives the corrispondent Viepoint object. |
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO |
---|
getSession, logException, rollbackIfActiveAndClose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewpointDAOHimpl()
Method Detail |
---|
public java.util.List loadAllViewpoints() throws it.eng.spago.error.EMFUserError
loadAllViewpoints
in interface IViewpointDAO
it.eng.spago.error.EMFUserError
- the EMF user errorIViewpointDAO.loadAllViewpoints()
public java.util.List loadAllViewpointsByObjID(java.lang.Integer objId) throws it.eng.spago.error.EMFUserError
loadAllViewpointsByObjID
in interface IViewpointDAO
objId
- the obj id
it.eng.spago.error.EMFUserError
- the EMF user errorIViewpointDAO.loadAllViewpoints()
public Viewpoint loadViewpointByID(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
loadViewpointByID
in interface IViewpointDAO
id
- the id
it.eng.spago.error.EMFUserError
- the EMF user errorIViewpointDAO.loadViewpointByID(java.lang.Integer)
public Viewpoint loadViewpointByNameAndBIObjectId(java.lang.String name, java.lang.Integer biobjectId) throws it.eng.spago.error.EMFUserError
loadViewpointByNameAndBIObjectId
in interface IViewpointDAO
name
- the name of the viewpointname
- The id of the document
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.analiticalmodel.document.dao.IViewpointDAO#loadViewpointByName(java.lang.String)
public void eraseViewpoint(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
eraseViewpoint
in interface IViewpointDAO
id
- the id
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.analiticalmodel.document.dao.IViewpointDAO#eraseViewpoint(it.eng.spagobi.analiticalmodel.document.bo.Viewpoint)
public void insertViewpoint(Viewpoint viewpoint) throws it.eng.spago.error.EMFUserError
insertViewpoint
in interface IViewpointDAO
viewpoint
- the viewpoint
it.eng.spago.error.EMFUserError
- the EMF user errorIViewpointDAO.insertViewpoint(it.eng.spagobi.analiticalmodel.document.bo.Viewpoint)
public Viewpoint toViewpoint(SbiViewpoints hibViewpoint)
Viepoint
object.
hibViewpoint
- The hybernate viewpoint at input
Viewpoint
objectpublic java.util.List loadAccessibleViewpointsByObjId(java.lang.Integer objId, it.eng.spago.security.IEngUserProfile userProfile) throws it.eng.spago.error.EMFUserError
IViewpointDAO
ViewPoint
object. After that, all value constraints are stored into a List
, which is returned.
loadAccessibleViewpointsByObjId
in interface IViewpointDAO
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 |