|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.bo.dao.jdbc.AbstractJdbcDAO
it.eng.spagobi.bo.dao.jdbc.ParameterUseDAOImpl
Defines the JDBC implementations for all DAO methods, for a parameter use mode.
Constructor Summary | |
ParameterUseDAOImpl()
|
Method Summary | |
void |
eraseParameterUse(ParameterUse aParameterUse)
Implements the query to erase a ParameterUse mode. |
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 |
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.lang.Integer |
getUseId(java.lang.String label,
java.lang.Integer parId)
Gets the use id for a parameter use mode, known its label and its referred parameter id |
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. |
Methods inherited from class it.eng.spagobi.bo.dao.jdbc.AbstractJdbcDAO |
getConnection |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParameterUseDAOImpl()
Method Detail |
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
aParameterUse
-
EMFUserError
IParameterUseDAO.fillRolesForParUse(it.eng.spagobi.bo.ParameterUse)
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 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 java.lang.Integer getUseId(java.lang.String label, java.lang.Integer parId) throws EMFUserError
label
- The label stringparId
- The parameter use mode ID
EMFUserError
- If any exception occurspublic 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 java.util.List loadParametersUseByParId(java.lang.Integer parId) throws EMFUserError
loadParametersUseByParId
in interface IParameterUseDAO
EMFUserError
IParameterUseDAO.loadByUseID(java.lang.Integer)
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 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)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |