|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.bo.dao.jdbc.AbstractJdbcDAO
it.eng.spagobi.bo.dao.jdbc.DomainDAOImpl
public class DomainDAOImpl
Defines the JDBC implementations for all DAO methods, for a domain.
Constructor Summary | |
---|---|
DomainDAOImpl()
|
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. |
Domain |
loadDomainById(java.lang.Integer id)
Returns the domain identified by the input parameter id ,
storing it in a Domain object. |
java.util.List |
loadListDomains()
Loads all possible domain, storing each of them into a Domain and after putting all objects into
a list, which is returned. |
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. |
Methods inherited from class it.eng.spagobi.bo.dao.jdbc.AbstractJdbcDAO |
---|
getConnection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomainDAOImpl()
Method Detail |
---|
public java.util.List loadListDomainsByType(java.lang.String domainType) throws EMFUserError
IDomainDAO
Domain and after putting all objects into
a list, which is returned.
- Specified by:
loadListDomainsByType
in interface IDomainDAO
- Parameters:
domainType
- The String identifying the domain type
- Returns:
- The list of all domains
- Throws:
EMFUserError
- If an Exception occurred- See Also:
IDomainDAO.loadListDomainsByType(java.lang.String)
public Domain loadDomainByCodeAndValue(java.lang.String codeDomain, java.lang.String codeValue) throws EMFUserError
IDomainDAO
codeDomain
and codeValue
, storing it in a Domain
object.
loadDomainByCodeAndValue
in interface IDomainDAO
codeDomain
- The identifier domain codecodeValue
- The identifier domain value code
Domain
object storing the domain
EMFUserError
- if an Exception occursIDomainDAO.loadDomainByCodeAndValue(java.lang.String, java.lang.String)
public Domain loadDomainById(java.lang.Integer id) throws EMFUserError
IDomainDAO
id
,
storing it in a Domain
object.
loadDomainById
in interface IDomainDAO
id
- The identifier domain id
Domain
object storing the domain
EMFUserError
- if an Exception occurspublic java.util.List loadListDomains() throws EMFUserError
IDomainDAO
Domain and after putting all objects into
a list, which is returned.
- Specified by:
loadListDomains
in interface IDomainDAO
- Returns:
- The list of all domains
- Throws:
EMFUserError
- If an Exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |