|
||||||||||
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.ParameterUseDAOHibImpl
public class ParameterUseDAOHibImpl
Defines the Hibernate implementations for all DAO methods, for a parameter use mode.
Constructor Summary | |
---|---|
ParameterUseDAOHibImpl()
|
Method Summary | |
---|---|
void |
eraseParameterUse(ParameterUse aParameterUse)
Implements the query to erase a ParameterUse mode. |
void |
eraseParameterUseByParId(java.lang.Integer parId)
|
void |
fillAssociatedChecksForParUse(ParameterUse aParameterUse)
Given at input a ParameterUse objects, asks for all possible Checks
associated whith it and fills the AssociatedChecks object's list. |
void |
fillParameterUse(ParameterUse aParameterUse,
SbiParuse hibParUse)
|
void |
fillRolesForParUse(ParameterUse aParameterUse)
Given at input a ParameterUse objects, asks for all possible Roles
associated whith it and fills the ListRoles object's list. |
java.util.List |
getParameterUsesAssociatedToLov(java.lang.Integer lovId)
Gets the list of parameter uses associated to the lov identified by the lovId at input |
boolean |
hasParUseModes(java.lang.String parId)
Controls if a parameter has some use modes associated or not. |
void |
insertParameterUse(ParameterUse aParameterUse)
Implements the query to insert a parameter use mode. |
ParameterUse |
loadByUseID(java.lang.Integer useID)
Loads all detail information for a parameter use mode identified by its useID . |
java.util.List |
loadParametersUseByParId(java.lang.Integer parId)
|
void |
modifyParameterUse(ParameterUse aParameterUse)
Implements the query to modify a parameter use mode. |
ParameterUse |
toParameterUse(SbiParuse hibParUse)
From the hibernate Parameter Use mode at input, gives the corrispondent ParameterUse 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 ParameterUseDAOHibImpl()
Method Detail |
---|
public ParameterUse loadByUseID(java.lang.Integer useID) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
useID
. All these information, achived by a query
to the DB, are stored into aParameterUse
object, which is
returned.
loadByUseID
in interface IParameterUseDAO
useID
- The id for the parameter use mode to load
ParameterUse
object containing all loaded information
it.eng.spago.error.EMFUserError
- EMFUserError If an Exception occurredIParameterUseDAO.loadByUseID(java.lang.Integer)
public void fillAssociatedChecksForParUse(ParameterUse aParameterUse) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
ParameterUse
objects, asks for all possible Checks
associated whith it and fills the AssociatedChecks
object's list.
fillAssociatedChecksForParUse
in interface IParameterUseDAO
aParameterUse
- The ParameterUse
object to fill the Checks list in
it.eng.spago.error.EMFUserError
- if an Exception occurred.IParameterUseDAO.fillAssociatedChecksForParUse(it.eng.spagobi.bo.ParameterUse)
public void fillRolesForParUse(ParameterUse aParameterUse) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
ParameterUse
objects, asks for all possible Roles
associated whith it and fills the ListRoles
object's list.
fillRolesForParUse
in interface IParameterUseDAO
it.eng.spago.error.EMFUserError
IParameterUseDAO.fillRolesForParUse(it.eng.spagobi.bo.ParameterUse)
public void modifyParameterUse(ParameterUse aParameterUse) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
ParameterUse
object.
modifyParameterUse
in interface IParameterUseDAO
aParameterUse
- The object containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredIParameterUseDAO.modifyParameterUse(it.eng.spagobi.bo.ParameterUse)
public void insertParameterUse(ParameterUse aParameterUse) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
ParameterUse
object.
insertParameterUse
in interface IParameterUseDAO
aParameterUse
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredIParameterUseDAO.insertParameterUse(it.eng.spagobi.bo.ParameterUse)
public void eraseParameterUse(ParameterUse aParameterUse) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
ParameterUse
object.
eraseParameterUse
in interface IParameterUseDAO
aParameterUse
- The object containing all erase information
it.eng.spago.error.EMFUserError
- If an Exception occurredIParameterUseDAO.eraseParameterUse(it.eng.spagobi.bo.ParameterUse)
public boolean hasParUseModes(java.lang.String parId) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
hasParUseModes
in interface IParameterUseDAO
parId
- The parameter id
it.eng.spago.error.EMFUserError
- If an Exception occurredIParameterUseDAO.hasParUseModes(java.lang.String)
public java.util.List loadParametersUseByParId(java.lang.Integer parId) throws it.eng.spago.error.EMFUserError
loadParametersUseByParId
in interface IParameterUseDAO
it.eng.spago.error.EMFUserError
IParameterUseDAO.loadParametersUseByParId(java.lang.Integer)
public ParameterUse toParameterUse(SbiParuse hibParUse)
ParameterUse
object.
hibParUse
- The hybernate parameter use mode
ParameterUse
objectpublic void fillParameterUse(ParameterUse aParameterUse, SbiParuse hibParUse)
public void eraseParameterUseByParId(java.lang.Integer parId) throws it.eng.spago.error.EMFUserError
eraseParameterUseByParId
in interface IParameterUseDAO
it.eng.spago.error.EMFUserError
public java.util.List getParameterUsesAssociatedToLov(java.lang.Integer lovId) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
getParameterUsesAssociatedToLov
in interface IParameterUseDAO
lovId
- The integer id of the lov
it.eng.spago.error.EMFUserError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |