it.eng.spagobi.commons.dao
Class DAOFactory

java.lang.Object
  extended by it.eng.spagobi.commons.dao.DAOFactory

public class DAOFactory
extends java.lang.Object

Contains all the data access object for all the BO objects defined into it.eng.spagobi.bo package.


Constructor Summary
DAOFactory()
           
 
Method Summary
static ISbiAlarmContactDAO getAlarmContactDAO()
          Gets the bI object rating dao.
static ISbiAlarmDAO getAlarmDAO()
          Gets the bI object rating dao.
static ISbiAlarmEventDAO getAlarmEventDAO()
          Gets the bI object rating dao.
static IBinContentDAO getBinContentDAO()
          Gets the bin content dao.
static IBIObjectDAO getBIObjectDAO()
          Creates a DAO instance for a BI object.
static IBIObjectParameterDAO getBIObjectParameterDAO()
          Creates a DAO instance for a BI object parameter.
static IBIObjectRating getBIObjectRatingDAO()
          Gets the bI object rating dao.
static ICheckDAO getChecksDAO()
          Creates a DAO instance for a value constraint.
static IDataSetDAO getDataSetDAO()
          Gets the data set dao.
static IDataSourceDAO getDataSourceDAO()
          Gets the data source dao.
static IDistributionListDAO getDistributionListDAO()
          Gets the distribution list dao.
static IDomainDAO getDomainDAO()
          Creates a DAO instance for a domain.
static IDossierDAO getDossierDAO()
          Gets the dossier dao.
static IDossierPartsTempDAO getDossierPartsTempDAO()
          Gets the dossier parts temp dao.
static IDossierPresentationsDAO getDossierPresentationDAO()
          Gets the dossier presentation dao.
static IEngineDAO getEngineDAO()
          Creates a DAO instance for an engine.
static IKpiDAO getKpiDAO()
          Gets the KPI dao.
static IKpiInstanceDAO getKpiInstanceDAO()
          Gets the KPI Instance dao.
static IKpiInstPeriodDAO getKpiInstPeriodDAO()
          Creates a DAO instance for a predefined Resource.
static ILowFunctionalityDAO getLowFunctionalityDAO()
          Creates a DAO instance for a low functionality.
static IMeasureUnitDAO getMeasureUnitDAO()
          Creates a DAO instance for a predefined Measure Unit.
static IMenuDAO getMenuDAO()
          Gets the menu dao.
static IMenuRolesDAO getMenuRolesDAO()
          Gets the menu roles dao.
static IModalitiesValueDAO getModalitiesValueDAO()
          Creates a DAO instance for a predefined LOV.
static IModelDAO getModelDAO()
          Gets the MODEL dao.
static IModelInstanceDAO getModelInstanceDAO()
          Gets the MODELINSTANCE dao.
static IModelResourceDAO getModelResourcesDAO()
          Gets the MODELRESOURCE dao.
static IObjMetacontentDAO getObjMetacontentDAO()
          Creates a DAO instance for a object Metadata.
static IObjMetadataDAO getObjMetadataDAO()
          Creates a DAO instance for a object Metadata.
static IObjNoteDAO getObjNoteDAO()
          Gets the obj note dao.
static IObjParuseDAO getObjParuseDAO()
          Gets the obj paruse dao.
static IObjTemplateDAO getObjTemplateDAO()
          Gets the obj template dao.
static IParameterDAO getParameterDAO()
          Creates a DAO instance for a parameter.
static IParameterUseDAO getParameterUseDAO()
          Creates a DAO instance for a parameter use mode.
static IPeriodicityDAO getPeriodicityDAO()
          Gets the PERIODICITY dao.
static IRememberMeDAO getRememberMeDAO()
          Gets the remember me dao.
static IResourceDAO getResourceDAO()
          Creates a DAO instance for a predefined Resource.
static IRoleDAO getRoleDAO()
          Creates a DAO instance for a role.
static ISbiAttributeDAO getSbiAttributeDAO()
          Creates a DAO instance for a object SbiAttribute.
static IConfigDAO getSbiConfigDAO()
          Creates a DAO instance for a object SbiConfig.
static ISbiGeoFeaturesDAO getSbiGeoFeaturesDAO()
          Creates a DAO instance for a BI object.
static ISbiGeoMapFeaturesDAO getSbiGeoMapFeaturesDAO()
          Creates a DAO instance for a BI object.
static ISbiGeoMapsDAO getSbiGeoMapsDAO()
          Creates a DAO instance for a BI object.
static IModelAttrDAO getSbiKpiModelAttrDAO()
          Creates a DAO instance for a object SbiKpiModelAttr.
static IModelAttrValDAO getSbiKpiModelAttrValDAO()
          Creates a DAO instance for a object SbiKpiModelAttrVal.
static ISbiUserDAO getSbiUserDAO()
          Creates a DAO instance for a object SbiUser.
static ISnapshotDAO getSnapshotDAO()
          Gets the snapshot dao.
static ISubObjectDAO getSubObjectDAO()
          Gets the sub object dao.
static ISubreportDAO getSubreportDAO()
          Creates a DAO instance for a Subreport.
static IThresholdDAO getThresholdDAO()
          Gets the THRESHOLD dao.
static IThresholdValueDAO getThresholdValueDAO()
          Gets the ThresholdValue dao.
static IUserFunctionalityDAO getUserFunctionalityDAO()
          Creates a DAO instance for a BI object.
static IViewpointDAO getViewpointDAO()
          Creates a DAO instance for a viewpoint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOFactory

public DAOFactory()
Method Detail

getBIObjectDAO

public static IBIObjectDAO getBIObjectDAO()
                                   throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a BI object.

Returns:
a DAO instance for the BIObject
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getSubreportDAO

public static ISubreportDAO getSubreportDAO()
                                     throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a Subreport.

Returns:
a DAO instance for the Subreport
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getBIObjectParameterDAO

public static IBIObjectParameterDAO getBIObjectParameterDAO()
                                                     throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a BI object parameter.

Returns:
a DAO instance for the BIObject parameter
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getChecksDAO

public static ICheckDAO getChecksDAO()
                              throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a value constraint.

Returns:
a DAO instance for the value constraint
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getDomainDAO

public static IDomainDAO getDomainDAO()
                               throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a domain.

Returns:
a DAO instance for the domain
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getEngineDAO

public static IEngineDAO getEngineDAO()
                               throws it.eng.spago.error.EMFUserError
Creates a DAO instance for an engine.

Returns:
a DAO instance for the engine
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getLowFunctionalityDAO

public static ILowFunctionalityDAO getLowFunctionalityDAO()
                                                   throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a low functionality.

Returns:
a DAO instance for the low functionality
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getModalitiesValueDAO

public static IModalitiesValueDAO getModalitiesValueDAO()
                                                 throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a predefined LOV.

Returns:
a DAO instance for the predefined LOV
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getParameterDAO

public static IParameterDAO getParameterDAO()
                                     throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a parameter.

Returns:
a DAO instance for the parameter
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getParameterUseDAO

public static IParameterUseDAO getParameterUseDAO()
                                           throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a parameter use mode.

Returns:
a DAO instance for the parameter use mode
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getRoleDAO

public static IRoleDAO getRoleDAO()
                           throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a role.

Returns:
a DAO instance for the role
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getObjParuseDAO

public static IObjParuseDAO getObjParuseDAO()
                                     throws it.eng.spago.error.EMFUserError
Gets the obj paruse dao.

Returns:
the obj paruse dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getViewpointDAO

public static IViewpointDAO getViewpointDAO()
                                     throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a viewpoint.

Returns:
a DAO instance for the viewpoint
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getDataSourceDAO

public static IDataSourceDAO getDataSourceDAO()
                                       throws it.eng.spago.error.EMFUserError
Gets the data source dao.

Returns:
the data source dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getDataSetDAO

public static IDataSetDAO getDataSetDAO()
                                 throws it.eng.spago.error.EMFUserError
Gets the data set dao.

Returns:
the data set dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getBinContentDAO

public static IBinContentDAO getBinContentDAO()
                                       throws it.eng.spago.error.EMFUserError
Gets the bin content dao.

Returns:
the bin content dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getObjTemplateDAO

public static IObjTemplateDAO getObjTemplateDAO()
                                         throws it.eng.spago.error.EMFUserError
Gets the obj template dao.

Returns:
the obj template dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getObjNoteDAO

public static IObjNoteDAO getObjNoteDAO()
                                 throws it.eng.spago.error.EMFUserError
Gets the obj note dao.

Returns:
the obj note dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getSubObjectDAO

public static ISubObjectDAO getSubObjectDAO()
                                     throws it.eng.spago.error.EMFUserError
Gets the sub object dao.

Returns:
the sub object dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getSnapshotDAO

public static ISnapshotDAO getSnapshotDAO()
                                   throws it.eng.spago.error.EMFUserError
Gets the snapshot dao.

Returns:
the snapshot dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getSbiGeoMapsDAO

public static ISbiGeoMapsDAO getSbiGeoMapsDAO()
                                       throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a BI object.

Returns:
a DAO instance for the BIObject
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getSbiGeoFeaturesDAO

public static ISbiGeoFeaturesDAO getSbiGeoFeaturesDAO()
                                               throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a BI object.

Returns:
a DAO instance for the BIObject
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getSbiGeoMapFeaturesDAO

public static ISbiGeoMapFeaturesDAO getSbiGeoMapFeaturesDAO()
                                                     throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a BI object.

Returns:
a DAO instance for the BIObject
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getUserFunctionalityDAO

public static IUserFunctionalityDAO getUserFunctionalityDAO()
                                                     throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a BI object.

Returns:
a DAO instance for the BIObject
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getDistributionListDAO

public static IDistributionListDAO getDistributionListDAO()
                                                   throws it.eng.spago.error.EMFUserError
Gets the distribution list dao.

Returns:
the distribution list dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getDossierDAO

public static IDossierDAO getDossierDAO()
                                 throws it.eng.spago.error.EMFUserError
Gets the dossier dao.

Returns:
the dossier dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getDossierPresentationDAO

public static IDossierPresentationsDAO getDossierPresentationDAO()
                                                          throws it.eng.spago.error.EMFUserError
Gets the dossier presentation dao.

Returns:
the dossier presentation dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getDossierPartsTempDAO

public static IDossierPartsTempDAO getDossierPartsTempDAO()
                                                   throws it.eng.spago.error.EMFUserError
Gets the dossier parts temp dao.

Returns:
the dossier parts temp dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getRememberMeDAO

public static IRememberMeDAO getRememberMeDAO()
                                       throws it.eng.spago.error.EMFUserError
Gets the remember me dao.

Returns:
the remember me dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getMenuDAO

public static IMenuDAO getMenuDAO()
                           throws it.eng.spago.error.EMFUserError
Gets the menu dao.

Returns:
the menu dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getMenuRolesDAO

public static IMenuRolesDAO getMenuRolesDAO()
                                     throws it.eng.spago.error.EMFUserError
Gets the menu roles dao.

Returns:
the menu roles dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getBIObjectRatingDAO

public static IBIObjectRating getBIObjectRatingDAO()
                                            throws it.eng.spago.error.EMFUserError
Gets the bI object rating dao.

Returns:
the bI object rating dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getKpiDAO

public static IKpiDAO getKpiDAO()
                         throws it.eng.spago.error.EMFUserError
Gets the KPI dao.

Returns:
the KPI dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getKpiInstanceDAO

public static IKpiInstanceDAO getKpiInstanceDAO()
                                         throws it.eng.spago.error.EMFUserError
Gets the KPI Instance dao.

Returns:
the KPI Instance dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getAlarmContactDAO

public static ISbiAlarmContactDAO getAlarmContactDAO()
                                              throws it.eng.spago.error.EMFUserError
Gets the bI object rating dao.

Returns:
the bI object rating dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getAlarmDAO

public static ISbiAlarmDAO getAlarmDAO()
                                throws it.eng.spago.error.EMFUserError
Gets the bI object rating dao.

Returns:
the bI object rating dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getAlarmEventDAO

public static ISbiAlarmEventDAO getAlarmEventDAO()
                                          throws it.eng.spago.error.EMFUserError
Gets the bI object rating dao.

Returns:
the bI object rating dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getModelDAO

public static IModelDAO getModelDAO()
                             throws it.eng.spago.error.EMFUserError
Gets the MODEL dao.

Returns:
the MODEL dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getModelInstanceDAO

public static IModelInstanceDAO getModelInstanceDAO()
                                             throws it.eng.spago.error.EMFUserError
Gets the MODELINSTANCE dao.

Returns:
the MODELINSTANCE dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getPeriodicityDAO

public static IPeriodicityDAO getPeriodicityDAO()
                                         throws it.eng.spago.error.EMFUserError
Gets the PERIODICITY dao.

Returns:
the PERIODICITY dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getThresholdDAO

public static IThresholdDAO getThresholdDAO()
                                     throws it.eng.spago.error.EMFUserError
Gets the THRESHOLD dao.

Returns:
the THRESHOLD dao
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getModelResourcesDAO

public static IModelResourceDAO getModelResourcesDAO()
                                              throws it.eng.spago.error.EMFUserError
Gets the MODELRESOURCE dao.

Returns:
the MODELRESOURCE dao.
Throws:
it.eng.spago.error.EMFUserError - the EMF user error.

getThresholdValueDAO

public static IThresholdValueDAO getThresholdValueDAO()
                                               throws it.eng.spago.error.EMFUserError
Gets the ThresholdValue dao.

Returns:
the ThresholdValue dao.
Throws:
it.eng.spago.error.EMFUserError - the EMF user error.

getMeasureUnitDAO

public static IMeasureUnitDAO getMeasureUnitDAO()
                                         throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a predefined Measure Unit.

Returns:
a DAO instance for the predefined MeasureUnit
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getResourceDAO

public static IResourceDAO getResourceDAO()
                                   throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a predefined Resource.

Returns:
a DAO instance for the predefined rescource
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getKpiInstPeriodDAO

public static IKpiInstPeriodDAO getKpiInstPeriodDAO()
                                             throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a predefined Resource.

Returns:
a DAO instance for the predefined rescource
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getObjMetadataDAO

public static IObjMetadataDAO getObjMetadataDAO()
                                         throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a object Metadata.

Returns:
a DAO instance for the predefined object metadata
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getObjMetacontentDAO

public static IObjMetacontentDAO getObjMetacontentDAO()
                                               throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a object Metadata.

Returns:
a DAO instance for the predefined object metadata
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getSbiUserDAO

public static ISbiUserDAO getSbiUserDAO()
                                 throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a object SbiUser.

Returns:
a DAO instance for the predefined SbiUser
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getSbiAttributeDAO

public static ISbiAttributeDAO getSbiAttributeDAO()
                                           throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a object SbiAttribute.

Returns:
a DAO instance for the predefined SbiAttribute
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getSbiConfigDAO

public static IConfigDAO getSbiConfigDAO()
                                  throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a object SbiConfig.

Returns:
a DAO instance for the predefined SbiConfig
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getSbiKpiModelAttrDAO

public static IModelAttrDAO getSbiKpiModelAttrDAO()
                                           throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a object SbiKpiModelAttr.

Returns:
a DAO instance for the predefined SbiKpiModelAttr
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

getSbiKpiModelAttrValDAO

public static IModelAttrValDAO getSbiKpiModelAttrValDAO()
                                                 throws it.eng.spago.error.EMFUserError
Creates a DAO instance for a object SbiKpiModelAttrVal.

Returns:
a DAO instance for the predefined SbiKpiModelAttrVal
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred