fr.ifremer.allegro.referential.taxon
Class TaxonGroupTypeDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.TaxonGroupTypeDaoBase
          extended by fr.ifremer.allegro.referential.taxon.TaxonGroupTypeDaoImpl
All Implemented Interfaces:
TaxonGroupTypeDao

public class TaxonGroupTypeDaoImpl
extends TaxonGroupTypeDaoBase

See Also:
TaxonGroupType

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonGroupTypeDao
TRANSFORM_CLUSTERTAXONGROUPTYPE, TRANSFORM_NONE, TRANSFORM_REMOTETAXONGROUPTYPEFULLVO, TRANSFORM_REMOTETAXONGROUPTYPENATURALID
 
Constructor Summary
TaxonGroupTypeDaoImpl()
           
 
Method Summary
 TaxonGroupType clusterTaxonGroupTypeToEntity(ClusterTaxonGroupType clusterTaxonGroupType)
          Converts an instance of type ClusterTaxonGroupType to this DAO's entity.
 void clusterTaxonGroupTypeToEntity(ClusterTaxonGroupType source, TaxonGroupType target, boolean copyIfNull)
          Copies the fields of ClusterTaxonGroupType to the specified entity.
protected  TaxonGroupType handleCreateFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType)
          Performs the core logic for TaxonGroupTypeDaoBase.createFromClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)
protected  ClusterTaxonGroupType[] handleGetAllClusterTaxonGroupTypeSinceDateSynchro(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 TaxonGroupTypeDaoBase.getAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 TaxonGroupType remoteTaxonGroupTypeFullVOToEntity(RemoteTaxonGroupTypeFullVO remoteTaxonGroupTypeFullVO)
          Converts an instance of type RemoteTaxonGroupTypeFullVO to this DAO's entity.
 void remoteTaxonGroupTypeFullVOToEntity(RemoteTaxonGroupTypeFullVO source, TaxonGroupType target, boolean copyIfNull)
          Copies the fields of RemoteTaxonGroupTypeFullVO to the specified entity.
 TaxonGroupType remoteTaxonGroupTypeNaturalIdToEntity(RemoteTaxonGroupTypeNaturalId remoteTaxonGroupTypeNaturalId)
          Converts an instance of type RemoteTaxonGroupTypeNaturalId to this DAO's entity.
 void remoteTaxonGroupTypeNaturalIdToEntity(RemoteTaxonGroupTypeNaturalId source, TaxonGroupType target, boolean copyIfNull)
          Copies the fields of RemoteTaxonGroupTypeNaturalId to the specified entity.
 ClusterTaxonGroupType toClusterTaxonGroupType(TaxonGroupType entity)
          Converts this DAO's entity to an object of type ClusterTaxonGroupType.
 void toClusterTaxonGroupType(TaxonGroupType source, ClusterTaxonGroupType target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonGroupTypeFullVO toRemoteTaxonGroupTypeFullVO(TaxonGroupType entity)
          Converts this DAO's entity to an object of type RemoteTaxonGroupTypeFullVO.
 void toRemoteTaxonGroupTypeFullVO(TaxonGroupType source, RemoteTaxonGroupTypeFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonGroupTypeNaturalId toRemoteTaxonGroupTypeNaturalId(TaxonGroupType entity)
          Converts this DAO's entity to an object of type RemoteTaxonGroupTypeNaturalId.
 void toRemoteTaxonGroupTypeNaturalId(TaxonGroupType source, RemoteTaxonGroupTypeNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.taxon.TaxonGroupTypeDaoBase
clusterTaxonGroupTypeToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterTaxonGroupType, findTaxonGroupTypeByCode, findTaxonGroupTypeByCode, findTaxonGroupTypeByCode, findTaxonGroupTypeByCode, findTaxonGroupTypeByNaturalId, findTaxonGroupTypeByNaturalId, findTaxonGroupTypeByNaturalId, findTaxonGroupTypeByNaturalId, getAllClusterTaxonGroupTypeSinceDateSynchro, getAllTaxonGroupType, getAllTaxonGroupType, getAllTaxonGroupType, getAllTaxonGroupType, getAllTaxonGroupType, getAllTaxonGroupType, getAllTaxonGroupType, getAllTaxonGroupType, getAllTaxonGroupTypeSinceDateSynchro, getAllTaxonGroupTypeSinceDateSynchro, getAllTaxonGroupTypeSinceDateSynchro, getAllTaxonGroupTypeSinceDateSynchro, getAllTaxonGroupTypeSinceDateSynchro, getAllTaxonGroupTypeSinceDateSynchro, getAllTaxonGroupTypeSinceDateSynchro, getAllTaxonGroupTypeSinceDateSynchro, getPrincipal, getTaxonGroupDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteTaxonGroupTypeFullVOToEntityCollection, remoteTaxonGroupTypeNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setTaxonGroupDao, toClusterTaxonGroupType, toClusterTaxonGroupTypeArray, toClusterTaxonGroupTypeCollection, toEntity, toRemoteTaxonGroupTypeFullVO, toRemoteTaxonGroupTypeFullVOArray, toRemoteTaxonGroupTypeFullVOCollection, toRemoteTaxonGroupTypeNaturalId, toRemoteTaxonGroupTypeNaturalIdArray, toRemoteTaxonGroupTypeNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxonGroupTypeDaoImpl

public TaxonGroupTypeDaoImpl()
Method Detail

handleCreateFromClusterTaxonGroupType

protected TaxonGroupType handleCreateFromClusterTaxonGroupType(ClusterTaxonGroupType clusterTaxonGroupType)
Description copied from class: TaxonGroupTypeDaoBase
Performs the core logic for TaxonGroupTypeDaoBase.createFromClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)

Specified by:
handleCreateFromClusterTaxonGroupType in class TaxonGroupTypeDaoBase
See Also:
TaxonGroupTypeDao.createFromClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)

handleGetAllClusterTaxonGroupTypeSinceDateSynchro

protected ClusterTaxonGroupType[] handleGetAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                    java.lang.Integer userId,
                                                                                    java.lang.Integer[] registrationLocationIds,
                                                                                    java.lang.Integer pageNumber,
                                                                                    java.lang.Integer pageSize)
Description copied from class: TaxonGroupTypeDaoBase
Performs the core logic for TaxonGroupTypeDaoBase.getAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterTaxonGroupTypeSinceDateSynchro in class TaxonGroupTypeDaoBase
See Also:
TaxonGroupTypeDao.getAllClusterTaxonGroupTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteTaxonGroupTypeFullVO

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

toRemoteTaxonGroupTypeFullVO

public RemoteTaxonGroupTypeFullVO toRemoteTaxonGroupTypeFullVO(TaxonGroupType entity)
Description copied from interface: TaxonGroupTypeDao
Converts this DAO's entity to an object of type RemoteTaxonGroupTypeFullVO.

Specified by:
toRemoteTaxonGroupTypeFullVO in interface TaxonGroupTypeDao
Overrides:
toRemoteTaxonGroupTypeFullVO in class TaxonGroupTypeDaoBase
See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeFullVO(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

remoteTaxonGroupTypeFullVOToEntity

public TaxonGroupType remoteTaxonGroupTypeFullVOToEntity(RemoteTaxonGroupTypeFullVO remoteTaxonGroupTypeFullVO)
Description copied from interface: TaxonGroupTypeDao
Converts an instance of type RemoteTaxonGroupTypeFullVO to this DAO's entity.

See Also:
TaxonGroupTypeDao.remoteTaxonGroupTypeFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeFullVO)

remoteTaxonGroupTypeFullVOToEntity

public void remoteTaxonGroupTypeFullVOToEntity(RemoteTaxonGroupTypeFullVO source,
                                               TaxonGroupType target,
                                               boolean copyIfNull)
Description copied from interface: TaxonGroupTypeDao
Copies the fields of RemoteTaxonGroupTypeFullVO to the specified entity.

Specified by:
remoteTaxonGroupTypeFullVOToEntity in interface TaxonGroupTypeDao
Overrides:
remoteTaxonGroupTypeFullVOToEntity in class TaxonGroupTypeDaoBase
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.TaxonGroupTypeDao#remoteTaxonGroupTypeFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeFullVO, fr.ifremer.allegro.referential.taxon.TaxonGroupType)

toRemoteTaxonGroupTypeNaturalId

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

toRemoteTaxonGroupTypeNaturalId

public RemoteTaxonGroupTypeNaturalId toRemoteTaxonGroupTypeNaturalId(TaxonGroupType entity)
Description copied from interface: TaxonGroupTypeDao
Converts this DAO's entity to an object of type RemoteTaxonGroupTypeNaturalId.

Specified by:
toRemoteTaxonGroupTypeNaturalId in interface TaxonGroupTypeDao
Overrides:
toRemoteTaxonGroupTypeNaturalId in class TaxonGroupTypeDaoBase
See Also:
TaxonGroupTypeDao.toRemoteTaxonGroupTypeNaturalId(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

remoteTaxonGroupTypeNaturalIdToEntity

public TaxonGroupType remoteTaxonGroupTypeNaturalIdToEntity(RemoteTaxonGroupTypeNaturalId remoteTaxonGroupTypeNaturalId)
Description copied from interface: TaxonGroupTypeDao
Converts an instance of type RemoteTaxonGroupTypeNaturalId to this DAO's entity.

See Also:
TaxonGroupTypeDao.remoteTaxonGroupTypeNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeNaturalId)

remoteTaxonGroupTypeNaturalIdToEntity

public void remoteTaxonGroupTypeNaturalIdToEntity(RemoteTaxonGroupTypeNaturalId source,
                                                  TaxonGroupType target,
                                                  boolean copyIfNull)
Description copied from interface: TaxonGroupTypeDao
Copies the fields of RemoteTaxonGroupTypeNaturalId to the specified entity.

Specified by:
remoteTaxonGroupTypeNaturalIdToEntity in interface TaxonGroupTypeDao
Overrides:
remoteTaxonGroupTypeNaturalIdToEntity in class TaxonGroupTypeDaoBase
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.TaxonGroupTypeDao#remoteTaxonGroupTypeNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonGroupTypeNaturalId, fr.ifremer.allegro.referential.taxon.TaxonGroupType)

toClusterTaxonGroupType

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

toClusterTaxonGroupType

public ClusterTaxonGroupType toClusterTaxonGroupType(TaxonGroupType entity)
Description copied from interface: TaxonGroupTypeDao
Converts this DAO's entity to an object of type ClusterTaxonGroupType.

Specified by:
toClusterTaxonGroupType in interface TaxonGroupTypeDao
Overrides:
toClusterTaxonGroupType in class TaxonGroupTypeDaoBase
See Also:
TaxonGroupTypeDao.toClusterTaxonGroupType(fr.ifremer.allegro.referential.taxon.TaxonGroupType)

clusterTaxonGroupTypeToEntity

public TaxonGroupType clusterTaxonGroupTypeToEntity(ClusterTaxonGroupType clusterTaxonGroupType)
Description copied from interface: TaxonGroupTypeDao
Converts an instance of type ClusterTaxonGroupType to this DAO's entity.

See Also:
TaxonGroupTypeDao.clusterTaxonGroupTypeToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType)

clusterTaxonGroupTypeToEntity

public void clusterTaxonGroupTypeToEntity(ClusterTaxonGroupType source,
                                          TaxonGroupType target,
                                          boolean copyIfNull)
Description copied from interface: TaxonGroupTypeDao
Copies the fields of ClusterTaxonGroupType to the specified entity.

Specified by:
clusterTaxonGroupTypeToEntity in interface TaxonGroupTypeDao
Overrides:
clusterTaxonGroupTypeToEntity in class TaxonGroupTypeDaoBase
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.TaxonGroupTypeDao#clusterTaxonGroupTypeToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonGroupType, fr.ifremer.allegro.referential.taxon.TaxonGroupType)


Copyright © 2008-2010 IFREMER. All Rights Reserved.