fr.ifremer.allegro.referential.taxon
Class CitationDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.CitationDaoBase
          extended by fr.ifremer.allegro.referential.taxon.CitationDaoImpl
All Implemented Interfaces:
CitationDao

public class CitationDaoImpl
extends CitationDaoBase

See Also:
Citation

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.CitationDao
TRANSFORM_CLUSTERCITATION, TRANSFORM_NONE, TRANSFORM_REMOTECITATIONFULLVO, TRANSFORM_REMOTECITATIONNATURALID
 
Constructor Summary
CitationDaoImpl()
           
 
Method Summary
 Citation clusterCitationToEntity(ClusterCitation clusterCitation)
          Converts an instance of type ClusterCitation to this DAO's entity.
 void clusterCitationToEntity(ClusterCitation source, Citation target, boolean copyIfNull)
          Copies the fields of ClusterCitation to the specified entity.
protected  Citation handleCreateFromClusterCitation(ClusterCitation clusterCitation)
          Performs the core logic for CitationDaoBase.createFromClusterCitation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterCitation)
protected  ClusterCitation[] handleGetAllClusterCitationSinceDateSynchro(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 CitationDaoBase.getAllClusterCitationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Citation remoteCitationFullVOToEntity(RemoteCitationFullVO remoteCitationFullVO)
          Converts an instance of type RemoteCitationFullVO to this DAO's entity.
 void remoteCitationFullVOToEntity(RemoteCitationFullVO source, Citation target, boolean copyIfNull)
          Copies the fields of RemoteCitationFullVO to the specified entity.
 Citation remoteCitationNaturalIdToEntity(RemoteCitationNaturalId remoteCitationNaturalId)
          Converts an instance of type RemoteCitationNaturalId to this DAO's entity.
 void remoteCitationNaturalIdToEntity(RemoteCitationNaturalId source, Citation target, boolean copyIfNull)
          Copies the fields of RemoteCitationNaturalId to the specified entity.
 ClusterCitation toClusterCitation(Citation entity)
          Converts this DAO's entity to an object of type ClusterCitation.
 void toClusterCitation(Citation source, ClusterCitation target)
          Copies the fields of the specified entity to the target value object.
 RemoteCitationFullVO toRemoteCitationFullVO(Citation entity)
          Converts this DAO's entity to an object of type RemoteCitationFullVO.
 void toRemoteCitationFullVO(Citation source, RemoteCitationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteCitationNaturalId toRemoteCitationNaturalId(Citation entity)
          Converts this DAO's entity to an object of type RemoteCitationNaturalId.
 void toRemoteCitationNaturalId(Citation source, RemoteCitationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.taxon.CitationDaoBase
clusterCitationToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterCitation, findCitationById, findCitationById, findCitationById, findCitationById, findCitationByNaturalId, findCitationByNaturalId, findCitationByNaturalId, findCitationByNaturalId, findCitationByStatus, findCitationByStatus, findCitationByStatus, findCitationByStatus, findCitationByStatus, findCitationByStatus, findCitationByStatus, findCitationByStatus, getAllCitation, getAllCitation, getAllCitation, getAllCitation, getAllCitation, getAllCitation, getAllCitation, getAllCitation, getAllCitationSinceDateSynchro, getAllCitationSinceDateSynchro, getAllCitationSinceDateSynchro, getAllCitationSinceDateSynchro, getAllCitationSinceDateSynchro, getAllCitationSinceDateSynchro, getAllCitationSinceDateSynchro, getAllCitationSinceDateSynchro, getAllClusterCitationSinceDateSynchro, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteCitationFullVOToEntityCollection, remoteCitationNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setStatusDao, toClusterCitation, toClusterCitationArray, toClusterCitationCollection, toEntity, toRemoteCitationFullVO, toRemoteCitationFullVOArray, toRemoteCitationFullVOCollection, toRemoteCitationNaturalId, toRemoteCitationNaturalIdArray, toRemoteCitationNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CitationDaoImpl

public CitationDaoImpl()
Method Detail

handleCreateFromClusterCitation

protected Citation handleCreateFromClusterCitation(ClusterCitation clusterCitation)
Description copied from class: CitationDaoBase
Performs the core logic for CitationDaoBase.createFromClusterCitation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterCitation)

Specified by:
handleCreateFromClusterCitation in class CitationDaoBase
See Also:
CitationDao.createFromClusterCitation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterCitation)

handleGetAllClusterCitationSinceDateSynchro

protected ClusterCitation[] handleGetAllClusterCitationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                        java.lang.Integer userId,
                                                                        java.lang.Integer[] registrationLocationIds,
                                                                        java.lang.Integer pageNumber,
                                                                        java.lang.Integer pageSize)
Description copied from class: CitationDaoBase
Performs the core logic for CitationDaoBase.getAllClusterCitationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterCitationSinceDateSynchro in class CitationDaoBase
See Also:
CitationDao.getAllClusterCitationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteCitationFullVO

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

toRemoteCitationFullVO

public RemoteCitationFullVO toRemoteCitationFullVO(Citation entity)
Description copied from interface: CitationDao
Converts this DAO's entity to an object of type RemoteCitationFullVO.

Specified by:
toRemoteCitationFullVO in interface CitationDao
Overrides:
toRemoteCitationFullVO in class CitationDaoBase
See Also:
CitationDao.toRemoteCitationFullVO(fr.ifremer.allegro.referential.taxon.Citation)

remoteCitationFullVOToEntity

public Citation remoteCitationFullVOToEntity(RemoteCitationFullVO remoteCitationFullVO)
Description copied from interface: CitationDao
Converts an instance of type RemoteCitationFullVO to this DAO's entity.

See Also:
CitationDao.remoteCitationFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteCitationFullVO)

remoteCitationFullVOToEntity

public void remoteCitationFullVOToEntity(RemoteCitationFullVO source,
                                         Citation target,
                                         boolean copyIfNull)
Description copied from interface: CitationDao
Copies the fields of RemoteCitationFullVO to the specified entity.

Specified by:
remoteCitationFullVOToEntity in interface CitationDao
Overrides:
remoteCitationFullVOToEntity in class CitationDaoBase
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.CitationDao#remoteCitationFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteCitationFullVO, fr.ifremer.allegro.referential.taxon.Citation)

toRemoteCitationNaturalId

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

toRemoteCitationNaturalId

public RemoteCitationNaturalId toRemoteCitationNaturalId(Citation entity)
Description copied from interface: CitationDao
Converts this DAO's entity to an object of type RemoteCitationNaturalId.

Specified by:
toRemoteCitationNaturalId in interface CitationDao
Overrides:
toRemoteCitationNaturalId in class CitationDaoBase
See Also:
CitationDao.toRemoteCitationNaturalId(fr.ifremer.allegro.referential.taxon.Citation)

remoteCitationNaturalIdToEntity

public Citation remoteCitationNaturalIdToEntity(RemoteCitationNaturalId remoteCitationNaturalId)
Description copied from interface: CitationDao
Converts an instance of type RemoteCitationNaturalId to this DAO's entity.

See Also:
CitationDao.remoteCitationNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteCitationNaturalId)

remoteCitationNaturalIdToEntity

public void remoteCitationNaturalIdToEntity(RemoteCitationNaturalId source,
                                            Citation target,
                                            boolean copyIfNull)
Description copied from interface: CitationDao
Copies the fields of RemoteCitationNaturalId to the specified entity.

Specified by:
remoteCitationNaturalIdToEntity in interface CitationDao
Overrides:
remoteCitationNaturalIdToEntity in class CitationDaoBase
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.CitationDao#remoteCitationNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteCitationNaturalId, fr.ifremer.allegro.referential.taxon.Citation)

toClusterCitation

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

toClusterCitation

public ClusterCitation toClusterCitation(Citation entity)
Description copied from interface: CitationDao
Converts this DAO's entity to an object of type ClusterCitation.

Specified by:
toClusterCitation in interface CitationDao
Overrides:
toClusterCitation in class CitationDaoBase
See Also:
CitationDao.toClusterCitation(fr.ifremer.allegro.referential.taxon.Citation)

clusterCitationToEntity

public Citation clusterCitationToEntity(ClusterCitation clusterCitation)
Description copied from interface: CitationDao
Converts an instance of type ClusterCitation to this DAO's entity.

See Also:
CitationDao.clusterCitationToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterCitation)

clusterCitationToEntity

public void clusterCitationToEntity(ClusterCitation source,
                                    Citation target,
                                    boolean copyIfNull)
Description copied from interface: CitationDao
Copies the fields of ClusterCitation to the specified entity.

Specified by:
clusterCitationToEntity in interface CitationDao
Overrides:
clusterCitationToEntity in class CitationDaoBase
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.CitationDao#clusterCitationToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterCitation, fr.ifremer.allegro.referential.taxon.Citation)


Copyright © 2008-2010 IFREMER. All Rights Reserved.