fr.ifremer.allegro.referential.pmfm
Class PmfmDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.pmfm.PmfmDaoBase
          extended by fr.ifremer.allegro.referential.pmfm.PmfmDaoImpl
All Implemented Interfaces:
PmfmDao

public class PmfmDaoImpl
extends PmfmDaoBase

See Also:
Pmfm

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.PmfmDao
TRANSFORM_CLUSTERPMFM, TRANSFORM_NONE, TRANSFORM_REMOTEPMFMFULLVO, TRANSFORM_REMOTEPMFMNATURALID
 
Constructor Summary
PmfmDaoImpl()
           
 
Method Summary
 Pmfm clusterPmfmToEntity(ClusterPmfm clusterPmfm)
          Converts an instance of type ClusterPmfm to this DAO's entity.
 void clusterPmfmToEntity(ClusterPmfm source, Pmfm target, boolean copyIfNull)
          Copies the fields of ClusterPmfm to the specified entity.
protected  Pmfm handleCreateFromClusterPmfm(ClusterPmfm clusterPmfm)
          Performs the core logic for PmfmDaoBase.createFromClusterPmfm(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterPmfm)
protected  ClusterPmfm[] handleGetAllClusterPmfmSinceDateSynchro(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 PmfmDaoBase.getAllClusterPmfmSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Pmfm remotePmfmFullVOToEntity(RemotePmfmFullVO remotePmfmFullVO)
          Converts an instance of type RemotePmfmFullVO to this DAO's entity.
 void remotePmfmFullVOToEntity(RemotePmfmFullVO source, Pmfm target, boolean copyIfNull)
          Copies the fields of RemotePmfmFullVO to the specified entity.
 Pmfm remotePmfmNaturalIdToEntity(RemotePmfmNaturalId remotePmfmNaturalId)
          Converts an instance of type RemotePmfmNaturalId to this DAO's entity.
 void remotePmfmNaturalIdToEntity(RemotePmfmNaturalId source, Pmfm target, boolean copyIfNull)
          Copies the fields of RemotePmfmNaturalId to the specified entity.
 ClusterPmfm toClusterPmfm(Pmfm entity)
          Converts this DAO's entity to an object of type ClusterPmfm.
 void toClusterPmfm(Pmfm source, ClusterPmfm target)
          Copies the fields of the specified entity to the target value object.
 RemotePmfmFullVO toRemotePmfmFullVO(Pmfm entity)
          Converts this DAO's entity to an object of type RemotePmfmFullVO.
 void toRemotePmfmFullVO(Pmfm source, RemotePmfmFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemotePmfmNaturalId toRemotePmfmNaturalId(Pmfm entity)
          Converts this DAO's entity to an object of type RemotePmfmNaturalId.
 void toRemotePmfmNaturalId(Pmfm source, RemotePmfmNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.pmfm.PmfmDaoBase
clusterPmfmToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterPmfm, findPmfmByAggregationLevel, findPmfmByAggregationLevel, findPmfmByAggregationLevel, findPmfmByAggregationLevel, findPmfmByAggregationLevel, findPmfmByAggregationLevel, findPmfmByAggregationLevel, findPmfmByAggregationLevel, findPmfmByFraction, findPmfmByFraction, findPmfmByFraction, findPmfmByFraction, findPmfmByFraction, findPmfmByFraction, findPmfmByFraction, findPmfmByFraction, findPmfmById, findPmfmById, findPmfmById, findPmfmById, findPmfmByMatrix, findPmfmByMatrix, findPmfmByMatrix, findPmfmByMatrix, findPmfmByMatrix, findPmfmByMatrix, findPmfmByMatrix, findPmfmByMatrix, findPmfmByMethod, findPmfmByMethod, findPmfmByMethod, findPmfmByMethod, findPmfmByMethod, findPmfmByMethod, findPmfmByMethod, findPmfmByMethod, findPmfmByNaturalId, findPmfmByNaturalId, findPmfmByNaturalId, findPmfmByNaturalId, findPmfmByParameter, findPmfmByParameter, findPmfmByParameter, findPmfmByParameter, findPmfmByParameter, findPmfmByParameter, findPmfmByParameter, findPmfmByParameter, findPmfmByStatus, findPmfmByStatus, findPmfmByStatus, findPmfmByStatus, findPmfmByStatus, findPmfmByStatus, findPmfmByStatus, findPmfmByStatus, findPmfmByUnit, findPmfmByUnit, findPmfmByUnit, findPmfmByUnit, findPmfmByUnit, findPmfmByUnit, findPmfmByUnit, findPmfmByUnit, getAggregationLevelDao, getAllClusterPmfmSinceDateSynchro, getAllPmfm, getAllPmfm, getAllPmfm, getAllPmfm, getAllPmfm, getAllPmfm, getAllPmfm, getAllPmfm, getAllPmfmSinceDateSynchro, getAllPmfmSinceDateSynchro, getAllPmfmSinceDateSynchro, getAllPmfmSinceDateSynchro, getAllPmfmSinceDateSynchro, getAllPmfmSinceDateSynchro, getAllPmfmSinceDateSynchro, getAllPmfmSinceDateSynchro, getFractionDao, getMatrixDao, getMethodDao, getParameterDao, getPrincipal, getQualitativeValueDao, getStatusDao, getUnitDao, load, load, loadAll, loadAll, loadAll, loadAll, remotePmfmFullVOToEntityCollection, remotePmfmNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setAggregationLevelDao, setFractionDao, setMatrixDao, setMethodDao, setParameterDao, setQualitativeValueDao, setStatusDao, setUnitDao, toClusterPmfm, toClusterPmfmArray, toClusterPmfmCollection, toEntity, toRemotePmfmFullVO, toRemotePmfmFullVOArray, toRemotePmfmFullVOCollection, toRemotePmfmNaturalId, toRemotePmfmNaturalIdArray, toRemotePmfmNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmfmDaoImpl

public PmfmDaoImpl()
Method Detail

handleCreateFromClusterPmfm

protected Pmfm handleCreateFromClusterPmfm(ClusterPmfm clusterPmfm)
Description copied from class: PmfmDaoBase
Performs the core logic for PmfmDaoBase.createFromClusterPmfm(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterPmfm)

Specified by:
handleCreateFromClusterPmfm in class PmfmDaoBase
See Also:
PmfmDao.createFromClusterPmfm(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterPmfm)

handleGetAllClusterPmfmSinceDateSynchro

protected ClusterPmfm[] handleGetAllClusterPmfmSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                java.lang.Integer userId,
                                                                java.lang.Integer[] registrationLocationIds,
                                                                java.lang.Integer pageNumber,
                                                                java.lang.Integer pageSize)
Description copied from class: PmfmDaoBase
Performs the core logic for PmfmDaoBase.getAllClusterPmfmSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterPmfmSinceDateSynchro in class PmfmDaoBase
See Also:
PmfmDao.getAllClusterPmfmSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemotePmfmFullVO

public void toRemotePmfmFullVO(Pmfm source,
                               RemotePmfmFullVO target)
Description copied from interface: PmfmDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemotePmfmFullVO(), 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:
toRemotePmfmFullVO in interface PmfmDao
Overrides:
toRemotePmfmFullVO in class PmfmDaoBase
See Also:
PmfmDao.toRemotePmfmFullVO(fr.ifremer.allegro.referential.pmfm.Pmfm, fr.ifremer.allegro.referential.pmfm.generic.vo.RemotePmfmFullVO)

toRemotePmfmFullVO

public RemotePmfmFullVO toRemotePmfmFullVO(Pmfm entity)
Description copied from interface: PmfmDao
Converts this DAO's entity to an object of type RemotePmfmFullVO.

Specified by:
toRemotePmfmFullVO in interface PmfmDao
Overrides:
toRemotePmfmFullVO in class PmfmDaoBase
See Also:
PmfmDao.toRemotePmfmFullVO(fr.ifremer.allegro.referential.pmfm.Pmfm)

remotePmfmFullVOToEntity

public Pmfm remotePmfmFullVOToEntity(RemotePmfmFullVO remotePmfmFullVO)
Description copied from interface: PmfmDao
Converts an instance of type RemotePmfmFullVO to this DAO's entity.

See Also:
PmfmDao.remotePmfmFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemotePmfmFullVO)

remotePmfmFullVOToEntity

public void remotePmfmFullVOToEntity(RemotePmfmFullVO source,
                                     Pmfm target,
                                     boolean copyIfNull)
Description copied from interface: PmfmDao
Copies the fields of RemotePmfmFullVO to the specified entity.

Specified by:
remotePmfmFullVOToEntity in interface PmfmDao
Overrides:
remotePmfmFullVOToEntity in class PmfmDaoBase
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.pmfm.PmfmDao#remotePmfmFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemotePmfmFullVO, fr.ifremer.allegro.referential.pmfm.Pmfm)

toRemotePmfmNaturalId

public void toRemotePmfmNaturalId(Pmfm source,
                                  RemotePmfmNaturalId target)
Description copied from interface: PmfmDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemotePmfmNaturalId(), 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:
toRemotePmfmNaturalId in interface PmfmDao
Overrides:
toRemotePmfmNaturalId in class PmfmDaoBase
See Also:
PmfmDao.toRemotePmfmNaturalId(fr.ifremer.allegro.referential.pmfm.Pmfm, fr.ifremer.allegro.referential.pmfm.generic.vo.RemotePmfmNaturalId)

toRemotePmfmNaturalId

public RemotePmfmNaturalId toRemotePmfmNaturalId(Pmfm entity)
Description copied from interface: PmfmDao
Converts this DAO's entity to an object of type RemotePmfmNaturalId.

Specified by:
toRemotePmfmNaturalId in interface PmfmDao
Overrides:
toRemotePmfmNaturalId in class PmfmDaoBase
See Also:
PmfmDao.toRemotePmfmNaturalId(fr.ifremer.allegro.referential.pmfm.Pmfm)

remotePmfmNaturalIdToEntity

public Pmfm remotePmfmNaturalIdToEntity(RemotePmfmNaturalId remotePmfmNaturalId)
Description copied from interface: PmfmDao
Converts an instance of type RemotePmfmNaturalId to this DAO's entity.

See Also:
PmfmDao.remotePmfmNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemotePmfmNaturalId)

remotePmfmNaturalIdToEntity

public void remotePmfmNaturalIdToEntity(RemotePmfmNaturalId source,
                                        Pmfm target,
                                        boolean copyIfNull)
Description copied from interface: PmfmDao
Copies the fields of RemotePmfmNaturalId to the specified entity.

Specified by:
remotePmfmNaturalIdToEntity in interface PmfmDao
Overrides:
remotePmfmNaturalIdToEntity in class PmfmDaoBase
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.pmfm.PmfmDao#remotePmfmNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemotePmfmNaturalId, fr.ifremer.allegro.referential.pmfm.Pmfm)

toClusterPmfm

public void toClusterPmfm(Pmfm source,
                          ClusterPmfm target)
Description copied from interface: PmfmDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterPmfm(), 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:
toClusterPmfm in interface PmfmDao
Overrides:
toClusterPmfm in class PmfmDaoBase
See Also:
PmfmDao.toClusterPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterPmfm)

toClusterPmfm

public ClusterPmfm toClusterPmfm(Pmfm entity)
Description copied from interface: PmfmDao
Converts this DAO's entity to an object of type ClusterPmfm.

Specified by:
toClusterPmfm in interface PmfmDao
Overrides:
toClusterPmfm in class PmfmDaoBase
See Also:
PmfmDao.toClusterPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm)

clusterPmfmToEntity

public Pmfm clusterPmfmToEntity(ClusterPmfm clusterPmfm)
Description copied from interface: PmfmDao
Converts an instance of type ClusterPmfm to this DAO's entity.

See Also:
PmfmDao.clusterPmfmToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterPmfm)

clusterPmfmToEntity

public void clusterPmfmToEntity(ClusterPmfm source,
                                Pmfm target,
                                boolean copyIfNull)
Description copied from interface: PmfmDao
Copies the fields of ClusterPmfm to the specified entity.

Specified by:
clusterPmfmToEntity in interface PmfmDao
Overrides:
clusterPmfmToEntity in class PmfmDaoBase
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.pmfm.PmfmDao#clusterPmfmToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterPmfm, fr.ifremer.allegro.referential.pmfm.Pmfm)


Copyright © 2008-2010 IFREMER. All Rights Reserved.