|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.data.survey.sale.SaleDaoBase
fr.ifremer.allegro.data.survey.sale.SaleDaoImpl
public class SaleDaoImpl
Sale
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.data.survey.sale.SaleDao |
---|
TRANSFORM_CLUSTERSALE, TRANSFORM_NONE, TRANSFORM_REMOTESALEFULLVO, TRANSFORM_REMOTESALENATURALID |
Constructor Summary | |
---|---|
SaleDaoImpl()
|
Method Summary | |
---|---|
Sale |
clusterSaleToEntity(ClusterSale clusterSale)
Converts an instance of type ClusterSale to this DAO's entity. |
void |
clusterSaleToEntity(ClusterSale source,
Sale target,
boolean copyIfNull)
Copies the fields of ClusterSale to the specified entity. |
protected Sale |
handleCreateFromClusterSale(ClusterSale clusterSale)
Performs the core logic for SaleDaoBase.createFromClusterSale(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale) |
protected ClusterSale[] |
handleGetAllClusterSaleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for SaleDaoBase.getAllClusterSaleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
Sale |
remoteSaleFullVOToEntity(RemoteSaleFullVO remoteSaleFullVO)
Converts an instance of type RemoteSaleFullVO to this DAO's entity. |
void |
remoteSaleFullVOToEntity(RemoteSaleFullVO source,
Sale target,
boolean copyIfNull)
Copies the fields of RemoteSaleFullVO to the specified entity. |
Sale |
remoteSaleNaturalIdToEntity(RemoteSaleNaturalId remoteSaleNaturalId)
Converts an instance of type RemoteSaleNaturalId to this DAO's entity. |
void |
remoteSaleNaturalIdToEntity(RemoteSaleNaturalId source,
Sale target,
boolean copyIfNull)
Copies the fields of RemoteSaleNaturalId to the specified entity. |
ClusterSale |
toClusterSale(Sale entity)
Converts this DAO's entity to an object of type ClusterSale . |
void |
toClusterSale(Sale source,
ClusterSale target)
Copies the fields of the specified entity to the target value object. |
RemoteSaleFullVO |
toRemoteSaleFullVO(Sale entity)
Converts this DAO's entity to an object of type RemoteSaleFullVO . |
void |
toRemoteSaleFullVO(Sale source,
RemoteSaleFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteSaleNaturalId |
toRemoteSaleNaturalId(Sale entity)
Converts this DAO's entity to an object of type RemoteSaleNaturalId . |
void |
toRemoteSaleNaturalId(Sale source,
RemoteSaleNaturalId target)
Copies the fields of the specified entity to the target value object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SaleDaoImpl()
Method Detail |
---|
protected Sale handleCreateFromClusterSale(ClusterSale clusterSale)
SaleDaoBase
SaleDaoBase.createFromClusterSale(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)
handleCreateFromClusterSale
in class SaleDaoBase
SaleDao.createFromClusterSale(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)
protected ClusterSale[] handleGetAllClusterSaleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
SaleDaoBase
SaleDaoBase.getAllClusterSaleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
handleGetAllClusterSaleSinceDateSynchro
in class SaleDaoBase
SaleDao.getAllClusterSaleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
public void toRemoteSaleFullVO(Sale source, RemoteSaleFullVO target)
SaleDao
toRemoteSaleFullVO
in interface SaleDao
toRemoteSaleFullVO
in class SaleDaoBase
SaleDao.toRemoteSaleFullVO(fr.ifremer.allegro.data.survey.sale.Sale, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)
public RemoteSaleFullVO toRemoteSaleFullVO(Sale entity)
SaleDao
RemoteSaleFullVO
.
toRemoteSaleFullVO
in interface SaleDao
toRemoteSaleFullVO
in class SaleDaoBase
SaleDao.toRemoteSaleFullVO(fr.ifremer.allegro.data.survey.sale.Sale)
public Sale remoteSaleFullVOToEntity(RemoteSaleFullVO remoteSaleFullVO)
SaleDao
RemoteSaleFullVO
to this DAO's entity.
SaleDao.remoteSaleFullVOToEntity(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)
public void remoteSaleFullVOToEntity(RemoteSaleFullVO source, Sale target, boolean copyIfNull)
SaleDao
RemoteSaleFullVO
to the specified entity.
remoteSaleFullVOToEntity
in interface SaleDao
remoteSaleFullVOToEntity
in class SaleDaoBase
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.fr.ifremer.allegro.data.survey.sale.SaleDao#remoteSaleFullVOToEntity(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO, fr.ifremer.allegro.data.survey.sale.Sale)
public void toRemoteSaleNaturalId(Sale source, RemoteSaleNaturalId target)
SaleDao
toRemoteSaleNaturalId
in interface SaleDao
toRemoteSaleNaturalId
in class SaleDaoBase
SaleDao.toRemoteSaleNaturalId(fr.ifremer.allegro.data.survey.sale.Sale, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleNaturalId)
public RemoteSaleNaturalId toRemoteSaleNaturalId(Sale entity)
SaleDao
RemoteSaleNaturalId
.
toRemoteSaleNaturalId
in interface SaleDao
toRemoteSaleNaturalId
in class SaleDaoBase
SaleDao.toRemoteSaleNaturalId(fr.ifremer.allegro.data.survey.sale.Sale)
public Sale remoteSaleNaturalIdToEntity(RemoteSaleNaturalId remoteSaleNaturalId)
SaleDao
RemoteSaleNaturalId
to this DAO's entity.
SaleDao.remoteSaleNaturalIdToEntity(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleNaturalId)
public void remoteSaleNaturalIdToEntity(RemoteSaleNaturalId source, Sale target, boolean copyIfNull)
SaleDao
RemoteSaleNaturalId
to the specified entity.
remoteSaleNaturalIdToEntity
in interface SaleDao
remoteSaleNaturalIdToEntity
in class SaleDaoBase
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.fr.ifremer.allegro.data.survey.sale.SaleDao#remoteSaleNaturalIdToEntity(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleNaturalId, fr.ifremer.allegro.data.survey.sale.Sale)
public void toClusterSale(Sale source, ClusterSale target)
SaleDao
toClusterSale
in interface SaleDao
toClusterSale
in class SaleDaoBase
SaleDao.toClusterSale(fr.ifremer.allegro.data.survey.sale.Sale, fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)
public ClusterSale toClusterSale(Sale entity)
SaleDao
ClusterSale
.
toClusterSale
in interface SaleDao
toClusterSale
in class SaleDaoBase
SaleDao.toClusterSale(fr.ifremer.allegro.data.survey.sale.Sale)
public Sale clusterSaleToEntity(ClusterSale clusterSale)
SaleDao
ClusterSale
to this DAO's entity.
SaleDao.clusterSaleToEntity(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)
public void clusterSaleToEntity(ClusterSale source, Sale target, boolean copyIfNull)
SaleDao
ClusterSale
to the specified entity.
clusterSaleToEntity
in interface SaleDao
clusterSaleToEntity
in class SaleDaoBase
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.fr.ifremer.allegro.data.survey.sale.SaleDao#clusterSaleToEntity(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale, fr.ifremer.allegro.data.survey.sale.Sale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |