fr.ifremer.allegro.data.batch.denormalized
Class DenormalizedBatchDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatchDaoBase
          extended by fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatchDaoImpl
All Implemented Interfaces:
DenormalizedBatchDao

public class DenormalizedBatchDaoImpl
extends DenormalizedBatchDaoBase

See Also:
DenormalizedBatch

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatchDao
TRANSFORM_CLUSTERDENORMALIZEDBATCH, TRANSFORM_NONE, TRANSFORM_REMOTEDENORMALIZEDBATCHFULLVO, TRANSFORM_REMOTEDENORMALIZEDBATCHNATURALID
 
Constructor Summary
DenormalizedBatchDaoImpl()
           
 
Method Summary
 DenormalizedBatch clusterDenormalizedBatchToEntity(ClusterDenormalizedBatch clusterDenormalizedBatch)
          Converts an instance of type ClusterDenormalizedBatch to this DAO's entity.
 void clusterDenormalizedBatchToEntity(ClusterDenormalizedBatch source, DenormalizedBatch target, boolean copyIfNull)
          Copies the fields of ClusterDenormalizedBatch to the specified entity.
protected  DenormalizedBatch handleCreateFromClusterDenormalizedBatch(ClusterDenormalizedBatch clusterDenormalizedBatch)
          Performs the core logic for DenormalizedBatchDaoBase.createFromClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch)
protected  ClusterDenormalizedBatch[] handleGetAllClusterDenormalizedBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for DenormalizedBatchDaoBase.getAllClusterDenormalizedBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 DenormalizedBatch remoteDenormalizedBatchFullVOToEntity(RemoteDenormalizedBatchFullVO remoteDenormalizedBatchFullVO)
          Converts an instance of type RemoteDenormalizedBatchFullVO to this DAO's entity.
 void remoteDenormalizedBatchFullVOToEntity(RemoteDenormalizedBatchFullVO source, DenormalizedBatch target, boolean copyIfNull)
          Copies the fields of RemoteDenormalizedBatchFullVO to the specified entity.
 DenormalizedBatch remoteDenormalizedBatchNaturalIdToEntity(RemoteDenormalizedBatchNaturalId remoteDenormalizedBatchNaturalId)
          Converts an instance of type RemoteDenormalizedBatchNaturalId to this DAO's entity.
 void remoteDenormalizedBatchNaturalIdToEntity(RemoteDenormalizedBatchNaturalId source, DenormalizedBatch target, boolean copyIfNull)
          Copies the fields of RemoteDenormalizedBatchNaturalId to the specified entity.
 ClusterDenormalizedBatch toClusterDenormalizedBatch(DenormalizedBatch entity)
          Converts this DAO's entity to an object of type ClusterDenormalizedBatch.
 void toClusterDenormalizedBatch(DenormalizedBatch source, ClusterDenormalizedBatch target)
          Copies the fields of the specified entity to the target value object.
 RemoteDenormalizedBatchFullVO toRemoteDenormalizedBatchFullVO(DenormalizedBatch entity)
          Converts this DAO's entity to an object of type RemoteDenormalizedBatchFullVO.
 void toRemoteDenormalizedBatchFullVO(DenormalizedBatch source, RemoteDenormalizedBatchFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteDenormalizedBatchNaturalId toRemoteDenormalizedBatchNaturalId(DenormalizedBatch entity)
          Converts this DAO's entity to an object of type RemoteDenormalizedBatchNaturalId.
 void toRemoteDenormalizedBatchNaturalId(DenormalizedBatch source, RemoteDenormalizedBatchNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatchDaoBase
clusterDenormalizedBatchToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterDenormalizedBatch, findDenormalizedBatchById, findDenormalizedBatchById, findDenormalizedBatchById, findDenormalizedBatchById, findDenormalizedBatchByNaturalId, findDenormalizedBatchByNaturalId, findDenormalizedBatchByNaturalId, findDenormalizedBatchByNaturalId, findDenormalizedBatchByNumericalParameter, findDenormalizedBatchByNumericalParameter, findDenormalizedBatchByNumericalParameter, findDenormalizedBatchByNumericalParameter, findDenormalizedBatchByNumericalParameter, findDenormalizedBatchByNumericalParameter, findDenormalizedBatchByNumericalParameter, findDenormalizedBatchByNumericalParameter, findDenormalizedBatchByReferenceTaxon, findDenormalizedBatchByReferenceTaxon, findDenormalizedBatchByReferenceTaxon, findDenormalizedBatchByReferenceTaxon, findDenormalizedBatchByReferenceTaxon, findDenormalizedBatchByReferenceTaxon, findDenormalizedBatchByReferenceTaxon, findDenormalizedBatchByReferenceTaxon, findDenormalizedBatchByTaxonGroup, findDenormalizedBatchByTaxonGroup, findDenormalizedBatchByTaxonGroup, findDenormalizedBatchByTaxonGroup, findDenormalizedBatchByTaxonGroup, findDenormalizedBatchByTaxonGroup, findDenormalizedBatchByTaxonGroup, findDenormalizedBatchByTaxonGroup, getAllClusterDenormalizedBatch, getAllDenormalizedBatch, getAllDenormalizedBatch, getAllDenormalizedBatch, getAllDenormalizedBatch, getAllDenormalizedBatch, getAllDenormalizedBatch, getAllDenormalizedBatch, getAllDenormalizedBatch, getDenormalisedBatchSortingValueDao, getParameterDao, getPrincipal, getReferenceTaxonDao, getTaxonGroupDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteDenormalizedBatchFullVOToEntityCollection, remoteDenormalizedBatchNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setDenormalisedBatchSortingValueDao, setParameterDao, setReferenceTaxonDao, setTaxonGroupDao, toClusterDenormalizedBatch, toClusterDenormalizedBatchArray, toClusterDenormalizedBatchCollection, toEntity, toRemoteDenormalizedBatchFullVO, toRemoteDenormalizedBatchFullVOArray, toRemoteDenormalizedBatchFullVOCollection, toRemoteDenormalizedBatchNaturalId, toRemoteDenormalizedBatchNaturalIdArray, toRemoteDenormalizedBatchNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DenormalizedBatchDaoImpl

public DenormalizedBatchDaoImpl()
Method Detail

handleCreateFromClusterDenormalizedBatch

protected DenormalizedBatch handleCreateFromClusterDenormalizedBatch(ClusterDenormalizedBatch clusterDenormalizedBatch)
Description copied from class: DenormalizedBatchDaoBase
Performs the core logic for DenormalizedBatchDaoBase.createFromClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch)

Specified by:
handleCreateFromClusterDenormalizedBatch in class DenormalizedBatchDaoBase
See Also:
DenormalizedBatchDao.createFromClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch)

handleGetAllClusterDenormalizedBatch

protected ClusterDenormalizedBatch[] handleGetAllClusterDenormalizedBatch(java.lang.Integer userId,
                                                                          java.lang.Integer[] registrationLocationIds,
                                                                          java.lang.Integer pageNumber,
                                                                          java.lang.Integer pageSize)
Description copied from class: DenormalizedBatchDaoBase
Performs the core logic for DenormalizedBatchDaoBase.getAllClusterDenormalizedBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterDenormalizedBatch in class DenormalizedBatchDaoBase
See Also:
DenormalizedBatchDao.getAllClusterDenormalizedBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteDenormalizedBatchFullVO

public void toRemoteDenormalizedBatchFullVO(DenormalizedBatch source,
                                            RemoteDenormalizedBatchFullVO target)
Description copied from interface: DenormalizedBatchDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDenormalizedBatchFullVO(), 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:
toRemoteDenormalizedBatchFullVO in interface DenormalizedBatchDao
Overrides:
toRemoteDenormalizedBatchFullVO in class DenormalizedBatchDaoBase
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchFullVO(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch, fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchFullVO)

toRemoteDenormalizedBatchFullVO

public RemoteDenormalizedBatchFullVO toRemoteDenormalizedBatchFullVO(DenormalizedBatch entity)
Description copied from interface: DenormalizedBatchDao
Converts this DAO's entity to an object of type RemoteDenormalizedBatchFullVO.

Specified by:
toRemoteDenormalizedBatchFullVO in interface DenormalizedBatchDao
Overrides:
toRemoteDenormalizedBatchFullVO in class DenormalizedBatchDaoBase
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchFullVO(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

remoteDenormalizedBatchFullVOToEntity

public DenormalizedBatch remoteDenormalizedBatchFullVOToEntity(RemoteDenormalizedBatchFullVO remoteDenormalizedBatchFullVO)
Description copied from interface: DenormalizedBatchDao
Converts an instance of type RemoteDenormalizedBatchFullVO to this DAO's entity.

See Also:
DenormalizedBatchDao.remoteDenormalizedBatchFullVOToEntity(fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchFullVO)

remoteDenormalizedBatchFullVOToEntity

public void remoteDenormalizedBatchFullVOToEntity(RemoteDenormalizedBatchFullVO source,
                                                  DenormalizedBatch target,
                                                  boolean copyIfNull)
Description copied from interface: DenormalizedBatchDao
Copies the fields of RemoteDenormalizedBatchFullVO to the specified entity.

Specified by:
remoteDenormalizedBatchFullVOToEntity in interface DenormalizedBatchDao
Overrides:
remoteDenormalizedBatchFullVOToEntity in class DenormalizedBatchDaoBase
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.denormalized.DenormalizedBatchDao#remoteDenormalizedBatchFullVOToEntity(fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchFullVO, fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

toRemoteDenormalizedBatchNaturalId

public void toRemoteDenormalizedBatchNaturalId(DenormalizedBatch source,
                                               RemoteDenormalizedBatchNaturalId target)
Description copied from interface: DenormalizedBatchDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDenormalizedBatchNaturalId(), 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:
toRemoteDenormalizedBatchNaturalId in interface DenormalizedBatchDao
Overrides:
toRemoteDenormalizedBatchNaturalId in class DenormalizedBatchDaoBase
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchNaturalId(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch, fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchNaturalId)

toRemoteDenormalizedBatchNaturalId

public RemoteDenormalizedBatchNaturalId toRemoteDenormalizedBatchNaturalId(DenormalizedBatch entity)
Description copied from interface: DenormalizedBatchDao
Converts this DAO's entity to an object of type RemoteDenormalizedBatchNaturalId.

Specified by:
toRemoteDenormalizedBatchNaturalId in interface DenormalizedBatchDao
Overrides:
toRemoteDenormalizedBatchNaturalId in class DenormalizedBatchDaoBase
See Also:
DenormalizedBatchDao.toRemoteDenormalizedBatchNaturalId(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

remoteDenormalizedBatchNaturalIdToEntity

public DenormalizedBatch remoteDenormalizedBatchNaturalIdToEntity(RemoteDenormalizedBatchNaturalId remoteDenormalizedBatchNaturalId)
Description copied from interface: DenormalizedBatchDao
Converts an instance of type RemoteDenormalizedBatchNaturalId to this DAO's entity.

See Also:
DenormalizedBatchDao.remoteDenormalizedBatchNaturalIdToEntity(fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchNaturalId)

remoteDenormalizedBatchNaturalIdToEntity

public void remoteDenormalizedBatchNaturalIdToEntity(RemoteDenormalizedBatchNaturalId source,
                                                     DenormalizedBatch target,
                                                     boolean copyIfNull)
Description copied from interface: DenormalizedBatchDao
Copies the fields of RemoteDenormalizedBatchNaturalId to the specified entity.

Specified by:
remoteDenormalizedBatchNaturalIdToEntity in interface DenormalizedBatchDao
Overrides:
remoteDenormalizedBatchNaturalIdToEntity in class DenormalizedBatchDaoBase
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.denormalized.DenormalizedBatchDao#remoteDenormalizedBatchNaturalIdToEntity(fr.ifremer.allegro.data.batch.denormalized.generic.vo.RemoteDenormalizedBatchNaturalId, fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

toClusterDenormalizedBatch

public void toClusterDenormalizedBatch(DenormalizedBatch source,
                                       ClusterDenormalizedBatch target)
Description copied from interface: DenormalizedBatchDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterDenormalizedBatch(), 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:
toClusterDenormalizedBatch in interface DenormalizedBatchDao
Overrides:
toClusterDenormalizedBatch in class DenormalizedBatchDaoBase
See Also:
DenormalizedBatchDao.toClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch, fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch)

toClusterDenormalizedBatch

public ClusterDenormalizedBatch toClusterDenormalizedBatch(DenormalizedBatch entity)
Description copied from interface: DenormalizedBatchDao
Converts this DAO's entity to an object of type ClusterDenormalizedBatch.

Specified by:
toClusterDenormalizedBatch in interface DenormalizedBatchDao
Overrides:
toClusterDenormalizedBatch in class DenormalizedBatchDaoBase
See Also:
DenormalizedBatchDao.toClusterDenormalizedBatch(fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)

clusterDenormalizedBatchToEntity

public DenormalizedBatch clusterDenormalizedBatchToEntity(ClusterDenormalizedBatch clusterDenormalizedBatch)
Description copied from interface: DenormalizedBatchDao
Converts an instance of type ClusterDenormalizedBatch to this DAO's entity.

See Also:
DenormalizedBatchDao.clusterDenormalizedBatchToEntity(fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch)

clusterDenormalizedBatchToEntity

public void clusterDenormalizedBatchToEntity(ClusterDenormalizedBatch source,
                                             DenormalizedBatch target,
                                             boolean copyIfNull)
Description copied from interface: DenormalizedBatchDao
Copies the fields of ClusterDenormalizedBatch to the specified entity.

Specified by:
clusterDenormalizedBatchToEntity in interface DenormalizedBatchDao
Overrides:
clusterDenormalizedBatchToEntity in class DenormalizedBatchDaoBase
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.denormalized.DenormalizedBatchDao#clusterDenormalizedBatchToEntity(fr.ifremer.allegro.data.batch.denormalized.generic.cluster.ClusterDenormalizedBatch, fr.ifremer.allegro.data.batch.denormalized.DenormalizedBatch)


Copyright © 2008-2010 IFREMER. All Rights Reserved.