it.eng.spagobi.commons.dao
Interface IConfigDAO

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
ConfigDAO

public interface IConfigDAO
extends ISpagoBIDao

Defines the Hibernate implementations for all DAO methods, for a domain.

Author:
Monia Spinelli

Method Summary
 void delete(java.lang.Integer idConfig)
          Delete a config
 java.util.List loadAllConfigParameters()
           
 Config loadConfigParametersById(java.lang.String id)
           
 Config loadConfigParametersByLabel(java.lang.String label)
           
 java.util.List loadConfigParametersByProperties(java.lang.String prop)
           
 void saveConfig(Config c)
          Save a Config
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setTenant, setUserID, setUserProfile
 

Method Detail

loadAllConfigParameters

java.util.List loadAllConfigParameters()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

loadConfigParametersById

Config loadConfigParametersById(java.lang.String id)
                                throws java.lang.Exception
Throws:
java.lang.Exception

loadConfigParametersByLabel

Config loadConfigParametersByLabel(java.lang.String label)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

loadConfigParametersByProperties

java.util.List loadConfigParametersByProperties(java.lang.String prop)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

saveConfig

void saveConfig(Config c)
                throws it.eng.spago.error.EMFUserError
Save a Config

Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

delete

void delete(java.lang.Integer idConfig)
            throws it.eng.spago.error.EMFUserError
Delete a config

Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred