fr.ifremer.allegro.referential.taxon
Class TaxonGroupDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.TaxonGroupDaoBase
          extended by fr.ifremer.allegro.referential.taxon.TaxonGroupDaoImpl
All Implemented Interfaces:
TaxonGroupDao

public class TaxonGroupDaoImpl
extends TaxonGroupDaoBase

See Also:
TaxonGroup

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonGroupDao
TRANSFORM_CLUSTERTAXONGROUP, TRANSFORM_NONE, TRANSFORM_REMOTETAXONGROUPFULLVO, TRANSFORM_REMOTETAXONGROUPNATURALID
 
Constructor Summary
TaxonGroupDaoImpl()
           
 
Method Summary
 TaxonGroup clusterTaxonGroupToEntity(ClusterTaxonGroup clusterTaxonGroup)
          Converts an instance of type ClusterTaxonGroup to this DAO's entity.
 void clusterTaxonGroupToEntity(ClusterTaxonGroup source, TaxonGroup target, boolean copyIfNull)
          Copies the fields of ClusterTaxonGroup to the specified entity.
protected  TaxonGroup handleCreateFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup)
          Performs the core logic for TaxonGroupDaoBase.createFromClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)
protected  ClusterTaxonGroup[] handleGetAllClusterTaxonGroupSinceDateSynchro(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 TaxonGroupDaoBase.getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 TaxonGroup remoteTaxonGroupFullVOToEntity(RemoteTaxonGroupFullVO remoteTaxonGroupFullVO)
          Converts an instance of type RemoteTaxonGroupFullVO to this DAO's entity.
 void remoteTaxonGroupFullVOToEntity(RemoteTaxonGroupFullVO source, TaxonGroup target, boolean copyIfNull)
          Copies the fields of RemoteTaxonGroupFullVO to the specified entity.
 TaxonGroup remoteTaxonGroupNaturalIdToEntity(RemoteTaxonGroupNaturalId remoteTaxonGroupNaturalId)
          Converts an instance of type RemoteTaxonGroupNaturalId to this DAO's entity.
 void remoteTaxonGroupNaturalIdToEntity(RemoteTaxonGroupNaturalId source, TaxonGroup target, boolean copyIfNull)
          Copies the fields of RemoteTaxonGroupNaturalId to the specified entity.
 ClusterTaxonGroup toClusterTaxonGroup(TaxonGroup entity)
          Converts this DAO's entity to an object of type ClusterTaxonGroup.
 void toClusterTaxonGroup(TaxonGroup source, ClusterTaxonGroup target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonGroupFullVO toRemoteTaxonGroupFullVO(TaxonGroup entity)
          Converts this DAO's entity to an object of type RemoteTaxonGroupFullVO.
 void toRemoteTaxonGroupFullVO(TaxonGroup source, RemoteTaxonGroupFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonGroupNaturalId toRemoteTaxonGroupNaturalId(TaxonGroup entity)
          Converts this DAO's entity to an object of type RemoteTaxonGroupNaturalId.
 void toRemoteTaxonGroupNaturalId(TaxonGroup source, RemoteTaxonGroupNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.taxon.TaxonGroupDaoBase
clusterTaxonGroupToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterTaxonGroup, findTaxonGroupById, findTaxonGroupById, findTaxonGroupById, findTaxonGroupById, findTaxonGroupByNaturalId, findTaxonGroupByNaturalId, findTaxonGroupByNaturalId, findTaxonGroupByNaturalId, findTaxonGroupByParentTaxonGroup, findTaxonGroupByParentTaxonGroup, findTaxonGroupByParentTaxonGroup, findTaxonGroupByParentTaxonGroup, findTaxonGroupByParentTaxonGroup, findTaxonGroupByParentTaxonGroup, findTaxonGroupByParentTaxonGroup, findTaxonGroupByParentTaxonGroup, findTaxonGroupByStatus, findTaxonGroupByStatus, findTaxonGroupByStatus, findTaxonGroupByStatus, findTaxonGroupByStatus, findTaxonGroupByStatus, findTaxonGroupByStatus, findTaxonGroupByStatus, findTaxonGroupByTaxonGroupType, findTaxonGroupByTaxonGroupType, findTaxonGroupByTaxonGroupType, findTaxonGroupByTaxonGroupType, findTaxonGroupByTaxonGroupType, findTaxonGroupByTaxonGroupType, findTaxonGroupByTaxonGroupType, findTaxonGroupByTaxonGroupType, getAllClusterTaxonGroupSinceDateSynchro, getAllTaxonGroup, getAllTaxonGroup, getAllTaxonGroup, getAllTaxonGroup, getAllTaxonGroup, getAllTaxonGroup, getAllTaxonGroup, getAllTaxonGroup, getAllTaxonGroupSinceDateSynchro, getAllTaxonGroupSinceDateSynchro, getAllTaxonGroupSinceDateSynchro, getAllTaxonGroupSinceDateSynchro, getAllTaxonGroupSinceDateSynchro, getAllTaxonGroupSinceDateSynchro, getAllTaxonGroupSinceDateSynchro, getAllTaxonGroupSinceDateSynchro, getPrincipal, getStatusDao, getTaxonGroupDao, getTaxonGroupHistoricalRecordDao, getTaxonGroupInformationDao, getTaxonGroupTypeDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteTaxonGroupFullVOToEntityCollection, remoteTaxonGroupNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setStatusDao, setTaxonGroupDao, setTaxonGroupHistoricalRecordDao, setTaxonGroupInformationDao, setTaxonGroupTypeDao, toClusterTaxonGroup, toClusterTaxonGroupArray, toClusterTaxonGroupCollection, toEntity, toRemoteTaxonGroupFullVO, toRemoteTaxonGroupFullVOArray, toRemoteTaxonGroupFullVOCollection, toRemoteTaxonGroupNaturalId, toRemoteTaxonGroupNaturalIdArray, toRemoteTaxonGroupNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxonGroupDaoImpl

public TaxonGroupDaoImpl()
Method Detail

handleCreateFromClusterTaxonGroup

protected TaxonGroup handleCreateFromClusterTaxonGroup(ClusterTaxonGroup clusterTaxonGroup)
Description copied from class: TaxonGroupDaoBase
Performs the core logic for TaxonGroupDaoBase.createFromClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)

Specified by:
handleCreateFromClusterTaxonGroup in class TaxonGroupDaoBase
See Also:
TaxonGroupDao.createFromClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)

handleGetAllClusterTaxonGroupSinceDateSynchro

protected ClusterTaxonGroup[] handleGetAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                            java.lang.Integer userId,
                                                                            java.lang.Integer[] registrationLocationIds,
                                                                            java.lang.Integer pageNumber,
                                                                            java.lang.Integer pageSize)
Description copied from class: TaxonGroupDaoBase
Performs the core logic for TaxonGroupDaoBase.getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterTaxonGroupSinceDateSynchro in class TaxonGroupDaoBase
See Also:
TaxonGroupDao.getAllClusterTaxonGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteTaxonGroupFullVO

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

toRemoteTaxonGroupFullVO

public RemoteTaxonGroupFullVO toRemoteTaxonGroupFullVO(TaxonGroup entity)
Description copied from interface: TaxonGroupDao
Converts this DAO's entity to an object of type RemoteTaxonGroupFullVO.

Specified by:
toRemoteTaxonGroupFullVO in interface TaxonGroupDao
Overrides:
toRemoteTaxonGroupFullVO in class TaxonGroupDaoBase
See Also:
TaxonGroupDao.toRemoteTaxonGroupFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroup)

remoteTaxonGroupFullVOToEntity

public TaxonGroup remoteTaxonGroupFullVOToEntity(RemoteTaxonGroupFullVO remoteTaxonGroupFullVO)
Description copied from interface: TaxonGroupDao
Converts an instance of type RemoteTaxonGroupFullVO to this DAO's entity.

See Also:
TaxonGroupDao.remoteTaxonGroupFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupFullVO)

remoteTaxonGroupFullVOToEntity

public void remoteTaxonGroupFullVOToEntity(RemoteTaxonGroupFullVO source,
                                           TaxonGroup target,
                                           boolean copyIfNull)
Description copied from interface: TaxonGroupDao
Copies the fields of RemoteTaxonGroupFullVO to the specified entity.

Specified by:
remoteTaxonGroupFullVOToEntity in interface TaxonGroupDao
Overrides:
remoteTaxonGroupFullVOToEntity in class TaxonGroupDaoBase
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.TaxonGroupDao#remoteTaxonGroupFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupFullVO, fr.ifremer.allegro.referential.taxon.TaxonGroup)

toRemoteTaxonGroupNaturalId

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

toRemoteTaxonGroupNaturalId

public RemoteTaxonGroupNaturalId toRemoteTaxonGroupNaturalId(TaxonGroup entity)
Description copied from interface: TaxonGroupDao
Converts this DAO's entity to an object of type RemoteTaxonGroupNaturalId.

Specified by:
toRemoteTaxonGroupNaturalId in interface TaxonGroupDao
Overrides:
toRemoteTaxonGroupNaturalId in class TaxonGroupDaoBase
See Also:
TaxonGroupDao.toRemoteTaxonGroupNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroup)

remoteTaxonGroupNaturalIdToEntity

public TaxonGroup remoteTaxonGroupNaturalIdToEntity(RemoteTaxonGroupNaturalId remoteTaxonGroupNaturalId)
Description copied from interface: TaxonGroupDao
Converts an instance of type RemoteTaxonGroupNaturalId to this DAO's entity.

See Also:
TaxonGroupDao.remoteTaxonGroupNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupNaturalId)

remoteTaxonGroupNaturalIdToEntity

public void remoteTaxonGroupNaturalIdToEntity(RemoteTaxonGroupNaturalId source,
                                              TaxonGroup target,
                                              boolean copyIfNull)
Description copied from interface: TaxonGroupDao
Copies the fields of RemoteTaxonGroupNaturalId to the specified entity.

Specified by:
remoteTaxonGroupNaturalIdToEntity in interface TaxonGroupDao
Overrides:
remoteTaxonGroupNaturalIdToEntity in class TaxonGroupDaoBase
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.TaxonGroupDao#remoteTaxonGroupNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupNaturalId, fr.ifremer.allegro.referential.taxon.TaxonGroup)

toClusterTaxonGroup

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

toClusterTaxonGroup

public ClusterTaxonGroup toClusterTaxonGroup(TaxonGroup entity)
Description copied from interface: TaxonGroupDao
Converts this DAO's entity to an object of type ClusterTaxonGroup.

Specified by:
toClusterTaxonGroup in interface TaxonGroupDao
Overrides:
toClusterTaxonGroup in class TaxonGroupDaoBase
See Also:
TaxonGroupDao.toClusterTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)

clusterTaxonGroupToEntity

public TaxonGroup clusterTaxonGroupToEntity(ClusterTaxonGroup clusterTaxonGroup)
Description copied from interface: TaxonGroupDao
Converts an instance of type ClusterTaxonGroup to this DAO's entity.

See Also:
TaxonGroupDao.clusterTaxonGroupToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup)

clusterTaxonGroupToEntity

public void clusterTaxonGroupToEntity(ClusterTaxonGroup source,
                                      TaxonGroup target,
                                      boolean copyIfNull)
Description copied from interface: TaxonGroupDao
Copies the fields of ClusterTaxonGroup to the specified entity.

Specified by:
clusterTaxonGroupToEntity in interface TaxonGroupDao
Overrides:
clusterTaxonGroupToEntity in class TaxonGroupDaoBase
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.TaxonGroupDao#clusterTaxonGroupToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroup, fr.ifremer.allegro.referential.taxon.TaxonGroup)


Copyright © 2008-2010 IFREMER. All Rights Reserved.