|
||||||||||
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.TipusSiniestreDaoBase
public abstract class TipusSiniestreDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type edu.uoc.tfc.dbmodel.TipusSiniestre
.
TipusSiniestre
Field Summary |
---|
Fields inherited from interface edu.uoc.tfc.dbmodel.TipusSiniestreDao |
---|
TRANSFORM_NONE, TRANSFORM_TIPUSSINISTREVO |
Constructor Summary | |
---|---|
TipusSiniestreDaoBase()
|
Method Summary | |
---|---|
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of edu.uoc.tfc.dbmodel.TipusSiniestre and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as TipusSiniestreDao.create(edu.uoc.tfc.dbmodel.TipusSiniestre) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String nom,
java.lang.Boolean actiu)
Does the same thing as TipusSiniestreDao.create(java.lang.String, java.lang.Boolean) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
TipusSiniestre tipusSiniestre)
Does the same thing as TipusSiniestreDao.create(edu.uoc.tfc.dbmodel.TipusSiniestre) with an
additional flag called transform . |
TipusSiniestre |
create(java.lang.String nom,
java.lang.Boolean actiu)
Creates a new edu.uoc.tfc.dbmodel.TipusSiniestre
instance from all attributes and adds it to
the persistent store. |
TipusSiniestre |
create(TipusSiniestre tipusSiniestre)
Creates an instance of edu.uoc.tfc.dbmodel.TipusSiniestre and adds it to the persistent store. |
java.util.Collection |
findTipusSinistreByCriteria(CriteriaTipusSinistreVO criteria)
Mètode per cercar tipus de sinistres a partir d'un criteri de cerca |
java.util.Collection |
findTipusSinistreByCriteria(int transform,
CriteriaTipusSinistreVO criteria)
Does the same thing as TipusSiniestreDao.findTipusSinistreByCriteria(edu.uoc.tfc.dto.CriteriaTipusSinistreVO) with an
additional flag called transform . |
java.util.Collection |
findTipusSinistreByCriteria(int transform,
int pageNumber,
int pageSize,
CriteriaTipusSinistreVO criteria)
Does the same thing as #findTipusSinistreByCriteria(int, String, edu.uoc.tfc.dto.CriteriaTipusSinistreVO) with an
additional two arguments called pageNumber and pageSize . |
java.lang.Object |
load(int transform,
java.lang.Long id)
Does the same thing as TipusSiniestreDao.load(java.lang.Long) with an
additional flag called transform . |
TipusSiniestre |
load(java.lang.Long id)
Loads an instance of edu.uoc.tfc.dbmodel.TipusSiniestre from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type TipusSiniestre . |
java.util.Collection |
loadAll(int transform)
Does the same thing as TipusSiniestreDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as TipusSiniestreDao.loadAll() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as TipusSiniestreDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities collection. |
void |
remove(java.lang.Long id)
Removes the instance of edu.uoc.tfc.dbmodel.TipusSiniestre having the given identifier from the persistent store. |
void |
remove(TipusSiniestre tipusSiniestre)
Removes the instance of edu.uoc.tfc.dbmodel.TipusSiniestre from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, edu.uoc.tfc.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(edu.uoc.tfc.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as TipusSiniestreDao.search(edu.uoc.tfc.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
tipusSinistreVOToEntity(TipusSinistreVO source,
TipusSiniestre target,
boolean copyIfNull)
Copies the fields of TipusSinistreVO to the specified entity. |
void |
tipusSinistreVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type TipusSinistreVO to this
DAO's entity. |
void |
toEntities(java.util.Collection results)
Transforms the given results to a collection of com.lighthousepmg.plz.domain.messaging.persistence.CommunicationCategory
instances (this is useful when the returned results contains a row of data and you want just entities only). |
TipusSinistreVO |
toTipusSinistreVO(TipusSiniestre entity)
Converts this DAO's entity to an object of type TipusSinistreVO . |
void |
toTipusSinistreVO(TipusSiniestre source,
TipusSinistreVO target)
Copies the fields of the specified entity to the target value object. |
TipusSinistreVO[] |
toTipusSinistreVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type TipusSinistreVO . |
void |
toTipusSinistreVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type TipusSinistreVO . |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(TipusSiniestre tipusSiniestre)
Updates the tipusSiniestre instance in the persistent store. |
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 |
Methods inherited from interface edu.uoc.tfc.dbmodel.TipusSiniestreDao |
---|
tipusSinistreVOToEntity |
Constructor Detail |
---|
public TipusSiniestreDaoBase()
Method Detail |
---|
public java.lang.Object load(int transform, java.lang.Long id)
TipusSiniestreDao
Does the same thing as TipusSiniestreDao.load(java.lang.Long)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface TipusSiniestreDao
id
- the identifier of the entity to load.
TipusSiniestreDao.load(int, java.lang.Long)
public TipusSiniestre load(java.lang.Long id)
TipusSiniestreDao
load
in interface TipusSiniestreDao
TipusSiniestreDao.load(java.lang.Long)
public java.util.Collection loadAll()
TipusSiniestreDao
TipusSiniestre
.
loadAll
in interface TipusSiniestreDao
TipusSiniestreDao.loadAll()
public java.util.Collection loadAll(int transform)
TipusSiniestreDao
Does the same thing as TipusSiniestreDao.loadAll()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
loadAll
in interface TipusSiniestreDao
transform
- the flag indicating what transformation to use.
TipusSiniestreDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
TipusSiniestreDao
Does the same thing as TipusSiniestreDao.loadAll()
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.
loadAll
in interface TipusSiniestreDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
TipusSiniestreDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
TipusSiniestreDao
Does the same thing as TipusSiniestreDao.loadAll(int)
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.
loadAll
in interface TipusSiniestreDao
transform
- the flag indicating what transformation to use.pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
TipusSiniestreDao.loadAll(int, int, int)
public TipusSiniestre create(TipusSiniestre tipusSiniestre)
TipusSiniestreDao
create
in interface TipusSiniestreDao
TipusSiniestreDao.create(edu.uoc.tfc.dbmodel.TipusSiniestre)
public java.lang.Object create(int transform, TipusSiniestre tipusSiniestre)
TipusSiniestreDao
Does the same thing as TipusSiniestreDao.create(edu.uoc.tfc.dbmodel.TipusSiniestre)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface TipusSiniestreDao
TipusSiniestreDao.create(int transform, edu.uoc.tfc.dbmodel.TipusSiniestre)
public java.util.Collection create(java.util.Collection entities)
TipusSiniestreDao
entities
collection
create
in interface TipusSiniestreDao
entities
- the collection of edu.uoc.tfc.dbmodel.TipusSiniestre
instances to create.
TipusSiniestreDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
TipusSiniestreDao
Does the same thing as TipusSiniestreDao.create(edu.uoc.tfc.dbmodel.TipusSiniestre)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface TipusSiniestreDao
TipusSiniestreDao.create(int, java.util.Collection)
public TipusSiniestre create(java.lang.String nom, java.lang.Boolean actiu)
TipusSiniestreDao
Creates a new edu.uoc.tfc.dbmodel.TipusSiniestre
instance from all attributes and adds it to
the persistent store.
create
in interface TipusSiniestreDao
TipusSiniestreDao.create(java.lang.String, java.lang.Boolean)
public java.lang.Object create(int transform, java.lang.String nom, java.lang.Boolean actiu)
TipusSiniestreDao
Does the same thing as TipusSiniestreDao.create(java.lang.String, java.lang.Boolean)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface TipusSiniestreDao
TipusSiniestreDao.create(int, java.lang.String, java.lang.Boolean)
public void update(TipusSiniestre tipusSiniestre)
TipusSiniestreDao
tipusSiniestre
instance in the persistent store.
update
in interface TipusSiniestreDao
TipusSiniestreDao.update(edu.uoc.tfc.dbmodel.TipusSiniestre)
public void update(java.util.Collection entities)
TipusSiniestreDao
entities
collection in the persistent store.
update
in interface TipusSiniestreDao
TipusSiniestreDao.update(java.util.Collection)
public void remove(TipusSiniestre tipusSiniestre)
TipusSiniestreDao
remove
in interface TipusSiniestreDao
TipusSiniestreDao.remove(edu.uoc.tfc.dbmodel.TipusSiniestre)
public void remove(java.lang.Long id)
TipusSiniestreDao
identifier
from the persistent store.
remove
in interface TipusSiniestreDao
TipusSiniestreDao.remove(java.lang.Long)
public void remove(java.util.Collection entities)
TipusSiniestreDao
entities
collection.
remove
in interface TipusSiniestreDao
TipusSiniestreDao.remove(java.util.Collection)
public java.util.Collection findTipusSinistreByCriteria(CriteriaTipusSinistreVO criteria)
TipusSiniestreDao
Mètode per cercar tipus de sinistres a partir d'un criteri de cerca
findTipusSinistreByCriteria
in interface TipusSiniestreDao
TipusSiniestreDao.findTipusSinistreByCriteria(edu.uoc.tfc.dto.CriteriaTipusSinistreVO)
public java.util.Collection findTipusSinistreByCriteria(int transform, CriteriaTipusSinistreVO criteria)
TipusSiniestreDao
Does the same thing as TipusSiniestreDao.findTipusSinistreByCriteria(edu.uoc.tfc.dto.CriteriaTipusSinistreVO)
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.
findTipusSinistreByCriteria
in interface TipusSiniestreDao
TipusSiniestreDao.findTipusSinistreByCriteria(int, edu.uoc.tfc.dto.CriteriaTipusSinistreVO)
public java.util.Collection findTipusSinistreByCriteria(int transform, int pageNumber, int pageSize, CriteriaTipusSinistreVO criteria)
TipusSiniestreDao
Does the same thing as #findTipusSinistreByCriteria(int, String, edu.uoc.tfc.dto.CriteriaTipusSinistreVO)
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.
findTipusSinistreByCriteria
in interface TipusSiniestreDao
edu.uoc.tfc.dbmodel.TipusSiniestreDao#findTipusSinistreByCriteria(int, java.lang.String, int, int, edu.uoc.tfc.dto.CriteriaTipusSinistreVO)
public void toEntities(java.util.Collection results)
TipusSiniestreDao
com.lighthousepmg.plz.domain.messaging.persistence.CommunicationCategory
instances (this is useful when the returned results contains a row of data and you want just entities only).
toEntities
in interface TipusSiniestreDao
TipusSiniestreDao.toEntities(java.util.Collection)
public final void toTipusSinistreVOCollection(java.util.Collection entities)
TipusSiniestreDao
TipusSinistreVO
.
toTipusSinistreVOCollection
in interface TipusSiniestreDao
TipusSiniestreDao.toTipusSinistreVOCollection(java.util.Collection)
public final TipusSinistreVO[] toTipusSinistreVOArray(java.util.Collection entities)
TipusSiniestreDao
TipusSinistreVO
.
toTipusSinistreVOArray
in interface TipusSiniestreDao
TipusSiniestreDao.toTipusSinistreVOArray(java.util.Collection)
public final void tipusSinistreVOToEntityCollection(java.util.Collection instances)
TipusSiniestreDao
TipusSinistreVO
to this
DAO's entity.
tipusSinistreVOToEntityCollection
in interface TipusSiniestreDao
TipusSiniestreDao.tipusSinistreVOToEntityCollection(java.util.Collection)
public void toTipusSinistreVO(TipusSiniestre source, TipusSinistreVO target)
TipusSiniestreDao
toTipusSinistreVO
in interface TipusSiniestreDao
TipusSiniestreDao.toTipusSinistreVO(edu.uoc.tfc.dbmodel.TipusSiniestre, edu.uoc.tfc.dto.TipusSinistreVO)
public TipusSinistreVO toTipusSinistreVO(TipusSiniestre entity)
TipusSiniestreDao
TipusSinistreVO
.
toTipusSinistreVO
in interface TipusSiniestreDao
TipusSiniestreDao.toTipusSinistreVO(edu.uoc.tfc.dbmodel.TipusSiniestre)
public void tipusSinistreVOToEntity(TipusSinistreVO source, TipusSiniestre target, boolean copyIfNull)
TipusSiniestreDao
TipusSinistreVO
to the specified entity.
tipusSinistreVOToEntity
in interface TipusSiniestreDao
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.TipusSiniestreDao#tipusSinistreVOToEntity(edu.uoc.tfc.dto.TipusSinistreVO, edu.uoc.tfc.dbmodel.TipusSiniestre)
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
TipusSiniestreDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TipusSiniestreDao
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.TipusSiniestreDao.search(int, int, int, edu.uoc.tfc.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
TipusSiniestreDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface TipusSiniestreDao
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.TipusSiniestreDao.search(int, int, edu.uoc.tfc.Search)
public java.util.Set search(int transform, Search search)
TipusSiniestreDao
TipusSiniestreDao.search(edu.uoc.tfc.Search)
but 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 results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
search
in interface TipusSiniestreDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
TipusSiniestreDao.search(int, edu.uoc.tfc.Search)
public java.util.Set search(Search search)
TipusSiniestreDao
search
object.
search
in interface TipusSiniestreDao
search
- the search object which provides the search parameters and pagination specification.
TipusSiniestreDao.search(edu.uoc.tfc.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |