|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
edu.uoc.tfc.dbmodel.AsseguradoraDaoBase
edu.uoc.tfc.dbmodel.AsseguradoraDaoImpl
public class AsseguradoraDaoImpl
Asseguradora
Field Summary |
---|
Fields inherited from interface edu.uoc.tfc.dbmodel.AsseguradoraDao |
---|
TRANSFORM_ASSEGURADORAVO, TRANSFORM_NONE |
Constructor Summary | |
---|---|
AsseguradoraDaoImpl()
|
Method Summary | |
---|---|
Asseguradora |
asseguradoraVOToEntity(AsseguradoraVO asseguradoraVO)
Converts an instance of type AsseguradoraVO to this DAO's entity. |
void |
asseguradoraVOToEntity(AsseguradoraVO source,
Asseguradora target,
boolean copyIfNull)
Copies the fields of AsseguradoraVO to the specified entity. |
java.util.Collection |
findAsseguradoresByCriteria(CriteriaAsseguradoraVO criteria)
Mètode per cercar asseguradores a partir d'un criteri de cerca |
java.util.Collection |
findAsseguradoresByCriteria(int transform,
CriteriaAsseguradoraVO criteria)
Does the same thing as AsseguradoraDao.findAsseguradoresByCriteria(edu.uoc.tfc.dto.CriteriaAsseguradoraVO) with an
additional flag called transform . |
java.util.Collection |
findAsseguradoresByCriteria(int transform,
int pageNumber,
int pageSize,
CriteriaAsseguradoraVO criteria)
Does the same thing as #findAsseguradoresByCriteria(int, String, edu.uoc.tfc.dto.CriteriaAsseguradoraVO) with an
additional two arguments called pageNumber and pageSize . |
AsseguradoraVO |
toAsseguradoraVO(Asseguradora entity)
Converts this DAO's entity to an object of type AsseguradoraVO . |
void |
toAsseguradoraVO(Asseguradora source,
AsseguradoraVO target)
Copies the fields of the specified entity to the target value object. |
Methods inherited from class edu.uoc.tfc.dbmodel.AsseguradoraDaoBase |
---|
asseguradoraVOToEntityCollection, create, create, create, create, create, create, load, load, loadAll, loadAll, loadAll, loadAll, remove, remove, remove, search, search, search, search, toAsseguradoraVOArray, toAsseguradoraVOCollection, toEntities, update, update |
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
---|
getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsseguradoraDaoImpl()
Method Detail |
---|
public void toAsseguradoraVO(Asseguradora source, AsseguradoraVO target)
AsseguradoraDao
toAsseguradoraVO
in interface AsseguradoraDao
toAsseguradoraVO
in class AsseguradoraDaoBase
AsseguradoraDao.toAsseguradoraVO(edu.uoc.tfc.dbmodel.Asseguradora, edu.uoc.tfc.dto.AsseguradoraVO)
public AsseguradoraVO toAsseguradoraVO(Asseguradora entity)
AsseguradoraDao
AsseguradoraVO
.
toAsseguradoraVO
in interface AsseguradoraDao
toAsseguradoraVO
in class AsseguradoraDaoBase
AsseguradoraDao.toAsseguradoraVO(edu.uoc.tfc.dbmodel.Asseguradora)
public Asseguradora asseguradoraVOToEntity(AsseguradoraVO asseguradoraVO)
AsseguradoraDao
AsseguradoraVO
to this DAO's entity.
AsseguradoraDao.asseguradoraVOToEntity(edu.uoc.tfc.dto.AsseguradoraVO)
public void asseguradoraVOToEntity(AsseguradoraVO source, Asseguradora target, boolean copyIfNull)
AsseguradoraDao
AsseguradoraVO
to the specified entity.
asseguradoraVOToEntity
in interface AsseguradoraDao
asseguradoraVOToEntity
in class AsseguradoraDaoBase
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.edu.uoc.tfc.dbmodel.AsseguradoraDao#asseguradoraVOToEntity(edu.uoc.tfc.dto.AsseguradoraVO, edu.uoc.tfc.dbmodel.Asseguradora)
public java.util.Collection findAsseguradoresByCriteria(CriteriaAsseguradoraVO criteria)
AsseguradoraDao
Mètode per cercar asseguradores a partir d'un criteri de cerca
findAsseguradoresByCriteria
in interface AsseguradoraDao
findAsseguradoresByCriteria
in class AsseguradoraDaoBase
AsseguradoraDao.findAsseguradoresByCriteria(edu.uoc.tfc.dto.CriteriaAsseguradoraVO)
public java.util.Collection findAsseguradoresByCriteria(int transform, CriteriaAsseguradoraVO criteria)
AsseguradoraDao
Does the same thing as AsseguradoraDao.findAsseguradoresByCriteria(edu.uoc.tfc.dto.CriteriaAsseguradoraVO)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findAsseguradoresByCriteria
in interface AsseguradoraDao
findAsseguradoresByCriteria
in class AsseguradoraDaoBase
AsseguradoraDao.findAsseguradoresByCriteria(int, edu.uoc.tfc.dto.CriteriaAsseguradoraVO)
public java.util.Collection findAsseguradoresByCriteria(int transform, int pageNumber, int pageSize, CriteriaAsseguradoraVO criteria)
AsseguradoraDao
Does the same thing as #findAsseguradoresByCriteria(int, String, edu.uoc.tfc.dto.CriteriaAsseguradoraVO)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findAsseguradoresByCriteria
in interface AsseguradoraDao
findAsseguradoresByCriteria
in class AsseguradoraDaoBase
edu.uoc.tfc.dbmodel.AsseguradoraDao#findAsseguradoresByCriteria(int, java.lang.String, int, int, edu.uoc.tfc.dto.CriteriaAsseguradoraVO)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |