|
||||||||||
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. |
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 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
EMFUserError
- EMFUserError If an Exception occurredIParameterUseDAO.loadByUseID(java.lang.Integer)
public void fillAssociatedChecksForParUse(ParameterUse aParameterUse) throws 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
EMFUserError
- if an Exception occurred.IParameterUseDAO.fillAssociatedChecksForParUse(it.eng.spagobi.bo.ParameterUse)
public void fillRolesForParUse(ParameterUse aParameterUse) throws EMFUserError
IParameterUseDAO
ParameterUse
objects, asks for all possible Roles
associated whith it and fills the ListRoles
object's list.
fillRolesForParUse
in interface IParameterUseDAO
EMFUserError
IParameterUseDAO.fillRolesForParUse(it.eng.spagobi.bo.ParameterUse)
public void modifyParameterUse(ParameterUse aParameterUse) throws EMFUserError
IParameterUseDAO
ParameterUse
object.
modifyParameterUse
in interface IParameterUseDAO
aParameterUse
- The object containing all modify information
EMFUserError
- If an Exception occurredIParameterUseDAO.modifyParameterUse(it.eng.spagobi.bo.ParameterUse)
public void insertParameterUse(ParameterUse aParameterUse) throws EMFUserError
IParameterUseDAO
ParameterUse
object.
insertParameterUse
in interface IParameterUseDAO
aParameterUse
- The object containing all insert information
EMFUserError
- If an Exception occurredIParameterUseDAO.insertParameterUse(it.eng.spagobi.bo.ParameterUse)
public void eraseParameterUse(ParameterUse aParameterUse) throws EMFUserError
IParameterUseDAO
ParameterUse
object.
eraseParameterUse
in interface IParameterUseDAO
aParameterUse
- The object containing all erase information
EMFUserError
- If an Exception occurredIParameterUseDAO.eraseParameterUse(it.eng.spagobi.bo.ParameterUse)
public boolean hasParUseModes(java.lang.String parId) throws EMFUserError
IParameterUseDAO
hasParUseModes
in interface IParameterUseDAO
parId
- The parameter id
EMFUserError
- If an Exception occurredIParameterUseDAO.hasParUseModes(java.lang.String)
public java.util.List loadParametersUseByParId(java.lang.Integer parId) throws EMFUserError
loadParametersUseByParId
in interface IParameterUseDAO
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 EMFUserError
eraseParameterUseByParId
in interface IParameterUseDAO
EMFUserError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |