fr.ifremer.allegro.referential.pmfm
Class ParameterDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.pmfm.ParameterDaoBase
          extended by fr.ifremer.allegro.referential.pmfm.ParameterDaoImpl
All Implemented Interfaces:
ParameterDao

public class ParameterDaoImpl
extends ParameterDaoBase

See Also:
Parameter

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.ParameterDao
TRANSFORM_CLUSTERPARAMETER, TRANSFORM_NONE, TRANSFORM_REMOTEPARAMETERFULLVO, TRANSFORM_REMOTEPARAMETERNATURALID
 
Constructor Summary
ParameterDaoImpl()
           
 
Method Summary
 Parameter clusterParameterToEntity(ClusterParameter clusterParameter)
          Converts an instance of type ClusterParameter to this DAO's entity.
 void clusterParameterToEntity(ClusterParameter source, Parameter target, boolean copyIfNull)
          Copies the fields of ClusterParameter to the specified entity.
protected  Parameter handleCreateFromClusterParameter(ClusterParameter clusterParameter)
          Performs the core logic for ParameterDaoBase.createFromClusterParameter(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter)
protected  ClusterParameter[] handleGetAllClusterParameterSinceDateSynchro(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 ParameterDaoBase.getAllClusterParameterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Parameter remoteParameterFullVOToEntity(RemoteParameterFullVO remoteParameterFullVO)
          Converts an instance of type RemoteParameterFullVO to this DAO's entity.
 void remoteParameterFullVOToEntity(RemoteParameterFullVO source, Parameter target, boolean copyIfNull)
          Copies the fields of RemoteParameterFullVO to the specified entity.
 Parameter remoteParameterNaturalIdToEntity(RemoteParameterNaturalId remoteParameterNaturalId)
          Converts an instance of type RemoteParameterNaturalId to this DAO's entity.
 void remoteParameterNaturalIdToEntity(RemoteParameterNaturalId source, Parameter target, boolean copyIfNull)
          Copies the fields of RemoteParameterNaturalId to the specified entity.
 ClusterParameter toClusterParameter(Parameter entity)
          Converts this DAO's entity to an object of type ClusterParameter.
 void toClusterParameter(Parameter source, ClusterParameter target)
          Copies the fields of the specified entity to the target value object.
 RemoteParameterFullVO toRemoteParameterFullVO(Parameter entity)
          Converts this DAO's entity to an object of type RemoteParameterFullVO.
 void toRemoteParameterFullVO(Parameter source, RemoteParameterFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteParameterNaturalId toRemoteParameterNaturalId(Parameter entity)
          Converts this DAO's entity to an object of type RemoteParameterNaturalId.
 void toRemoteParameterNaturalId(Parameter source, RemoteParameterNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.pmfm.ParameterDaoBase
clusterParameterToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterParameter, findParameterByCode, findParameterByCode, findParameterByCode, findParameterByCode, findParameterByNaturalId, findParameterByNaturalId, findParameterByNaturalId, findParameterByNaturalId, findParameterByParameterGroup, findParameterByParameterGroup, findParameterByParameterGroup, findParameterByParameterGroup, findParameterByParameterGroup, findParameterByParameterGroup, findParameterByParameterGroup, findParameterByParameterGroup, findParameterByStatus, findParameterByStatus, findParameterByStatus, findParameterByStatus, findParameterByStatus, findParameterByStatus, findParameterByStatus, findParameterByStatus, getAllClusterParameterSinceDateSynchro, getAllParameter, getAllParameter, getAllParameter, getAllParameter, getAllParameter, getAllParameter, getAllParameter, getAllParameter, getAllParameterSinceDateSynchro, getAllParameterSinceDateSynchro, getAllParameterSinceDateSynchro, getAllParameterSinceDateSynchro, getAllParameterSinceDateSynchro, getAllParameterSinceDateSynchro, getAllParameterSinceDateSynchro, getAllParameterSinceDateSynchro, getParameterGroupDao, getPrincipal, getQualitativeValueDao, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteParameterFullVOToEntityCollection, remoteParameterNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setParameterGroupDao, setQualitativeValueDao, setStatusDao, toClusterParameter, toClusterParameterArray, toClusterParameterCollection, toEntity, toRemoteParameterFullVO, toRemoteParameterFullVOArray, toRemoteParameterFullVOCollection, toRemoteParameterNaturalId, toRemoteParameterNaturalIdArray, toRemoteParameterNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterDaoImpl

public ParameterDaoImpl()
Method Detail

handleCreateFromClusterParameter

protected Parameter handleCreateFromClusterParameter(ClusterParameter clusterParameter)
Description copied from class: ParameterDaoBase
Performs the core logic for ParameterDaoBase.createFromClusterParameter(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter)

Specified by:
handleCreateFromClusterParameter in class ParameterDaoBase
See Also:
ParameterDao.createFromClusterParameter(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter)

handleGetAllClusterParameterSinceDateSynchro

protected ClusterParameter[] handleGetAllClusterParameterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                          java.lang.Integer userId,
                                                                          java.lang.Integer[] registrationLocationIds,
                                                                          java.lang.Integer pageNumber,
                                                                          java.lang.Integer pageSize)
Description copied from class: ParameterDaoBase
Performs the core logic for ParameterDaoBase.getAllClusterParameterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterParameterSinceDateSynchro in class ParameterDaoBase
See Also:
ParameterDao.getAllClusterParameterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteParameterFullVO

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

toRemoteParameterFullVO

public RemoteParameterFullVO toRemoteParameterFullVO(Parameter entity)
Description copied from interface: ParameterDao
Converts this DAO's entity to an object of type RemoteParameterFullVO.

Specified by:
toRemoteParameterFullVO in interface ParameterDao
Overrides:
toRemoteParameterFullVO in class ParameterDaoBase
See Also:
ParameterDao.toRemoteParameterFullVO(fr.ifremer.allegro.referential.pmfm.Parameter)

remoteParameterFullVOToEntity

public Parameter remoteParameterFullVOToEntity(RemoteParameterFullVO remoteParameterFullVO)
Description copied from interface: ParameterDao
Converts an instance of type RemoteParameterFullVO to this DAO's entity.

See Also:
ParameterDao.remoteParameterFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterFullVO)

remoteParameterFullVOToEntity

public void remoteParameterFullVOToEntity(RemoteParameterFullVO source,
                                          Parameter target,
                                          boolean copyIfNull)
Description copied from interface: ParameterDao
Copies the fields of RemoteParameterFullVO to the specified entity.

Specified by:
remoteParameterFullVOToEntity in interface ParameterDao
Overrides:
remoteParameterFullVOToEntity in class ParameterDaoBase
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.ParameterDao#remoteParameterFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterFullVO, fr.ifremer.allegro.referential.pmfm.Parameter)

toRemoteParameterNaturalId

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

toRemoteParameterNaturalId

public RemoteParameterNaturalId toRemoteParameterNaturalId(Parameter entity)
Description copied from interface: ParameterDao
Converts this DAO's entity to an object of type RemoteParameterNaturalId.

Specified by:
toRemoteParameterNaturalId in interface ParameterDao
Overrides:
toRemoteParameterNaturalId in class ParameterDaoBase
See Also:
ParameterDao.toRemoteParameterNaturalId(fr.ifremer.allegro.referential.pmfm.Parameter)

remoteParameterNaturalIdToEntity

public Parameter remoteParameterNaturalIdToEntity(RemoteParameterNaturalId remoteParameterNaturalId)
Description copied from interface: ParameterDao
Converts an instance of type RemoteParameterNaturalId to this DAO's entity.

See Also:
ParameterDao.remoteParameterNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterNaturalId)

remoteParameterNaturalIdToEntity

public void remoteParameterNaturalIdToEntity(RemoteParameterNaturalId source,
                                             Parameter target,
                                             boolean copyIfNull)
Description copied from interface: ParameterDao
Copies the fields of RemoteParameterNaturalId to the specified entity.

Specified by:
remoteParameterNaturalIdToEntity in interface ParameterDao
Overrides:
remoteParameterNaturalIdToEntity in class ParameterDaoBase
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.ParameterDao#remoteParameterNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterNaturalId, fr.ifremer.allegro.referential.pmfm.Parameter)

toClusterParameter

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

toClusterParameter

public ClusterParameter toClusterParameter(Parameter entity)
Description copied from interface: ParameterDao
Converts this DAO's entity to an object of type ClusterParameter.

Specified by:
toClusterParameter in interface ParameterDao
Overrides:
toClusterParameter in class ParameterDaoBase
See Also:
ParameterDao.toClusterParameter(fr.ifremer.allegro.referential.pmfm.Parameter)

clusterParameterToEntity

public Parameter clusterParameterToEntity(ClusterParameter clusterParameter)
Description copied from interface: ParameterDao
Converts an instance of type ClusterParameter to this DAO's entity.

See Also:
ParameterDao.clusterParameterToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter)

clusterParameterToEntity

public void clusterParameterToEntity(ClusterParameter source,
                                     Parameter target,
                                     boolean copyIfNull)
Description copied from interface: ParameterDao
Copies the fields of ClusterParameter to the specified entity.

Specified by:
clusterParameterToEntity in interface ParameterDao
Overrides:
clusterParameterToEntity in class ParameterDaoBase
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.ParameterDao#clusterParameterToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter, fr.ifremer.allegro.referential.pmfm.Parameter)


Copyright © 2008-2010 IFREMER. All Rights Reserved.