|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDomainDAO
Defines the interfaces for all methods needed to operate with a domain.
Method Summary | |
---|---|
void |
delete(java.lang.Integer idDomain)
Delete a domain |
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. |
SbiDomains |
loadSbiDomainByCodeAndValue(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. |
void |
saveDomain(Domain d)
Save a domain |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setUserID, setUserProfile |
Method Detail |
---|
java.util.List loadListDomainsByType(java.lang.String domainType) throws it.eng.spago.error.EMFUserError
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:
it.eng.spago.error.EMFUserError
- If an Exception occurred
Domain loadDomainById(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
,
storing it in a Domain
object.
id
- The identifier domain id
Domain
object storing the domain
it.eng.spago.error.EMFUserError
- if an Exception occursDomain loadDomainByCodeAndValue(java.lang.String codeDomain, java.lang.String codeValue) throws it.eng.spago.error.EMFUserError
codeDomain
and codeValue
, storing it in a Domain
object.
codeDomain
- The identifier domain codecodeValue
- The identifier domain value code
Domain
object storing the domain
it.eng.spago.error.EMFUserError
- if an Exception occursSbiDomains loadSbiDomainByCodeAndValue(java.lang.String codeDomain, java.lang.String codeValue) throws it.eng.spago.error.EMFUserError
codeDomain
and codeValue
, storing it in a Domain
object.
codeDomain
- The identifier domain codecodeValue
- The identifier domain value code
Domain
object storing the domain
it.eng.spago.error.EMFUserError
- if an Exception occursjava.util.List loadListDomains() throws it.eng.spago.error.EMFUserError
Domain and after putting all objects into
a list, which is returned.
- Returns:
- The list of all domains
- Throws:
it.eng.spago.error.EMFUserError
- If an Exception occurred
void saveDomain(Domain d) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid delete(java.lang.Integer idDomain) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
- If an Exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |