|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.commons.dao.ConfigDAO
public class ConfigDAO
Defines the Hibernate implementations for all DAO methods, for a domain.
Constructor Summary | |
---|---|
ConfigDAO()
|
Method Summary | |
---|---|
void |
delete(java.lang.Integer idConfig)
Delete config by id. |
SbiConfig |
fromConfig(Config config)
|
java.util.List |
loadAllConfigParameters()
|
Config |
loadConfigParametersById(java.lang.String id)
Load configuration by id. |
Config |
loadConfigParametersByLabel(java.lang.String label)
Load configuration by complete label. |
java.util.List |
loadConfigParametersByProperties(java.lang.String prop)
Load configuration by a property node. |
void |
saveConfig(Config config)
Save config by id. |
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO |
---|
getSession, getUserProfile, logException, rollbackIfActiveAndClose, setUserID, setUserProfile, updateSbiCommonInfo4Insert, updateSbiCommonInfo4Update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setUserID, setUserProfile |
Constructor Detail |
---|
public ConfigDAO()
Method Detail |
---|
public java.util.List loadAllConfigParameters() throws java.lang.Exception
loadAllConfigParameters
in interface IConfigDAO
java.lang.Exception
public Config loadConfigParametersById(java.lang.String id) throws java.lang.Exception
loadConfigParametersById
in interface IConfigDAO
id
- the configuration id
it.eng.spago.error.EMFUserError
- the EMF user error
java.lang.Exception
it.eng.spagobi.common.bo.dao.ISbiConfigDAO#loadConfigParametersById(integer)
public Config loadConfigParametersByLabel(java.lang.String label) throws java.lang.Exception
loadConfigParametersByLabel
in interface IConfigDAO
label
- the configuration label
it.eng.spago.error.EMFUserError
- the EMF user error
java.lang.Exception
it.eng.spagobi.common.bo.dao.ISbiConfigDAO#loadConfigParametersById(string)
public java.util.List loadConfigParametersByProperties(java.lang.String prop) throws java.lang.Exception
loadConfigParametersByProperties
in interface IConfigDAO
prop
- the configuration label
it.eng.spago.error.EMFUserError
- the EMF user error
java.lang.Exception
it.eng.spagobi.common.bo.dao.ISbiConfigDAO#loadConfigParametersByProperties(string)
public SbiConfig fromConfig(Config config)
public void saveConfig(Config config) throws it.eng.spago.error.EMFUserError
saveConfig
in interface IConfigDAO
id
- the id
it.eng.spago.error.EMFUserError
- the EMF user errorpublic void delete(java.lang.Integer idConfig) throws it.eng.spago.error.EMFUserError
delete
in interface IConfigDAO
id
- the id
it.eng.spago.error.EMFUserError
- the EMF user error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |