fr.ifremer.allegro.referential.taxon
Class TaxonNameDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.TaxonNameDaoBase
          extended by fr.ifremer.allegro.referential.taxon.TaxonNameDaoImpl
All Implemented Interfaces:
TaxonNameDao

public class TaxonNameDaoImpl
extends TaxonNameDaoBase

See Also:
TaxonName

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonNameDao
TRANSFORM_CLUSTERTAXONNAME, TRANSFORM_NONE, TRANSFORM_REMOTETAXONNAMEFULLVO, TRANSFORM_REMOTETAXONNAMENATURALID
 
Constructor Summary
TaxonNameDaoImpl()
           
 
Method Summary
 TaxonName clusterTaxonNameToEntity(ClusterTaxonName clusterTaxonName)
          Converts an instance of type ClusterTaxonName to this DAO's entity.
 void clusterTaxonNameToEntity(ClusterTaxonName source, TaxonName target, boolean copyIfNull)
          Copies the fields of ClusterTaxonName to the specified entity.
protected  TaxonName handleCreateFromClusterTaxonName(ClusterTaxonName clusterTaxonName)
          Performs the core logic for TaxonNameDaoBase.createFromClusterTaxonName(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonName)
protected  ClusterTaxonName[] handleGetAllClusterTaxonNameSinceDateSynchro(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 TaxonNameDaoBase.getAllClusterTaxonNameSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 TaxonName remoteTaxonNameFullVOToEntity(RemoteTaxonNameFullVO remoteTaxonNameFullVO)
          Converts an instance of type RemoteTaxonNameFullVO to this DAO's entity.
 void remoteTaxonNameFullVOToEntity(RemoteTaxonNameFullVO source, TaxonName target, boolean copyIfNull)
          Copies the fields of RemoteTaxonNameFullVO to the specified entity.
 TaxonName remoteTaxonNameNaturalIdToEntity(RemoteTaxonNameNaturalId remoteTaxonNameNaturalId)
          Converts an instance of type RemoteTaxonNameNaturalId to this DAO's entity.
 void remoteTaxonNameNaturalIdToEntity(RemoteTaxonNameNaturalId source, TaxonName target, boolean copyIfNull)
          Copies the fields of RemoteTaxonNameNaturalId to the specified entity.
 ClusterTaxonName toClusterTaxonName(TaxonName entity)
          Converts this DAO's entity to an object of type ClusterTaxonName.
 void toClusterTaxonName(TaxonName source, ClusterTaxonName target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonNameFullVO toRemoteTaxonNameFullVO(TaxonName entity)
          Converts this DAO's entity to an object of type RemoteTaxonNameFullVO.
 void toRemoteTaxonNameFullVO(TaxonName source, RemoteTaxonNameFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonNameNaturalId toRemoteTaxonNameNaturalId(TaxonName entity)
          Converts this DAO's entity to an object of type RemoteTaxonNameNaturalId.
 void toRemoteTaxonNameNaturalId(TaxonName source, RemoteTaxonNameNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.taxon.TaxonNameDaoBase
clusterTaxonNameToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterTaxonName, findTaxonNameByCitation, findTaxonNameByCitation, findTaxonNameByCitation, findTaxonNameByCitation, findTaxonNameByCitation, findTaxonNameByCitation, findTaxonNameByCitation, findTaxonNameByCitation, findTaxonNameById, findTaxonNameById, findTaxonNameById, findTaxonNameById, findTaxonNameByNaturalId, findTaxonNameByNaturalId, findTaxonNameByNaturalId, findTaxonNameByNaturalId, findTaxonNameByParentTaxonName, findTaxonNameByParentTaxonName, findTaxonNameByParentTaxonName, findTaxonNameByParentTaxonName, findTaxonNameByParentTaxonName, findTaxonNameByParentTaxonName, findTaxonNameByParentTaxonName, findTaxonNameByParentTaxonName, findTaxonNameByReferenceTaxon, findTaxonNameByReferenceTaxon, findTaxonNameByReferenceTaxon, findTaxonNameByReferenceTaxon, findTaxonNameByReferenceTaxon, findTaxonNameByReferenceTaxon, findTaxonNameByReferenceTaxon, findTaxonNameByReferenceTaxon, findTaxonNameByTaxonomicLevel, findTaxonNameByTaxonomicLevel, findTaxonNameByTaxonomicLevel, findTaxonNameByTaxonomicLevel, findTaxonNameByTaxonomicLevel, findTaxonNameByTaxonomicLevel, findTaxonNameByTaxonomicLevel, findTaxonNameByTaxonomicLevel, getAllClusterTaxonNameSinceDateSynchro, getAllTaxonName, getAllTaxonName, getAllTaxonName, getAllTaxonName, getAllTaxonName, getAllTaxonName, getAllTaxonName, getAllTaxonName, getAllTaxonNameSinceDateSynchro, getAllTaxonNameSinceDateSynchro, getAllTaxonNameSinceDateSynchro, getAllTaxonNameSinceDateSynchro, getAllTaxonNameSinceDateSynchro, getAllTaxonNameSinceDateSynchro, getAllTaxonNameSinceDateSynchro, getAllTaxonNameSinceDateSynchro, getCitationDao, getPrincipal, getReferenceTaxonDao, getTaxonNameDao, getTaxonNameHistoryDao, getTaxonomicLevelDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteTaxonNameFullVOToEntityCollection, remoteTaxonNameNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setCitationDao, setReferenceTaxonDao, setTaxonNameDao, setTaxonNameHistoryDao, setTaxonomicLevelDao, toClusterTaxonName, toClusterTaxonNameArray, toClusterTaxonNameCollection, toEntity, toRemoteTaxonNameFullVO, toRemoteTaxonNameFullVOArray, toRemoteTaxonNameFullVOCollection, toRemoteTaxonNameNaturalId, toRemoteTaxonNameNaturalIdArray, toRemoteTaxonNameNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxonNameDaoImpl

public TaxonNameDaoImpl()
Method Detail

handleCreateFromClusterTaxonName

protected TaxonName handleCreateFromClusterTaxonName(ClusterTaxonName clusterTaxonName)
Description copied from class: TaxonNameDaoBase
Performs the core logic for TaxonNameDaoBase.createFromClusterTaxonName(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonName)

Specified by:
handleCreateFromClusterTaxonName in class TaxonNameDaoBase
See Also:
TaxonNameDao.createFromClusterTaxonName(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonName)

handleGetAllClusterTaxonNameSinceDateSynchro

protected ClusterTaxonName[] handleGetAllClusterTaxonNameSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                          java.lang.Integer userId,
                                                                          java.lang.Integer[] registrationLocationIds,
                                                                          java.lang.Integer pageNumber,
                                                                          java.lang.Integer pageSize)
Description copied from class: TaxonNameDaoBase
Performs the core logic for TaxonNameDaoBase.getAllClusterTaxonNameSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterTaxonNameSinceDateSynchro in class TaxonNameDaoBase
See Also:
TaxonNameDao.getAllClusterTaxonNameSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteTaxonNameFullVO

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

toRemoteTaxonNameFullVO

public RemoteTaxonNameFullVO toRemoteTaxonNameFullVO(TaxonName entity)
Description copied from interface: TaxonNameDao
Converts this DAO's entity to an object of type RemoteTaxonNameFullVO.

Specified by:
toRemoteTaxonNameFullVO in interface TaxonNameDao
Overrides:
toRemoteTaxonNameFullVO in class TaxonNameDaoBase
See Also:
TaxonNameDao.toRemoteTaxonNameFullVO(fr.ifremer.allegro.referential.taxon.TaxonName)

remoteTaxonNameFullVOToEntity

public TaxonName remoteTaxonNameFullVOToEntity(RemoteTaxonNameFullVO remoteTaxonNameFullVO)
Description copied from interface: TaxonNameDao
Converts an instance of type RemoteTaxonNameFullVO to this DAO's entity.

See Also:
TaxonNameDao.remoteTaxonNameFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameFullVO)

remoteTaxonNameFullVOToEntity

public void remoteTaxonNameFullVOToEntity(RemoteTaxonNameFullVO source,
                                          TaxonName target,
                                          boolean copyIfNull)
Description copied from interface: TaxonNameDao
Copies the fields of RemoteTaxonNameFullVO to the specified entity.

Specified by:
remoteTaxonNameFullVOToEntity in interface TaxonNameDao
Overrides:
remoteTaxonNameFullVOToEntity in class TaxonNameDaoBase
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.TaxonNameDao#remoteTaxonNameFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameFullVO, fr.ifremer.allegro.referential.taxon.TaxonName)

toRemoteTaxonNameNaturalId

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

toRemoteTaxonNameNaturalId

public RemoteTaxonNameNaturalId toRemoteTaxonNameNaturalId(TaxonName entity)
Description copied from interface: TaxonNameDao
Converts this DAO's entity to an object of type RemoteTaxonNameNaturalId.

Specified by:
toRemoteTaxonNameNaturalId in interface TaxonNameDao
Overrides:
toRemoteTaxonNameNaturalId in class TaxonNameDaoBase
See Also:
TaxonNameDao.toRemoteTaxonNameNaturalId(fr.ifremer.allegro.referential.taxon.TaxonName)

remoteTaxonNameNaturalIdToEntity

public TaxonName remoteTaxonNameNaturalIdToEntity(RemoteTaxonNameNaturalId remoteTaxonNameNaturalId)
Description copied from interface: TaxonNameDao
Converts an instance of type RemoteTaxonNameNaturalId to this DAO's entity.

See Also:
TaxonNameDao.remoteTaxonNameNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameNaturalId)

remoteTaxonNameNaturalIdToEntity

public void remoteTaxonNameNaturalIdToEntity(RemoteTaxonNameNaturalId source,
                                             TaxonName target,
                                             boolean copyIfNull)
Description copied from interface: TaxonNameDao
Copies the fields of RemoteTaxonNameNaturalId to the specified entity.

Specified by:
remoteTaxonNameNaturalIdToEntity in interface TaxonNameDao
Overrides:
remoteTaxonNameNaturalIdToEntity in class TaxonNameDaoBase
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.TaxonNameDao#remoteTaxonNameNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonNameNaturalId, fr.ifremer.allegro.referential.taxon.TaxonName)

toClusterTaxonName

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

toClusterTaxonName

public ClusterTaxonName toClusterTaxonName(TaxonName entity)
Description copied from interface: TaxonNameDao
Converts this DAO's entity to an object of type ClusterTaxonName.

Specified by:
toClusterTaxonName in interface TaxonNameDao
Overrides:
toClusterTaxonName in class TaxonNameDaoBase
See Also:
TaxonNameDao.toClusterTaxonName(fr.ifremer.allegro.referential.taxon.TaxonName)

clusterTaxonNameToEntity

public TaxonName clusterTaxonNameToEntity(ClusterTaxonName clusterTaxonName)
Description copied from interface: TaxonNameDao
Converts an instance of type ClusterTaxonName to this DAO's entity.

See Also:
TaxonNameDao.clusterTaxonNameToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonName)

clusterTaxonNameToEntity

public void clusterTaxonNameToEntity(ClusterTaxonName source,
                                     TaxonName target,
                                     boolean copyIfNull)
Description copied from interface: TaxonNameDao
Copies the fields of ClusterTaxonName to the specified entity.

Specified by:
clusterTaxonNameToEntity in interface TaxonNameDao
Overrides:
clusterTaxonNameToEntity in class TaxonNameDaoBase
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.TaxonNameDao#clusterTaxonNameToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonName, fr.ifremer.allegro.referential.taxon.TaxonName)


Copyright © 2008-2010 IFREMER. All Rights Reserved.