fr.ifremer.allegro.referential.taxon
Class TaxonInformationDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.TaxonInformationDaoBase
          extended by fr.ifremer.allegro.referential.taxon.TaxonInformationDaoImpl
All Implemented Interfaces:
TaxonInformationDao

public class TaxonInformationDaoImpl
extends TaxonInformationDaoBase

See Also:
TaxonInformation

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.TaxonInformationDao
TRANSFORM_CLUSTERTAXONINFORMATION, TRANSFORM_NONE, TRANSFORM_REMOTETAXONINFORMATIONFULLVO, TRANSFORM_REMOTETAXONINFORMATIONNATURALID
 
Constructor Summary
TaxonInformationDaoImpl()
           
 
Method Summary
 TaxonInformation clusterTaxonInformationToEntity(ClusterTaxonInformation clusterTaxonInformation)
          Converts an instance of type ClusterTaxonInformation to this DAO's entity.
 void clusterTaxonInformationToEntity(ClusterTaxonInformation source, TaxonInformation target, boolean copyIfNull)
          Copies the fields of ClusterTaxonInformation to the specified entity.
protected  TaxonInformation handleCreateFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
          Performs the core logic for TaxonInformationDaoBase.createFromClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)
protected  ClusterTaxonInformation[] handleGetAllClusterTaxonInformationSinceDateSynchro(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 TaxonInformationDaoBase.getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 TaxonInformation remoteTaxonInformationFullVOToEntity(RemoteTaxonInformationFullVO remoteTaxonInformationFullVO)
          Converts an instance of type RemoteTaxonInformationFullVO to this DAO's entity.
 void remoteTaxonInformationFullVOToEntity(RemoteTaxonInformationFullVO source, TaxonInformation target, boolean copyIfNull)
          Copies the fields of RemoteTaxonInformationFullVO to the specified entity.
 TaxonInformation remoteTaxonInformationNaturalIdToEntity(RemoteTaxonInformationNaturalId remoteTaxonInformationNaturalId)
          Converts an instance of type RemoteTaxonInformationNaturalId to this DAO's entity.
 void remoteTaxonInformationNaturalIdToEntity(RemoteTaxonInformationNaturalId source, TaxonInformation target, boolean copyIfNull)
          Copies the fields of RemoteTaxonInformationNaturalId to the specified entity.
 ClusterTaxonInformation toClusterTaxonInformation(TaxonInformation entity)
          Converts this DAO's entity to an object of type ClusterTaxonInformation.
 void toClusterTaxonInformation(TaxonInformation source, ClusterTaxonInformation target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonInformationFullVO toRemoteTaxonInformationFullVO(TaxonInformation entity)
          Converts this DAO's entity to an object of type RemoteTaxonInformationFullVO.
 void toRemoteTaxonInformationFullVO(TaxonInformation source, RemoteTaxonInformationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTaxonInformationNaturalId toRemoteTaxonInformationNaturalId(TaxonInformation entity)
          Converts this DAO's entity to an object of type RemoteTaxonInformationNaturalId.
 void toRemoteTaxonInformationNaturalId(TaxonInformation source, RemoteTaxonInformationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.taxon.TaxonInformationDaoBase
clusterTaxonInformationToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterTaxonInformation, findTaxonInformationByIdentifiers, findTaxonInformationByIdentifiers, findTaxonInformationByIdentifiers, findTaxonInformationByIdentifiers, findTaxonInformationByNaturalId, findTaxonInformationByNaturalId, findTaxonInformationByNaturalId, findTaxonInformationByNaturalId, findTaxonInformationByReferenceDocument, findTaxonInformationByReferenceDocument, findTaxonInformationByReferenceDocument, findTaxonInformationByReferenceDocument, findTaxonInformationByReferenceDocument, findTaxonInformationByReferenceDocument, findTaxonInformationByReferenceDocument, findTaxonInformationByReferenceDocument, findTaxonInformationByTaxonName, findTaxonInformationByTaxonName, findTaxonInformationByTaxonName, findTaxonInformationByTaxonName, findTaxonInformationByTaxonName, findTaxonInformationByTaxonName, findTaxonInformationByTaxonName, findTaxonInformationByTaxonName, getAllClusterTaxonInformationSinceDateSynchro, getAllTaxonInformation, getAllTaxonInformation, getAllTaxonInformation, getAllTaxonInformation, getAllTaxonInformation, getAllTaxonInformation, getAllTaxonInformation, getAllTaxonInformation, getAllTaxonInformationSinceDateSynchro, getAllTaxonInformationSinceDateSynchro, getAllTaxonInformationSinceDateSynchro, getAllTaxonInformationSinceDateSynchro, getAllTaxonInformationSinceDateSynchro, getAllTaxonInformationSinceDateSynchro, getAllTaxonInformationSinceDateSynchro, getAllTaxonInformationSinceDateSynchro, getPrincipal, getReferenceDocumentDao, getTaxonNameDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteTaxonInformationFullVOToEntityCollection, remoteTaxonInformationNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setReferenceDocumentDao, setTaxonNameDao, toClusterTaxonInformation, toClusterTaxonInformationArray, toClusterTaxonInformationCollection, toEntity, toRemoteTaxonInformationFullVO, toRemoteTaxonInformationFullVOArray, toRemoteTaxonInformationFullVOCollection, toRemoteTaxonInformationNaturalId, toRemoteTaxonInformationNaturalIdArray, toRemoteTaxonInformationNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxonInformationDaoImpl

public TaxonInformationDaoImpl()
Method Detail

handleCreateFromClusterTaxonInformation

protected TaxonInformation handleCreateFromClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
Description copied from class: TaxonInformationDaoBase
Performs the core logic for TaxonInformationDaoBase.createFromClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)

Specified by:
handleCreateFromClusterTaxonInformation in class TaxonInformationDaoBase
See Also:
TaxonInformationDao.createFromClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)

handleGetAllClusterTaxonInformationSinceDateSynchro

protected ClusterTaxonInformation[] handleGetAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                        java.lang.Integer userId,
                                                                                        java.lang.Integer[] registrationLocationIds,
                                                                                        java.lang.Integer pageNumber,
                                                                                        java.lang.Integer pageSize)
Description copied from class: TaxonInformationDaoBase
Performs the core logic for TaxonInformationDaoBase.getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterTaxonInformationSinceDateSynchro in class TaxonInformationDaoBase
See Also:
TaxonInformationDao.getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteTaxonInformationFullVO

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

toRemoteTaxonInformationFullVO

public RemoteTaxonInformationFullVO toRemoteTaxonInformationFullVO(TaxonInformation entity)
Description copied from interface: TaxonInformationDao
Converts this DAO's entity to an object of type RemoteTaxonInformationFullVO.

Specified by:
toRemoteTaxonInformationFullVO in interface TaxonInformationDao
Overrides:
toRemoteTaxonInformationFullVO in class TaxonInformationDaoBase
See Also:
TaxonInformationDao.toRemoteTaxonInformationFullVO(fr.ifremer.allegro.referential.taxon.TaxonInformation)

remoteTaxonInformationFullVOToEntity

public TaxonInformation remoteTaxonInformationFullVOToEntity(RemoteTaxonInformationFullVO remoteTaxonInformationFullVO)
Description copied from interface: TaxonInformationDao
Converts an instance of type RemoteTaxonInformationFullVO to this DAO's entity.

See Also:
TaxonInformationDao.remoteTaxonInformationFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

remoteTaxonInformationFullVOToEntity

public void remoteTaxonInformationFullVOToEntity(RemoteTaxonInformationFullVO source,
                                                 TaxonInformation target,
                                                 boolean copyIfNull)
Description copied from interface: TaxonInformationDao
Copies the fields of RemoteTaxonInformationFullVO to the specified entity.

Specified by:
remoteTaxonInformationFullVOToEntity in interface TaxonInformationDao
Overrides:
remoteTaxonInformationFullVOToEntity in class TaxonInformationDaoBase
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.TaxonInformationDao#remoteTaxonInformationFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO, fr.ifremer.allegro.referential.taxon.TaxonInformation)

toRemoteTaxonInformationNaturalId

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

toRemoteTaxonInformationNaturalId

public RemoteTaxonInformationNaturalId toRemoteTaxonInformationNaturalId(TaxonInformation entity)
Description copied from interface: TaxonInformationDao
Converts this DAO's entity to an object of type RemoteTaxonInformationNaturalId.

Specified by:
toRemoteTaxonInformationNaturalId in interface TaxonInformationDao
Overrides:
toRemoteTaxonInformationNaturalId in class TaxonInformationDaoBase
See Also:
TaxonInformationDao.toRemoteTaxonInformationNaturalId(fr.ifremer.allegro.referential.taxon.TaxonInformation)

remoteTaxonInformationNaturalIdToEntity

public TaxonInformation remoteTaxonInformationNaturalIdToEntity(RemoteTaxonInformationNaturalId remoteTaxonInformationNaturalId)
Description copied from interface: TaxonInformationDao
Converts an instance of type RemoteTaxonInformationNaturalId to this DAO's entity.

See Also:
TaxonInformationDao.remoteTaxonInformationNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationNaturalId)

remoteTaxonInformationNaturalIdToEntity

public void remoteTaxonInformationNaturalIdToEntity(RemoteTaxonInformationNaturalId source,
                                                    TaxonInformation target,
                                                    boolean copyIfNull)
Description copied from interface: TaxonInformationDao
Copies the fields of RemoteTaxonInformationNaturalId to the specified entity.

Specified by:
remoteTaxonInformationNaturalIdToEntity in interface TaxonInformationDao
Overrides:
remoteTaxonInformationNaturalIdToEntity in class TaxonInformationDaoBase
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.TaxonInformationDao#remoteTaxonInformationNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationNaturalId, fr.ifremer.allegro.referential.taxon.TaxonInformation)

toClusterTaxonInformation

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

toClusterTaxonInformation

public ClusterTaxonInformation toClusterTaxonInformation(TaxonInformation entity)
Description copied from interface: TaxonInformationDao
Converts this DAO's entity to an object of type ClusterTaxonInformation.

Specified by:
toClusterTaxonInformation in interface TaxonInformationDao
Overrides:
toClusterTaxonInformation in class TaxonInformationDaoBase
See Also:
TaxonInformationDao.toClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.TaxonInformation)

clusterTaxonInformationToEntity

public TaxonInformation clusterTaxonInformationToEntity(ClusterTaxonInformation clusterTaxonInformation)
Description copied from interface: TaxonInformationDao
Converts an instance of type ClusterTaxonInformation to this DAO's entity.

See Also:
TaxonInformationDao.clusterTaxonInformationToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)

clusterTaxonInformationToEntity

public void clusterTaxonInformationToEntity(ClusterTaxonInformation source,
                                            TaxonInformation target,
                                            boolean copyIfNull)
Description copied from interface: TaxonInformationDao
Copies the fields of ClusterTaxonInformation to the specified entity.

Specified by:
clusterTaxonInformationToEntity in interface TaxonInformationDao
Overrides:
clusterTaxonInformationToEntity in class TaxonInformationDaoBase
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.TaxonInformationDao#clusterTaxonInformationToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation, fr.ifremer.allegro.referential.taxon.TaxonInformation)


Copyright © 2008-2010 IFREMER. All Rights Reserved.