it.eng.spagobi.bo.dao
Class DAOFactory

java.lang.Object
  extended byit.eng.spagobi.bo.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.

Author:
Zoppello

Constructor Summary
DAOFactory()
           
 
Method Summary
static IBIObjectCMSDAO getBIObjectCMSDAO()
          Creates BI object DAO instance for cms access
static IBIObjectDAO getBIObjectDAO()
          Creates a DAO instance for a BI object
static IBIObjectParameterDAO getBIObjectParameterDAO()
          Creates a DAO instance for a BI object parameter
static ICheckDAO getChecksDAO()
          Creates a DAO instance for a value constraint
static IDomainDAO getDomainDAO()
          Creates a DAO instance for a domain
static IEngineDAO getEngineDAO()
          Creates a DAO instance for an engine
static ILowFunctionalityDAO getLowFunctionalityDAO()
          Creates a DAO instance for a low functionality
static IModalitiesValueDAO getModalitiesValueDAO()
          Creates a DAO instance for a predefined LOV
static IParameterDAO getParameterDAO()
          Creates a DAO instance for a parameter
static IParameterUseDAO getParameterUseDAO()
          Creates a DAO instance for a parameter use mode
static IRoleDAO getRoleDAO()
          Creates a DAO instance for a role
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOFactory

public DAOFactory()
Method Detail

getBIObjectDAO

public static IBIObjectDAO getBIObjectDAO()
                                   throws EMFUserError
Creates a DAO instance for a BI object

Returns:
a DAO instance for the BIObject
Throws:
EMFUserError - If an Exception occurred

getBIObjectCMSDAO

public static IBIObjectCMSDAO getBIObjectCMSDAO()
                                         throws EMFUserError
Creates BI object DAO instance for cms access

Returns:
a CMS DAO instance for the BIObject
Throws:
EMFUserError - If an Exception occurred

getBIObjectParameterDAO

public static IBIObjectParameterDAO getBIObjectParameterDAO()
                                                     throws EMFUserError
Creates a DAO instance for a BI object parameter

Returns:
a DAO instance for the BIObject parameter
Throws:
EMFUserError - If an Exception occurred

getChecksDAO

public static ICheckDAO getChecksDAO()
                              throws EMFUserError
Creates a DAO instance for a value constraint

Returns:
a DAO instance for the value constraint
Throws:
EMFUserError - If an Exception occurred

getDomainDAO

public static IDomainDAO getDomainDAO()
                               throws EMFUserError
Creates a DAO instance for a domain

Returns:
a DAO instance for the domain
Throws:
EMFUserError - If an Exception occurred

getEngineDAO

public static IEngineDAO getEngineDAO()
                               throws EMFUserError
Creates a DAO instance for an engine

Returns:
a DAO instance for the engine
Throws:
EMFUserError - If an Exception occurred

getLowFunctionalityDAO

public static ILowFunctionalityDAO getLowFunctionalityDAO()
                                                   throws EMFUserError
Creates a DAO instance for a low functionality

Returns:
a DAO instance for the low functionality
Throws:
EMFUserError - If an Exception occurred

getModalitiesValueDAO

public static IModalitiesValueDAO getModalitiesValueDAO()
                                                 throws EMFUserError
Creates a DAO instance for a predefined LOV

Returns:
a DAO instance for the predefined LOV
Throws:
EMFUserError - If an Exception occurred

getParameterDAO

public static IParameterDAO getParameterDAO()
                                     throws EMFUserError
Creates a DAO instance for a parameter

Returns:
a DAO instance for the parameter
Throws:
EMFUserError - If an Exception occurred

getParameterUseDAO

public static IParameterUseDAO getParameterUseDAO()
                                           throws EMFUserError
Creates a DAO instance for a parameter use mode

Returns:
a DAO instance for the parameter use mode
Throws:
EMFUserError - If an Exception occurred

getRoleDAO

public static IRoleDAO getRoleDAO()
                           throws EMFUserError
Creates a DAO instance for a role

Returns:
a DAO instance for the prrole
Throws:
EMFUserError - If an Exception occurred