fr.ifremer.allegro.referential.taxon
Class ReferenceTaxonDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.ReferenceTaxonDaoBase
          extended by fr.ifremer.allegro.referential.taxon.ReferenceTaxonDaoImpl
All Implemented Interfaces:
ReferenceTaxonDao

public class ReferenceTaxonDaoImpl
extends ReferenceTaxonDaoBase

See Also:
ReferenceTaxon

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.ReferenceTaxonDao
TRANSFORM_CLUSTERREFERENCETAXON, TRANSFORM_NONE, TRANSFORM_REMOTEREFERENCETAXONFULLVO, TRANSFORM_REMOTEREFERENCETAXONNATURALID
 
Constructor Summary
ReferenceTaxonDaoImpl()
           
 
Method Summary
 ReferenceTaxon clusterReferenceTaxonToEntity(ClusterReferenceTaxon clusterReferenceTaxon)
          Converts an instance of type ClusterReferenceTaxon to this DAO's entity.
 void clusterReferenceTaxonToEntity(ClusterReferenceTaxon source, ReferenceTaxon target, boolean copyIfNull)
          Copies the fields of ClusterReferenceTaxon to the specified entity.
protected  ReferenceTaxon handleCreateFromClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon)
          Performs the core logic for ReferenceTaxonDaoBase.createFromClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)
protected  ClusterReferenceTaxon[] handleGetAllClusterReferenceTaxonSinceDateSynchro(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 ReferenceTaxonDaoBase.getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ReferenceTaxon remoteReferenceTaxonFullVOToEntity(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVO)
          Converts an instance of type RemoteReferenceTaxonFullVO to this DAO's entity.
 void remoteReferenceTaxonFullVOToEntity(RemoteReferenceTaxonFullVO source, ReferenceTaxon target, boolean copyIfNull)
          Copies the fields of RemoteReferenceTaxonFullVO to the specified entity.
 ReferenceTaxon remoteReferenceTaxonNaturalIdToEntity(RemoteReferenceTaxonNaturalId remoteReferenceTaxonNaturalId)
          Converts an instance of type RemoteReferenceTaxonNaturalId to this DAO's entity.
 void remoteReferenceTaxonNaturalIdToEntity(RemoteReferenceTaxonNaturalId source, ReferenceTaxon target, boolean copyIfNull)
          Copies the fields of RemoteReferenceTaxonNaturalId to the specified entity.
 ClusterReferenceTaxon toClusterReferenceTaxon(ReferenceTaxon entity)
          Converts this DAO's entity to an object of type ClusterReferenceTaxon.
 void toClusterReferenceTaxon(ReferenceTaxon source, ClusterReferenceTaxon target)
          Copies the fields of the specified entity to the target value object.
 RemoteReferenceTaxonFullVO toRemoteReferenceTaxonFullVO(ReferenceTaxon entity)
          Converts this DAO's entity to an object of type RemoteReferenceTaxonFullVO.
 void toRemoteReferenceTaxonFullVO(ReferenceTaxon source, RemoteReferenceTaxonFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteReferenceTaxonNaturalId toRemoteReferenceTaxonNaturalId(ReferenceTaxon entity)
          Converts this DAO's entity to an object of type RemoteReferenceTaxonNaturalId.
 void toRemoteReferenceTaxonNaturalId(ReferenceTaxon source, RemoteReferenceTaxonNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.taxon.ReferenceTaxonDaoBase
clusterReferenceTaxonToEntityCollection, create, create, create, create, create, create, createFromClusterReferenceTaxon, findReferenceTaxonById, findReferenceTaxonById, findReferenceTaxonById, findReferenceTaxonById, findReferenceTaxonByNaturalId, findReferenceTaxonByNaturalId, findReferenceTaxonByNaturalId, findReferenceTaxonByNaturalId, getAllClusterReferenceTaxonSinceDateSynchro, getAllReferenceTaxon, getAllReferenceTaxon, getAllReferenceTaxon, getAllReferenceTaxon, getAllReferenceTaxon, getAllReferenceTaxon, getAllReferenceTaxon, getAllReferenceTaxon, getAllReferenceTaxonSinceDateSynchro, getAllReferenceTaxonSinceDateSynchro, getAllReferenceTaxonSinceDateSynchro, getAllReferenceTaxonSinceDateSynchro, getAllReferenceTaxonSinceDateSynchro, getAllReferenceTaxonSinceDateSynchro, getAllReferenceTaxonSinceDateSynchro, getAllReferenceTaxonSinceDateSynchro, getPrincipal, getReferenceTaxonStrategyDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteReferenceTaxonFullVOToEntityCollection, remoteReferenceTaxonNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setReferenceTaxonStrategyDao, toClusterReferenceTaxon, toClusterReferenceTaxonArray, toClusterReferenceTaxonCollection, toEntity, toRemoteReferenceTaxonFullVO, toRemoteReferenceTaxonFullVOArray, toRemoteReferenceTaxonFullVOCollection, toRemoteReferenceTaxonNaturalId, toRemoteReferenceTaxonNaturalIdArray, toRemoteReferenceTaxonNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceTaxonDaoImpl

public ReferenceTaxonDaoImpl()
Method Detail

handleCreateFromClusterReferenceTaxon

protected ReferenceTaxon handleCreateFromClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon)
Description copied from class: ReferenceTaxonDaoBase
Performs the core logic for ReferenceTaxonDaoBase.createFromClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)

Specified by:
handleCreateFromClusterReferenceTaxon in class ReferenceTaxonDaoBase
See Also:
ReferenceTaxonDao.createFromClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)

handleGetAllClusterReferenceTaxonSinceDateSynchro

protected ClusterReferenceTaxon[] handleGetAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                    java.lang.Integer userId,
                                                                                    java.lang.Integer[] registrationLocationIds,
                                                                                    java.lang.Integer pageNumber,
                                                                                    java.lang.Integer pageSize)
Description copied from class: ReferenceTaxonDaoBase
Performs the core logic for ReferenceTaxonDaoBase.getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterReferenceTaxonSinceDateSynchro in class ReferenceTaxonDaoBase
See Also:
ReferenceTaxonDao.getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteReferenceTaxonFullVO

public void toRemoteReferenceTaxonFullVO(ReferenceTaxon source,
                                         RemoteReferenceTaxonFullVO target)
Description copied from interface: ReferenceTaxonDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteReferenceTaxonFullVO(), 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:
toRemoteReferenceTaxonFullVO in interface ReferenceTaxonDao
Overrides:
toRemoteReferenceTaxonFullVO in class ReferenceTaxonDaoBase
See Also:
ReferenceTaxonDao.toRemoteReferenceTaxonFullVO(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

toRemoteReferenceTaxonFullVO

public RemoteReferenceTaxonFullVO toRemoteReferenceTaxonFullVO(ReferenceTaxon entity)
Description copied from interface: ReferenceTaxonDao
Converts this DAO's entity to an object of type RemoteReferenceTaxonFullVO.

Specified by:
toRemoteReferenceTaxonFullVO in interface ReferenceTaxonDao
Overrides:
toRemoteReferenceTaxonFullVO in class ReferenceTaxonDaoBase
See Also:
ReferenceTaxonDao.toRemoteReferenceTaxonFullVO(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

remoteReferenceTaxonFullVOToEntity

public ReferenceTaxon remoteReferenceTaxonFullVOToEntity(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVO)
Description copied from interface: ReferenceTaxonDao
Converts an instance of type RemoteReferenceTaxonFullVO to this DAO's entity.

See Also:
ReferenceTaxonDao.remoteReferenceTaxonFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

remoteReferenceTaxonFullVOToEntity

public void remoteReferenceTaxonFullVOToEntity(RemoteReferenceTaxonFullVO source,
                                               ReferenceTaxon target,
                                               boolean copyIfNull)
Description copied from interface: ReferenceTaxonDao
Copies the fields of RemoteReferenceTaxonFullVO to the specified entity.

Specified by:
remoteReferenceTaxonFullVOToEntity in interface ReferenceTaxonDao
Overrides:
remoteReferenceTaxonFullVOToEntity in class ReferenceTaxonDaoBase
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.referential.taxon.ReferenceTaxonDao#remoteReferenceTaxonFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

toRemoteReferenceTaxonNaturalId

public void toRemoteReferenceTaxonNaturalId(ReferenceTaxon source,
                                            RemoteReferenceTaxonNaturalId target)
Description copied from interface: ReferenceTaxonDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteReferenceTaxonNaturalId(), 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:
toRemoteReferenceTaxonNaturalId in interface ReferenceTaxonDao
Overrides:
toRemoteReferenceTaxonNaturalId in class ReferenceTaxonDaoBase
See Also:
ReferenceTaxonDao.toRemoteReferenceTaxonNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonNaturalId)

toRemoteReferenceTaxonNaturalId

public RemoteReferenceTaxonNaturalId toRemoteReferenceTaxonNaturalId(ReferenceTaxon entity)
Description copied from interface: ReferenceTaxonDao
Converts this DAO's entity to an object of type RemoteReferenceTaxonNaturalId.

Specified by:
toRemoteReferenceTaxonNaturalId in interface ReferenceTaxonDao
Overrides:
toRemoteReferenceTaxonNaturalId in class ReferenceTaxonDaoBase
See Also:
ReferenceTaxonDao.toRemoteReferenceTaxonNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

remoteReferenceTaxonNaturalIdToEntity

public ReferenceTaxon remoteReferenceTaxonNaturalIdToEntity(RemoteReferenceTaxonNaturalId remoteReferenceTaxonNaturalId)
Description copied from interface: ReferenceTaxonDao
Converts an instance of type RemoteReferenceTaxonNaturalId to this DAO's entity.

See Also:
ReferenceTaxonDao.remoteReferenceTaxonNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonNaturalId)

remoteReferenceTaxonNaturalIdToEntity

public void remoteReferenceTaxonNaturalIdToEntity(RemoteReferenceTaxonNaturalId source,
                                                  ReferenceTaxon target,
                                                  boolean copyIfNull)
Description copied from interface: ReferenceTaxonDao
Copies the fields of RemoteReferenceTaxonNaturalId to the specified entity.

Specified by:
remoteReferenceTaxonNaturalIdToEntity in interface ReferenceTaxonDao
Overrides:
remoteReferenceTaxonNaturalIdToEntity in class ReferenceTaxonDaoBase
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.referential.taxon.ReferenceTaxonDao#remoteReferenceTaxonNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonNaturalId, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

toClusterReferenceTaxon

public void toClusterReferenceTaxon(ReferenceTaxon source,
                                    ClusterReferenceTaxon target)
Description copied from interface: ReferenceTaxonDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterReferenceTaxon(), 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:
toClusterReferenceTaxon in interface ReferenceTaxonDao
Overrides:
toClusterReferenceTaxon in class ReferenceTaxonDaoBase
See Also:
ReferenceTaxonDao.toClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)

toClusterReferenceTaxon

public ClusterReferenceTaxon toClusterReferenceTaxon(ReferenceTaxon entity)
Description copied from interface: ReferenceTaxonDao
Converts this DAO's entity to an object of type ClusterReferenceTaxon.

Specified by:
toClusterReferenceTaxon in interface ReferenceTaxonDao
Overrides:
toClusterReferenceTaxon in class ReferenceTaxonDaoBase
See Also:
ReferenceTaxonDao.toClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

clusterReferenceTaxonToEntity

public ReferenceTaxon clusterReferenceTaxonToEntity(ClusterReferenceTaxon clusterReferenceTaxon)
Description copied from interface: ReferenceTaxonDao
Converts an instance of type ClusterReferenceTaxon to this DAO's entity.

See Also:
ReferenceTaxonDao.clusterReferenceTaxonToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)

clusterReferenceTaxonToEntity

public void clusterReferenceTaxonToEntity(ClusterReferenceTaxon source,
                                          ReferenceTaxon target,
                                          boolean copyIfNull)
Description copied from interface: ReferenceTaxonDao
Copies the fields of ClusterReferenceTaxon to the specified entity.

Specified by:
clusterReferenceTaxonToEntity in interface ReferenceTaxonDao
Overrides:
clusterReferenceTaxonToEntity in class ReferenceTaxonDaoBase
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.referential.taxon.ReferenceTaxonDao#clusterReferenceTaxonToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)


Copyright © 2008-2010 IFREMER. All Rights Reserved.