fr.ifremer.allegro.referential.taxon
Class TaxonNameHistoryDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.TaxonNameHistoryDaoBase
          extended by fr.ifremer.allegro.referential.taxon.TaxonNameHistoryDaoImpl
All Implemented Interfaces:
TaxonNameHistoryDao

public class TaxonNameHistoryDaoImpl
extends TaxonNameHistoryDaoBase

See Also:
TaxonNameHistory

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonNameHistoryDao
TRANSFORM_CLUSTERTAXONNAMEHISTORY, TRANSFORM_NONE, TRANSFORM_REMOTETAXONNAMEHISTORYFULLVO, TRANSFORM_REMOTETAXONNAMEHISTORYNATURALID
 
Constructor Summary
TaxonNameHistoryDaoImpl()
           
 
Method Summary
 TaxonNameHistory clusterTaxonNameHistoryToEntity(ClusterTaxonNameHistory clusterTaxonNameHistory)
          Converts an instance of type ClusterTaxonNameHistory to this DAO's entity.
 void clusterTaxonNameHistoryToEntity(ClusterTaxonNameHistory source, TaxonNameHistory target, boolean copyIfNull)
          Copies the fields of ClusterTaxonNameHistory to the specified entity.
protected  TaxonNameHistory handleCreateFromClusterTaxonNameHistory(ClusterTaxonNameHistory clusterTaxonNameHistory)
          Performs the core logic for TaxonNameHistoryDaoBase.createFromClusterTaxonNameHistory(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonNameHistory)
protected  ClusterTaxonNameHistory[] handleGetAllClusterTaxonNameHistorySinceDateSynchro(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 TaxonNameHistoryDaoBase.getAllClusterTaxonNameHistorySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 TaxonNameHistory remoteTaxonNameHistoryFullVOToEntity(RemoteTaxonNameHistoryFullVO remoteTaxonNameHistoryFullVO)
          Converts an instance of type RemoteTaxonNameHistoryFullVO to this DAO's entity.
 void remoteTaxonNameHistoryFullVOToEntity(RemoteTaxonNameHistoryFullVO source, TaxonNameHistory target, boolean copyIfNull)
          Copies the fields of RemoteTaxonNameHistoryFullVO to the specified entity.
 TaxonNameHistory remoteTaxonNameHistoryNaturalIdToEntity(RemoteTaxonNameHistoryNaturalId remoteTaxonNameHistoryNaturalId)
          Converts an instance of type RemoteTaxonNameHistoryNaturalId to this DAO's entity.
 void remoteTaxonNameHistoryNaturalIdToEntity(RemoteTaxonNameHistoryNaturalId source, TaxonNameHistory target, boolean copyIfNull)
          Copies the fields of RemoteTaxonNameHistoryNaturalId to the specified entity.
 ClusterTaxonNameHistory toClusterTaxonNameHistory(TaxonNameHistory entity)
          Converts this DAO's entity to an object of type ClusterTaxonNameHistory.
 void toClusterTaxonNameHistory(TaxonNameHistory source, ClusterTaxonNameHistory target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonNameHistoryFullVO toRemoteTaxonNameHistoryFullVO(TaxonNameHistory entity)
          Converts this DAO's entity to an object of type RemoteTaxonNameHistoryFullVO.
 void toRemoteTaxonNameHistoryFullVO(TaxonNameHistory source, RemoteTaxonNameHistoryFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonNameHistoryNaturalId toRemoteTaxonNameHistoryNaturalId(TaxonNameHistory entity)
          Converts this DAO's entity to an object of type RemoteTaxonNameHistoryNaturalId.
 void toRemoteTaxonNameHistoryNaturalId(TaxonNameHistory source, RemoteTaxonNameHistoryNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.taxon.TaxonNameHistoryDaoBase
clusterTaxonNameHistoryToEntityCollection, create, create, create, create, create, create, createFromClusterTaxonNameHistory, findTaxonNameHistoryByCitation, findTaxonNameHistoryByCitation, findTaxonNameHistoryByCitation, findTaxonNameHistoryByCitation, findTaxonNameHistoryByCitation, findTaxonNameHistoryByCitation, findTaxonNameHistoryByCitation, findTaxonNameHistoryByCitation, findTaxonNameHistoryById, findTaxonNameHistoryById, findTaxonNameHistoryById, findTaxonNameHistoryById, findTaxonNameHistoryByNaturalId, findTaxonNameHistoryByNaturalId, findTaxonNameHistoryByNaturalId, findTaxonNameHistoryByNaturalId, findTaxonNameHistoryByParentTaxonName, findTaxonNameHistoryByParentTaxonName, findTaxonNameHistoryByParentTaxonName, findTaxonNameHistoryByParentTaxonName, findTaxonNameHistoryByParentTaxonName, findTaxonNameHistoryByParentTaxonName, findTaxonNameHistoryByParentTaxonName, findTaxonNameHistoryByParentTaxonName, findTaxonNameHistoryByTaxonName, findTaxonNameHistoryByTaxonName, findTaxonNameHistoryByTaxonName, findTaxonNameHistoryByTaxonName, findTaxonNameHistoryByTaxonName, findTaxonNameHistoryByTaxonName, findTaxonNameHistoryByTaxonName, findTaxonNameHistoryByTaxonName, getAllClusterTaxonNameHistorySinceDateSynchro, getAllTaxonNameHistory, getAllTaxonNameHistory, getAllTaxonNameHistory, getAllTaxonNameHistory, getAllTaxonNameHistory, getAllTaxonNameHistory, getAllTaxonNameHistory, getAllTaxonNameHistory, getAllTaxonNameHistorySinceDateSynchro, getAllTaxonNameHistorySinceDateSynchro, getAllTaxonNameHistorySinceDateSynchro, getAllTaxonNameHistorySinceDateSynchro, getAllTaxonNameHistorySinceDateSynchro, getAllTaxonNameHistorySinceDateSynchro, getAllTaxonNameHistorySinceDateSynchro, getAllTaxonNameHistorySinceDateSynchro, getCitationDao, getPrincipal, getTaxonNameDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteTaxonNameHistoryFullVOToEntityCollection, remoteTaxonNameHistoryNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setCitationDao, setTaxonNameDao, toClusterTaxonNameHistory, toClusterTaxonNameHistoryArray, toClusterTaxonNameHistoryCollection, toEntity, toRemoteTaxonNameHistoryFullVO, toRemoteTaxonNameHistoryFullVOArray, toRemoteTaxonNameHistoryFullVOCollection, toRemoteTaxonNameHistoryNaturalId, toRemoteTaxonNameHistoryNaturalIdArray, toRemoteTaxonNameHistoryNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxonNameHistoryDaoImpl

public TaxonNameHistoryDaoImpl()
Method Detail

handleCreateFromClusterTaxonNameHistory

protected TaxonNameHistory handleCreateFromClusterTaxonNameHistory(ClusterTaxonNameHistory clusterTaxonNameHistory)
Description copied from class: TaxonNameHistoryDaoBase
Performs the core logic for TaxonNameHistoryDaoBase.createFromClusterTaxonNameHistory(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonNameHistory)

Specified by:
handleCreateFromClusterTaxonNameHistory in class TaxonNameHistoryDaoBase
See Also:
TaxonNameHistoryDao.createFromClusterTaxonNameHistory(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonNameHistory)

handleGetAllClusterTaxonNameHistorySinceDateSynchro

protected ClusterTaxonNameHistory[] handleGetAllClusterTaxonNameHistorySinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                        java.lang.Integer userId,
                                                                                        java.lang.Integer[] registrationLocationIds,
                                                                                        java.lang.Integer pageNumber,
                                                                                        java.lang.Integer pageSize)
Description copied from class: TaxonNameHistoryDaoBase
Performs the core logic for TaxonNameHistoryDaoBase.getAllClusterTaxonNameHistorySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterTaxonNameHistorySinceDateSynchro in class TaxonNameHistoryDaoBase
See Also:
TaxonNameHistoryDao.getAllClusterTaxonNameHistorySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteTaxonNameHistoryFullVO

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

toRemoteTaxonNameHistoryFullVO

public RemoteTaxonNameHistoryFullVO toRemoteTaxonNameHistoryFullVO(TaxonNameHistory entity)
Description copied from interface: TaxonNameHistoryDao
Converts this DAO's entity to an object of type RemoteTaxonNameHistoryFullVO.

Specified by:
toRemoteTaxonNameHistoryFullVO in interface TaxonNameHistoryDao
Overrides:
toRemoteTaxonNameHistoryFullVO in class TaxonNameHistoryDaoBase
See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryFullVO(fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

remoteTaxonNameHistoryFullVOToEntity

public TaxonNameHistory remoteTaxonNameHistoryFullVOToEntity(RemoteTaxonNameHistoryFullVO remoteTaxonNameHistoryFullVO)
Description copied from interface: TaxonNameHistoryDao
Converts an instance of type RemoteTaxonNameHistoryFullVO to this DAO's entity.

See Also:
TaxonNameHistoryDao.remoteTaxonNameHistoryFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameHistoryFullVO)

remoteTaxonNameHistoryFullVOToEntity

public void remoteTaxonNameHistoryFullVOToEntity(RemoteTaxonNameHistoryFullVO source,
                                                 TaxonNameHistory target,
                                                 boolean copyIfNull)
Description copied from interface: TaxonNameHistoryDao
Copies the fields of RemoteTaxonNameHistoryFullVO to the specified entity.

Specified by:
remoteTaxonNameHistoryFullVOToEntity in interface TaxonNameHistoryDao
Overrides:
remoteTaxonNameHistoryFullVOToEntity in class TaxonNameHistoryDaoBase
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.TaxonNameHistoryDao#remoteTaxonNameHistoryFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameHistoryFullVO, fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

toRemoteTaxonNameHistoryNaturalId

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

toRemoteTaxonNameHistoryNaturalId

public RemoteTaxonNameHistoryNaturalId toRemoteTaxonNameHistoryNaturalId(TaxonNameHistory entity)
Description copied from interface: TaxonNameHistoryDao
Converts this DAO's entity to an object of type RemoteTaxonNameHistoryNaturalId.

Specified by:
toRemoteTaxonNameHistoryNaturalId in interface TaxonNameHistoryDao
Overrides:
toRemoteTaxonNameHistoryNaturalId in class TaxonNameHistoryDaoBase
See Also:
TaxonNameHistoryDao.toRemoteTaxonNameHistoryNaturalId(fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

remoteTaxonNameHistoryNaturalIdToEntity

public TaxonNameHistory remoteTaxonNameHistoryNaturalIdToEntity(RemoteTaxonNameHistoryNaturalId remoteTaxonNameHistoryNaturalId)
Description copied from interface: TaxonNameHistoryDao
Converts an instance of type RemoteTaxonNameHistoryNaturalId to this DAO's entity.

See Also:
TaxonNameHistoryDao.remoteTaxonNameHistoryNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameHistoryNaturalId)

remoteTaxonNameHistoryNaturalIdToEntity

public void remoteTaxonNameHistoryNaturalIdToEntity(RemoteTaxonNameHistoryNaturalId source,
                                                    TaxonNameHistory target,
                                                    boolean copyIfNull)
Description copied from interface: TaxonNameHistoryDao
Copies the fields of RemoteTaxonNameHistoryNaturalId to the specified entity.

Specified by:
remoteTaxonNameHistoryNaturalIdToEntity in interface TaxonNameHistoryDao
Overrides:
remoteTaxonNameHistoryNaturalIdToEntity in class TaxonNameHistoryDaoBase
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.TaxonNameHistoryDao#remoteTaxonNameHistoryNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameHistoryNaturalId, fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

toClusterTaxonNameHistory

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

toClusterTaxonNameHistory

public ClusterTaxonNameHistory toClusterTaxonNameHistory(TaxonNameHistory entity)
Description copied from interface: TaxonNameHistoryDao
Converts this DAO's entity to an object of type ClusterTaxonNameHistory.

Specified by:
toClusterTaxonNameHistory in interface TaxonNameHistoryDao
Overrides:
toClusterTaxonNameHistory in class TaxonNameHistoryDaoBase
See Also:
TaxonNameHistoryDao.toClusterTaxonNameHistory(fr.ifremer.allegro.referential.taxon.TaxonNameHistory)

clusterTaxonNameHistoryToEntity

public TaxonNameHistory clusterTaxonNameHistoryToEntity(ClusterTaxonNameHistory clusterTaxonNameHistory)
Description copied from interface: TaxonNameHistoryDao
Converts an instance of type ClusterTaxonNameHistory to this DAO's entity.

See Also:
TaxonNameHistoryDao.clusterTaxonNameHistoryToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonNameHistory)

clusterTaxonNameHistoryToEntity

public void clusterTaxonNameHistoryToEntity(ClusterTaxonNameHistory source,
                                            TaxonNameHistory target,
                                            boolean copyIfNull)
Description copied from interface: TaxonNameHistoryDao
Copies the fields of ClusterTaxonNameHistory to the specified entity.

Specified by:
clusterTaxonNameHistoryToEntity in interface TaxonNameHistoryDao
Overrides:
clusterTaxonNameHistoryToEntity in class TaxonNameHistoryDaoBase
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.TaxonNameHistoryDao#clusterTaxonNameHistoryToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonNameHistory, fr.ifremer.allegro.referential.taxon.TaxonNameHistory)


Copyright © 2008-2010 IFREMER. All Rights Reserved.