|
||||||||||
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)
Delete all the parameter use modes associated to the input parameter id. |
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)
Fill an empty ParameterUse object extracting data from a SbiParuse object |
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. |
SbiParuse |
loadById(java.lang.Integer id)
Loads all detail information for a parameter use mode identified by its id . |
ParameterUse |
loadByParameterIdandRole(java.lang.Integer parameterId,
java.lang.String roleName)
Loads all detail information for a parameter use mode identified by a parameter id and a role name. |
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)
Loads the list of parameter use modes associated to the input parameter id. |
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 SbiParuse loadById(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
id
. All these information, achived by a query
to the DB, are stored into aSbiParuse
object, which is
returned.
loadById
in interface IParameterUseDAO
id
- The id for the parameter use mode to load
SbiParuse
object containing all loaded information
it.eng.spago.error.EMFUserError
- EMFUserError If an Exception occurredIParameterUseDAO.loadById(java.lang.Integer)
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 ParameterUse loadByParameterIdandRole(java.lang.Integer parameterId, java.lang.String roleName) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
ParameterUse
object, which is
returned.
loadByParameterIdandRole
in interface IParameterUseDAO
parameterId
- The id for the parameter associatedroleName
- The role name associated
ParameterUse
object containing all loaded information
it.eng.spago.error.EMFUserError
- EMFUserError If an Exception occurredIParameterUseDAO.loadByParameterIdandRole(java.lang.Integer, java.lang.String)
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
IParameterUseDAO
loadParametersUseByParId
in interface IParameterUseDAO
ParameterUse
objects
it.eng.spago.error.EMFUserError
- EMFUserError If an Exception occurredIParameterUseDAO.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)
aParameterUse
- the destionation ParameterUse objecthibParUse
- the source SbiParuse objectpublic void eraseParameterUseByParId(java.lang.Integer parId) throws it.eng.spago.error.EMFUserError
IParameterUseDAO
eraseParameterUseByParId
in interface IParameterUseDAO
it.eng.spago.error.EMFUserError
- EMFUserError If an Exception occurredIParameterUseDAO.eraseParameterUseByParId(java.lang.Integer)
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
IParameterUseDAO.getParameterUsesAssociatedToLov(java.lang.Integer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |