|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.bo.dao.hibernate.AbstractHibernateDAO
it.eng.spagobi.bo.dao.hibernate.LovDAOHibImpl
public class LovDAOHibImpl
Defines the Hibernate implementations for all DAO methods, for a list of values.
Constructor Summary | |
---|---|
LovDAOHibImpl()
|
Method Summary | |
---|---|
void |
eraseModalitiesValue(ModalitiesValue aModalitiesValue)
Implements the query to erase a value. |
boolean |
hasParameters(java.lang.String lovId)
Controls if a value in the predefined LOV is associated or not with a parameter. |
void |
insertModalitiesValue(ModalitiesValue aModalitiesValue)
Implements the query to insert a value. |
java.util.List |
loadAllModalitiesValue()
Loads all detail information for all values . |
java.util.List |
loadAllModalitiesValueOrderByCode()
Select all ModalitiesValue object ordered by code |
ModalitiesValue |
loadModalitiesValueByID(java.lang.Integer modalitiesValueID)
Loads all detail information for an value identified by its modalitiesValueID . |
ModalitiesValue |
loadModalitiesValueByLabel(java.lang.String label)
Loads all detail information for a lov by its label . |
void |
modifyModalitiesValue(ModalitiesValue aModalitiesValue)
Implements the query to modify a value. |
private ModalitiesValue |
toModalityValue(SbiLov hibLov)
From the hibernate LOV at input, gives the corrispondent ModalitiesValue object. |
Methods inherited from class it.eng.spagobi.bo.dao.hibernate.AbstractHibernateDAO |
---|
getSession, logException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LovDAOHibImpl()
Method Detail |
---|
public ModalitiesValue loadModalitiesValueByID(java.lang.Integer modalitiesValueID) throws EMFUserError
IModalitiesValueDAO
modalitiesValueID
.
All these information, achived by a query to the DB, are stored into a ModalitiesValue
object, which is
returned.
loadModalitiesValueByID
in interface IModalitiesValueDAO
modalitiesValueID
- The id for the value to load
ModalitiesValue
object containing all loaded information
EMFUserError
- If an Exception occurredIModalitiesValueDAO.loadModalitiesValueByID(Integer)
public ModalitiesValue loadModalitiesValueByLabel(java.lang.String label) throws EMFUserError
IModalitiesValueDAO
label
.
All these information, achived by a query to the DB, are stored into a ModalitiesValue
object, which is
returned.
loadModalitiesValueByLabel
in interface IModalitiesValueDAO
label
- The label for the value to load
ModalitiesValue
object containing all loaded information
EMFUserError
- If an Exception occurredIModalitiesValueDAO.loadModalitiesValueByID(Integer)
public void modifyModalitiesValue(ModalitiesValue aModalitiesValue) throws EMFUserError
IModalitiesValueDAO
ModalitiesValue
object.
modifyModalitiesValue
in interface IModalitiesValueDAO
aModalitiesValue
- The object containing all modify information
EMFUserError
- If an Exception occurredIModalitiesValueDAO.modifyModalitiesValue(it.eng.spagobi.bo.ModalitiesValue)
public void insertModalitiesValue(ModalitiesValue aModalitiesValue) throws EMFUserError
IModalitiesValueDAO
ModalitiesValue
object.
insertModalitiesValue
in interface IModalitiesValueDAO
aModalitiesValue
- The object containing all insert information
EMFUserError
- If an Exception occurredIModalitiesValueDAO.insertModalitiesValue(it.eng.spagobi.bo.ModalitiesValue)
public void eraseModalitiesValue(ModalitiesValue aModalitiesValue) throws EMFUserError
IModalitiesValueDAO
ModalitiesValue
object.
eraseModalitiesValue
in interface IModalitiesValueDAO
aModalitiesValue
- The object containing all delete information
EMFUserError
- If an Exception occurredIModalitiesValueDAO.eraseModalitiesValue(it.eng.spagobi.bo.ModalitiesValue)
public java.util.List loadAllModalitiesValue() throws EMFUserError
IModalitiesValueDAO
ModalitiesValue
objects, which is
returned.
loadAllModalitiesValue
in interface IModalitiesValueDAO
EMFUserError
- If an exception occursIModalitiesValueDAO.loadAllModalitiesValue()
public java.util.List loadAllModalitiesValueOrderByCode() throws EMFUserError
IModalitiesValueDAO
ModalitiesValue
object ordered by code
loadAllModalitiesValueOrderByCode
in interface IModalitiesValueDAO
EMFUserError
- If an Exception occurredIModalitiesValueDAO.loadAllModalitiesValueOrderByCode()
public boolean hasParameters(java.lang.String lovId) throws EMFUserError
IModalitiesValueDAO
hasParameters
in interface IModalitiesValueDAO
lovId
- The value id
EMFUserError
- If an Exception occurredIModalitiesValueDAO.hasParameters(java.lang.String)
private ModalitiesValue toModalityValue(SbiLov hibLov)
ModalitiesValue
object.
hiObjPar
- The hybernate LOV
ModalitiesValue
object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |