fr.ifremer.allegro.referential.taxon
Class ReferenceDocumentDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.taxon.ReferenceDocumentDaoBase
          extended by fr.ifremer.allegro.referential.taxon.ReferenceDocumentDaoImpl
All Implemented Interfaces:
ReferenceDocumentDao

public class ReferenceDocumentDaoImpl
extends ReferenceDocumentDaoBase

See Also:
ReferenceDocument

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.taxon.ReferenceDocumentDao
TRANSFORM_CLUSTERREFERENCEDOCUMENT, TRANSFORM_NONE, TRANSFORM_REMOTEREFERENCEDOCUMENTFULLVO, TRANSFORM_REMOTEREFERENCEDOCUMENTNATURALID
 
Constructor Summary
ReferenceDocumentDaoImpl()
           
 
Method Summary
 ReferenceDocument clusterReferenceDocumentToEntity(ClusterReferenceDocument clusterReferenceDocument)
          Converts an instance of type ClusterReferenceDocument to this DAO's entity.
 void clusterReferenceDocumentToEntity(ClusterReferenceDocument source, ReferenceDocument target, boolean copyIfNull)
          Copies the fields of ClusterReferenceDocument to the specified entity.
protected  ReferenceDocument handleCreateFromClusterReferenceDocument(ClusterReferenceDocument clusterReferenceDocument)
          Performs the core logic for ReferenceDocumentDaoBase.createFromClusterReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceDocument)
protected  ClusterReferenceDocument[] handleGetAllClusterReferenceDocumentSinceDateSynchro(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 ReferenceDocumentDaoBase.getAllClusterReferenceDocumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ReferenceDocument remoteReferenceDocumentFullVOToEntity(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVO)
          Converts an instance of type RemoteReferenceDocumentFullVO to this DAO's entity.
 void remoteReferenceDocumentFullVOToEntity(RemoteReferenceDocumentFullVO source, ReferenceDocument target, boolean copyIfNull)
          Copies the fields of RemoteReferenceDocumentFullVO to the specified entity.
 ReferenceDocument remoteReferenceDocumentNaturalIdToEntity(RemoteReferenceDocumentNaturalId remoteReferenceDocumentNaturalId)
          Converts an instance of type RemoteReferenceDocumentNaturalId to this DAO's entity.
 void remoteReferenceDocumentNaturalIdToEntity(RemoteReferenceDocumentNaturalId source, ReferenceDocument target, boolean copyIfNull)
          Copies the fields of RemoteReferenceDocumentNaturalId to the specified entity.
 ClusterReferenceDocument toClusterReferenceDocument(ReferenceDocument entity)
          Converts this DAO's entity to an object of type ClusterReferenceDocument.
 void toClusterReferenceDocument(ReferenceDocument source, ClusterReferenceDocument target)
          Copies the fields of the specified entity to the target value object.
 RemoteReferenceDocumentFullVO toRemoteReferenceDocumentFullVO(ReferenceDocument entity)
          Converts this DAO's entity to an object of type RemoteReferenceDocumentFullVO.
 void toRemoteReferenceDocumentFullVO(ReferenceDocument source, RemoteReferenceDocumentFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteReferenceDocumentNaturalId toRemoteReferenceDocumentNaturalId(ReferenceDocument entity)
          Converts this DAO's entity to an object of type RemoteReferenceDocumentNaturalId.
 void toRemoteReferenceDocumentNaturalId(ReferenceDocument source, RemoteReferenceDocumentNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.taxon.ReferenceDocumentDaoBase
clusterReferenceDocumentToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterReferenceDocument, findReferenceDocumentById, findReferenceDocumentById, findReferenceDocumentById, findReferenceDocumentById, findReferenceDocumentByNaturalId, findReferenceDocumentByNaturalId, findReferenceDocumentByNaturalId, findReferenceDocumentByNaturalId, findReferenceDocumentByStatus, findReferenceDocumentByStatus, findReferenceDocumentByStatus, findReferenceDocumentByStatus, findReferenceDocumentByStatus, findReferenceDocumentByStatus, findReferenceDocumentByStatus, findReferenceDocumentByStatus, getAllClusterReferenceDocumentSinceDateSynchro, getAllReferenceDocument, getAllReferenceDocument, getAllReferenceDocument, getAllReferenceDocument, getAllReferenceDocument, getAllReferenceDocument, getAllReferenceDocument, getAllReferenceDocument, getAllReferenceDocumentSinceDateSynchro, getAllReferenceDocumentSinceDateSynchro, getAllReferenceDocumentSinceDateSynchro, getAllReferenceDocumentSinceDateSynchro, getAllReferenceDocumentSinceDateSynchro, getAllReferenceDocumentSinceDateSynchro, getAllReferenceDocumentSinceDateSynchro, getAllReferenceDocumentSinceDateSynchro, getAuthorDao, getPrincipal, getStatusDao, getTaxonInformationHistoryDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteReferenceDocumentFullVOToEntityCollection, remoteReferenceDocumentNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setAuthorDao, setStatusDao, setTaxonInformationHistoryDao, toClusterReferenceDocument, toClusterReferenceDocumentArray, toClusterReferenceDocumentCollection, toEntity, toRemoteReferenceDocumentFullVO, toRemoteReferenceDocumentFullVOArray, toRemoteReferenceDocumentFullVOCollection, toRemoteReferenceDocumentNaturalId, toRemoteReferenceDocumentNaturalIdArray, toRemoteReferenceDocumentNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceDocumentDaoImpl

public ReferenceDocumentDaoImpl()
Method Detail

handleCreateFromClusterReferenceDocument

protected ReferenceDocument handleCreateFromClusterReferenceDocument(ClusterReferenceDocument clusterReferenceDocument)
Description copied from class: ReferenceDocumentDaoBase
Performs the core logic for ReferenceDocumentDaoBase.createFromClusterReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceDocument)

Specified by:
handleCreateFromClusterReferenceDocument in class ReferenceDocumentDaoBase
See Also:
ReferenceDocumentDao.createFromClusterReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceDocument)

handleGetAllClusterReferenceDocumentSinceDateSynchro

protected ClusterReferenceDocument[] handleGetAllClusterReferenceDocumentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                          java.lang.Integer userId,
                                                                                          java.lang.Integer[] registrationLocationIds,
                                                                                          java.lang.Integer pageNumber,
                                                                                          java.lang.Integer pageSize)
Description copied from class: ReferenceDocumentDaoBase
Performs the core logic for ReferenceDocumentDaoBase.getAllClusterReferenceDocumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterReferenceDocumentSinceDateSynchro in class ReferenceDocumentDaoBase
See Also:
ReferenceDocumentDao.getAllClusterReferenceDocumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteReferenceDocumentFullVO

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

toRemoteReferenceDocumentFullVO

public RemoteReferenceDocumentFullVO toRemoteReferenceDocumentFullVO(ReferenceDocument entity)
Description copied from interface: ReferenceDocumentDao
Converts this DAO's entity to an object of type RemoteReferenceDocumentFullVO.

Specified by:
toRemoteReferenceDocumentFullVO in interface ReferenceDocumentDao
Overrides:
toRemoteReferenceDocumentFullVO in class ReferenceDocumentDaoBase
See Also:
ReferenceDocumentDao.toRemoteReferenceDocumentFullVO(fr.ifremer.allegro.referential.taxon.ReferenceDocument)

remoteReferenceDocumentFullVOToEntity

public ReferenceDocument remoteReferenceDocumentFullVOToEntity(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVO)
Description copied from interface: ReferenceDocumentDao
Converts an instance of type RemoteReferenceDocumentFullVO to this DAO's entity.

See Also:
ReferenceDocumentDao.remoteReferenceDocumentFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

remoteReferenceDocumentFullVOToEntity

public void remoteReferenceDocumentFullVOToEntity(RemoteReferenceDocumentFullVO source,
                                                  ReferenceDocument target,
                                                  boolean copyIfNull)
Description copied from interface: ReferenceDocumentDao
Copies the fields of RemoteReferenceDocumentFullVO to the specified entity.

Specified by:
remoteReferenceDocumentFullVOToEntity in interface ReferenceDocumentDao
Overrides:
remoteReferenceDocumentFullVOToEntity in class ReferenceDocumentDaoBase
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.ReferenceDocumentDao#remoteReferenceDocumentFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO, fr.ifremer.allegro.referential.taxon.ReferenceDocument)

toRemoteReferenceDocumentNaturalId

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

toRemoteReferenceDocumentNaturalId

public RemoteReferenceDocumentNaturalId toRemoteReferenceDocumentNaturalId(ReferenceDocument entity)
Description copied from interface: ReferenceDocumentDao
Converts this DAO's entity to an object of type RemoteReferenceDocumentNaturalId.

Specified by:
toRemoteReferenceDocumentNaturalId in interface ReferenceDocumentDao
Overrides:
toRemoteReferenceDocumentNaturalId in class ReferenceDocumentDaoBase
See Also:
ReferenceDocumentDao.toRemoteReferenceDocumentNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceDocument)

remoteReferenceDocumentNaturalIdToEntity

public ReferenceDocument remoteReferenceDocumentNaturalIdToEntity(RemoteReferenceDocumentNaturalId remoteReferenceDocumentNaturalId)
Description copied from interface: ReferenceDocumentDao
Converts an instance of type RemoteReferenceDocumentNaturalId to this DAO's entity.

See Also:
ReferenceDocumentDao.remoteReferenceDocumentNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentNaturalId)

remoteReferenceDocumentNaturalIdToEntity

public void remoteReferenceDocumentNaturalIdToEntity(RemoteReferenceDocumentNaturalId source,
                                                     ReferenceDocument target,
                                                     boolean copyIfNull)
Description copied from interface: ReferenceDocumentDao
Copies the fields of RemoteReferenceDocumentNaturalId to the specified entity.

Specified by:
remoteReferenceDocumentNaturalIdToEntity in interface ReferenceDocumentDao
Overrides:
remoteReferenceDocumentNaturalIdToEntity in class ReferenceDocumentDaoBase
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.ReferenceDocumentDao#remoteReferenceDocumentNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentNaturalId, fr.ifremer.allegro.referential.taxon.ReferenceDocument)

toClusterReferenceDocument

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

toClusterReferenceDocument

public ClusterReferenceDocument toClusterReferenceDocument(ReferenceDocument entity)
Description copied from interface: ReferenceDocumentDao
Converts this DAO's entity to an object of type ClusterReferenceDocument.

Specified by:
toClusterReferenceDocument in interface ReferenceDocumentDao
Overrides:
toClusterReferenceDocument in class ReferenceDocumentDaoBase
See Also:
ReferenceDocumentDao.toClusterReferenceDocument(fr.ifremer.allegro.referential.taxon.ReferenceDocument)

clusterReferenceDocumentToEntity

public ReferenceDocument clusterReferenceDocumentToEntity(ClusterReferenceDocument clusterReferenceDocument)
Description copied from interface: ReferenceDocumentDao
Converts an instance of type ClusterReferenceDocument to this DAO's entity.

See Also:
ReferenceDocumentDao.clusterReferenceDocumentToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceDocument)

clusterReferenceDocumentToEntity

public void clusterReferenceDocumentToEntity(ClusterReferenceDocument source,
                                             ReferenceDocument target,
                                             boolean copyIfNull)
Description copied from interface: ReferenceDocumentDao
Copies the fields of ClusterReferenceDocument to the specified entity.

Specified by:
clusterReferenceDocumentToEntity in interface ReferenceDocumentDao
Overrides:
clusterReferenceDocumentToEntity in class ReferenceDocumentDaoBase
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.ReferenceDocumentDao#clusterReferenceDocumentToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceDocument, fr.ifremer.allegro.referential.taxon.ReferenceDocument)


Copyright © 2008-2010 IFREMER. All Rights Reserved.