fr.ifremer.allegro.data.batch
Class CatchBatchDaoImpl
java.lang.Object
org.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.data.batch.BatchDaoBase
fr.ifremer.allegro.data.batch.BatchDaoImpl
fr.ifremer.allegro.data.batch.CatchBatchDaoBase
fr.ifremer.allegro.data.batch.CatchBatchDaoImpl
- All Implemented Interfaces:
- BatchDao, CatchBatchDao
public class CatchBatchDaoImpl
- extends CatchBatchDaoBase
- See Also:
CatchBatch
Method Summary |
CatchBatch |
clusterCatchBatchToEntity(ClusterCatchBatch clusterCatchBatch)
Converts an instance of type ClusterCatchBatch to this DAO's entity. |
void |
clusterCatchBatchToEntity(ClusterCatchBatch source,
CatchBatch target,
boolean copyIfNull)
Copies the fields of ClusterCatchBatch to the specified entity. |
protected CatchBatch |
handleCreateFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
Performs the core logic for CatchBatchDaoBase.createFromClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch) |
protected ClusterCatchBatch[] |
handleGetAllClusterCatchBatchSinceDateSynchro(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 CatchBatchDaoBase.getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
CatchBatch |
remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO remoteCatchBatchFullVO)
Converts an instance of type RemoteCatchBatchFullVO to this DAO's entity. |
void |
remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO source,
CatchBatch target,
boolean copyIfNull)
Copies the fields of RemoteCatchBatchFullVO to the specified entity. |
CatchBatch |
remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId remoteCatchBatchNaturalId)
Converts an instance of type RemoteCatchBatchNaturalId to this DAO's entity. |
void |
remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId source,
CatchBatch target,
boolean copyIfNull)
Copies the fields of RemoteCatchBatchNaturalId to the specified entity. |
ClusterCatchBatch |
toClusterCatchBatch(CatchBatch entity)
Converts this DAO's entity to an object of type ClusterCatchBatch . |
void |
toClusterCatchBatch(CatchBatch source,
ClusterCatchBatch target)
Copies the fields of the specified entity to the target value object. |
RemoteCatchBatchFullVO |
toRemoteCatchBatchFullVO(CatchBatch entity)
Converts this DAO's entity to an object of type RemoteCatchBatchFullVO . |
void |
toRemoteCatchBatchFullVO(CatchBatch source,
RemoteCatchBatchFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteCatchBatchNaturalId |
toRemoteCatchBatchNaturalId(CatchBatch entity)
Converts this DAO's entity to an object of type RemoteCatchBatchNaturalId . |
void |
toRemoteCatchBatchNaturalId(CatchBatch source,
RemoteCatchBatchNaturalId target)
Copies the fields of the specified entity to the target value object. |
Methods inherited from class fr.ifremer.allegro.data.batch.CatchBatchDaoBase |
clusterCatchBatchToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterCatchBatch, findBatchById, findBatchById, findBatchById, findBatchById, findBatchByNaturalId, findBatchByNaturalId, findBatchByNaturalId, findBatchByNaturalId, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findCatchBatchByFishingOperation, findCatchBatchByFishingOperation, findCatchBatchByFishingOperation, findCatchBatchByFishingOperation, findCatchBatchById, findCatchBatchById, findCatchBatchById, findCatchBatchById, findCatchBatchByLanding, findCatchBatchByLanding, findCatchBatchByLanding, findCatchBatchByLanding, findCatchBatchByNaturalId, findCatchBatchByNaturalId, findCatchBatchByNaturalId, findCatchBatchByNaturalId, findCatchBatchByParentBatch, findCatchBatchByParentBatch, findCatchBatchByParentBatch, findCatchBatchByParentBatch, findCatchBatchByParentBatch, findCatchBatchByParentBatch, findCatchBatchByParentBatch, findCatchBatchByParentBatch, findCatchBatchByQualityFlag, findCatchBatchByQualityFlag, findCatchBatchByQualityFlag, findCatchBatchByQualityFlag, findCatchBatchByQualityFlag, findCatchBatchByQualityFlag, findCatchBatchByQualityFlag, findCatchBatchByQualityFlag, findCatchBatchBySale, findCatchBatchBySale, findCatchBatchBySale, findCatchBatchBySale, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllCatchBatch, getAllCatchBatch, getAllCatchBatch, getAllCatchBatch, getAllCatchBatch, getAllCatchBatch, getAllCatchBatch, getAllCatchBatch, getAllCatchBatchSinceDateSynchro, getAllCatchBatchSinceDateSynchro, getAllCatchBatchSinceDateSynchro, getAllCatchBatchSinceDateSynchro, getAllCatchBatchSinceDateSynchro, getAllCatchBatchSinceDateSynchro, getAllCatchBatchSinceDateSynchro, getAllCatchBatchSinceDateSynchro, getAllClusterCatchBatchSinceDateSynchro, getCatchBatchDao, getFishingOperationDao, getLandingDao, getPrincipal, getQualityFlagDao, getSaleDao, getSortingBatchDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteCatchBatchFullVOToEntityCollection, remoteCatchBatchNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setCatchBatchDao, setFishingOperationDao, setLandingDao, setQualityFlagDao, setSaleDao, setSortingBatchDao, toClusterCatchBatch, toClusterCatchBatchArray, toClusterCatchBatchCollection, toEntity, toRemoteCatchBatchFullVO, toRemoteCatchBatchFullVOArray, toRemoteCatchBatchFullVOCollection, toRemoteCatchBatchNaturalId, toRemoteCatchBatchNaturalIdArray, toRemoteCatchBatchNaturalIdCollection, transformEntities, transformEntity, update, update |
Methods inherited from class fr.ifremer.allegro.data.batch.BatchDaoImpl |
clusterBatchToEntity, clusterBatchToEntity, remoteBatchFullVOToEntity, remoteBatchFullVOToEntity, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntity, toClusterBatch, toClusterBatch, toRemoteBatchFullVO, toRemoteBatchFullVO, toRemoteBatchNaturalId, toRemoteBatchNaturalId |
Methods inherited from class fr.ifremer.allegro.data.batch.BatchDaoBase |
clusterBatchToEntityCollection, getBatchDao, getProduceDao, getQuantificationMeasurementDao, remoteBatchFullVOToEntityCollection, remoteBatchNaturalIdToEntityCollection, remove, setBatchDao, setProduceDao, setQuantificationMeasurementDao, toClusterBatch, toClusterBatchArray, toClusterBatchCollection, toRemoteBatchFullVO, toRemoteBatchFullVOArray, toRemoteBatchFullVOCollection, toRemoteBatchNaturalId, toRemoteBatchNaturalIdArray, toRemoteBatchNaturalIdCollection, transformEntity, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.data.batch.BatchDao |
clusterBatchToEntity, clusterBatchToEntity, clusterBatchToEntityCollection, remoteBatchFullVOToEntity, remoteBatchFullVOToEntity, remoteBatchFullVOToEntityCollection, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntityCollection, remove, toClusterBatch, toClusterBatch, toClusterBatchArray, toClusterBatchCollection, toRemoteBatchFullVO, toRemoteBatchFullVO, toRemoteBatchFullVOArray, toRemoteBatchFullVOCollection, toRemoteBatchNaturalId, toRemoteBatchNaturalId, toRemoteBatchNaturalIdArray, toRemoteBatchNaturalIdCollection, update |
CatchBatchDaoImpl
public CatchBatchDaoImpl()
handleCreateFromClusterCatchBatch
protected CatchBatch handleCreateFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
- Description copied from class:
CatchBatchDaoBase
- Performs the core logic for
CatchBatchDaoBase.createFromClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)
- Specified by:
handleCreateFromClusterCatchBatch
in class CatchBatchDaoBase
- See Also:
CatchBatchDao.createFromClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)
handleGetAllClusterCatchBatchSinceDateSynchro
protected ClusterCatchBatch[] handleGetAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
- Description copied from class:
CatchBatchDaoBase
- Performs the core logic for
CatchBatchDaoBase.getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
- Specified by:
handleGetAllClusterCatchBatchSinceDateSynchro
in class CatchBatchDaoBase
- See Also:
CatchBatchDao.getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
toRemoteCatchBatchFullVO
public void toRemoteCatchBatchFullVO(CatchBatch source,
RemoteCatchBatchFullVO target)
- Description copied from interface:
CatchBatchDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toRemoteCatchBatchFullVO(), but it does not handle any attributes in the target
value object that are "read-only" (as those do not have setter methods exposed).
- Specified by:
toRemoteCatchBatchFullVO
in interface CatchBatchDao
- Overrides:
toRemoteCatchBatchFullVO
in class CatchBatchDaoBase
- See Also:
CatchBatchDao.toRemoteCatchBatchFullVO(fr.ifremer.allegro.data.batch.CatchBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)
toRemoteCatchBatchFullVO
public RemoteCatchBatchFullVO toRemoteCatchBatchFullVO(CatchBatch entity)
- Description copied from interface:
CatchBatchDao
- Converts this DAO's entity to an object of type
RemoteCatchBatchFullVO
.
- Specified by:
toRemoteCatchBatchFullVO
in interface CatchBatchDao
- Overrides:
toRemoteCatchBatchFullVO
in class CatchBatchDaoBase
- See Also:
CatchBatchDao.toRemoteCatchBatchFullVO(fr.ifremer.allegro.data.batch.CatchBatch)
remoteCatchBatchFullVOToEntity
public CatchBatch remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO remoteCatchBatchFullVO)
- Description copied from interface:
CatchBatchDao
- Converts an instance of type
RemoteCatchBatchFullVO
to this DAO's entity.
- See Also:
CatchBatchDao.remoteCatchBatchFullVOToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)
remoteCatchBatchFullVOToEntity
public void remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO source,
CatchBatch target,
boolean copyIfNull)
- Description copied from interface:
CatchBatchDao
- Copies the fields of
RemoteCatchBatchFullVO
to the specified entity.
- Specified by:
remoteCatchBatchFullVOToEntity
in interface CatchBatchDao
- Overrides:
remoteCatchBatchFullVOToEntity
in class CatchBatchDaoBase
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.- See Also:
fr.ifremer.allegro.data.batch.CatchBatchDao#remoteCatchBatchFullVOToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO, fr.ifremer.allegro.data.batch.CatchBatch)
toRemoteCatchBatchNaturalId
public void toRemoteCatchBatchNaturalId(CatchBatch source,
RemoteCatchBatchNaturalId target)
- Description copied from interface:
CatchBatchDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toRemoteCatchBatchNaturalId(), but it does not handle any attributes in the target
value object that are "read-only" (as those do not have setter methods exposed).
- Specified by:
toRemoteCatchBatchNaturalId
in interface CatchBatchDao
- Overrides:
toRemoteCatchBatchNaturalId
in class CatchBatchDaoBase
- See Also:
CatchBatchDao.toRemoteCatchBatchNaturalId(fr.ifremer.allegro.data.batch.CatchBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId)
toRemoteCatchBatchNaturalId
public RemoteCatchBatchNaturalId toRemoteCatchBatchNaturalId(CatchBatch entity)
- Description copied from interface:
CatchBatchDao
- Converts this DAO's entity to an object of type
RemoteCatchBatchNaturalId
.
- Specified by:
toRemoteCatchBatchNaturalId
in interface CatchBatchDao
- Overrides:
toRemoteCatchBatchNaturalId
in class CatchBatchDaoBase
- See Also:
CatchBatchDao.toRemoteCatchBatchNaturalId(fr.ifremer.allegro.data.batch.CatchBatch)
remoteCatchBatchNaturalIdToEntity
public CatchBatch remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId remoteCatchBatchNaturalId)
- Description copied from interface:
CatchBatchDao
- Converts an instance of type
RemoteCatchBatchNaturalId
to this DAO's entity.
- See Also:
CatchBatchDao.remoteCatchBatchNaturalIdToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId)
remoteCatchBatchNaturalIdToEntity
public void remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId source,
CatchBatch target,
boolean copyIfNull)
- Description copied from interface:
CatchBatchDao
- Copies the fields of
RemoteCatchBatchNaturalId
to the specified entity.
- Specified by:
remoteCatchBatchNaturalIdToEntity
in interface CatchBatchDao
- Overrides:
remoteCatchBatchNaturalIdToEntity
in class CatchBatchDaoBase
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.- See Also:
fr.ifremer.allegro.data.batch.CatchBatchDao#remoteCatchBatchNaturalIdToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId, fr.ifremer.allegro.data.batch.CatchBatch)
toClusterCatchBatch
public void toClusterCatchBatch(CatchBatch source,
ClusterCatchBatch target)
- Description copied from interface:
CatchBatchDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toClusterCatchBatch(), but it does not handle any attributes in the target
value object that are "read-only" (as those do not have setter methods exposed).
- Specified by:
toClusterCatchBatch
in interface CatchBatchDao
- Overrides:
toClusterCatchBatch
in class CatchBatchDaoBase
- See Also:
CatchBatchDao.toClusterCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch, fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)
toClusterCatchBatch
public ClusterCatchBatch toClusterCatchBatch(CatchBatch entity)
- Description copied from interface:
CatchBatchDao
- Converts this DAO's entity to an object of type
ClusterCatchBatch
.
- Specified by:
toClusterCatchBatch
in interface CatchBatchDao
- Overrides:
toClusterCatchBatch
in class CatchBatchDaoBase
- See Also:
CatchBatchDao.toClusterCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch)
clusterCatchBatchToEntity
public CatchBatch clusterCatchBatchToEntity(ClusterCatchBatch clusterCatchBatch)
- Description copied from interface:
CatchBatchDao
- Converts an instance of type
ClusterCatchBatch
to this DAO's entity.
- See Also:
CatchBatchDao.clusterCatchBatchToEntity(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)
clusterCatchBatchToEntity
public void clusterCatchBatchToEntity(ClusterCatchBatch source,
CatchBatch target,
boolean copyIfNull)
- Description copied from interface:
CatchBatchDao
- Copies the fields of
ClusterCatchBatch
to the specified entity.
- Specified by:
clusterCatchBatchToEntity
in interface CatchBatchDao
- Overrides:
clusterCatchBatchToEntity
in class CatchBatchDaoBase
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.- See Also:
fr.ifremer.allegro.data.batch.CatchBatchDao#clusterCatchBatchToEntity(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch, fr.ifremer.allegro.data.batch.CatchBatch)
Copyright © 2008-2010 IFREMER. All Rights Reserved.