|
||||||||||
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.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)
Implements the query to erase a viewpoint. |
void |
insertViewpoint(Viewpoint viewpoint)
Implements the query to insert a viewpoint. |
java.util.List |
loadAllViewpoints()
Loads all detail information for all viewpoints. |
java.util.List |
loadAllViewpointsByObjID(java.lang.Integer objId)
Loads all detail information for all viewpoints of a object specified. |
Viewpoint |
loadViewpointByID(java.lang.Integer id)
Loads all detail information for a viewpoint identified by its id . |
Viewpoint |
loadViewpointByName(java.lang.String name)
Loads all detail information for a viewpoint identified by its name . |
Viewpoint |
toViewpoint(SbiViewpoints hibViewpoint)
From the hibernate BI value viewpoint at input, gives the corrispondent Viepoint 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 ViewpointDAOHimpl()
Method Detail |
---|
public java.util.List loadAllViewpoints() throws it.eng.spago.error.EMFUserError
IViewpointDAO
ViewPoint
object. After that,
all value constraints are stored into a List
, which is returned.
loadAllViewpoints
in interface IViewpointDAO
it.eng.spago.error.EMFUserError
- If an Exception occurredIViewpointDAO.loadAllViewpoints()
public java.util.List loadAllViewpointsByObjID(java.lang.Integer objId) throws it.eng.spago.error.EMFUserError
IViewpointDAO
ViewPoint
object. After that,
all value constraints are stored into a List
, which is returned.
loadAllViewpointsByObjID
in interface IViewpointDAO
it.eng.spago.error.EMFUserError
- If an Exception occurredIViewpointDAO.loadAllViewpoints()
public Viewpoint loadViewpointByID(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IViewpointDAO
id
. All these information are stored into a
Viewpoint
object, which is
returned.
loadViewpointByID
in interface IViewpointDAO
id
- The id for the viewpoint to load
Viewpoint
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredIViewpointDAO.loadViewpointByID(java.lang.Integer)
public Viewpoint loadViewpointByName(java.lang.String name) throws it.eng.spago.error.EMFUserError
IViewpointDAO
name
. All these information are stored into a
Viewpoint
object, which is
returned.
loadViewpointByName
in interface IViewpointDAO
name
- The name for the viewpoint to load
Viewpoint
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredIViewpointDAO.loadViewpointByName(java.lang.String)
public void eraseViewpoint(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IViewpointDAO
Viewpoint
object.
eraseViewpoint
in interface IViewpointDAO
id
- The identifier of viewpoint
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.bo.dao.IViewpointDAO#eraseViewpoint(it.eng.spagobi.bo.Viewpoint)
public void insertViewpoint(Viewpoint viewpoint) throws it.eng.spago.error.EMFUserError
IViewpointDAO
Viewpoint
object.
insertViewpoint
in interface IViewpointDAO
it.eng.spago.error.EMFUserError
- If an Exception occurredIViewpointDAO.insertViewpoint(it.eng.spagobi.bo.Viewpoint)
public Viewpoint toViewpoint(SbiViewpoints hibViewpoint)
Viepoint
object.
hibViewpoint
- The hybernate viewpoint at input
Viewpoint
object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |