it.eng.spagobi.bo.dao
Interface IDomainDAO

All Known Implementing Classes:
DomainDAOHibImpl, DomainDAOImpl

public interface IDomainDAO

Defines the interfaces for all methods needed to operate with a domain.

Author:
Zoppello

Method Summary
 Domain loadDomainByCodeAndValue(java.lang.String codeDomain, java.lang.String codeValue)
          Returns the domain identified by the two input parameters codeDomain and codeValue, storing it in a Domain object.
 java.util.List loadListDomainsByType(java.lang.String domainType)
          Loads all possible domain that refer to a given domain type, storing each of them into a Domain and after putting all objects into a list, which is returned.
 

Method Detail

loadListDomainsByType

java.util.List loadListDomainsByType(java.lang.String domainType)
                                     throws EMFUserError
Loads all possible domain that refer to a given domain type, storing each of them into a Domain and after putting all objects into a list, which is returned.

Parameters:
domainType - The String identifying the domain type
Returns:
The list of all domains
Throws:
EMFUserError - If an Exception occurred

loadDomainByCodeAndValue

Domain loadDomainByCodeAndValue(java.lang.String codeDomain,
                                java.lang.String codeValue)
                                throws EMFUserError
Returns the domain identified by the two input parameters codeDomain and codeValue, storing it in a Domain object.

Parameters:
codeDomain - The identifier domain code
codeValue - The identifier domain value code
Returns:
The Domain object storing the domain
Throws:
EMFUserError - if an Exception occurs