fr.ifremer.allegro.referential.pmfm
Class ParameterGroupDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.pmfm.ParameterGroupDaoBase
          extended by fr.ifremer.allegro.referential.pmfm.ParameterGroupDaoImpl
All Implemented Interfaces:
ParameterGroupDao

public class ParameterGroupDaoImpl
extends ParameterGroupDaoBase

See Also:
ParameterGroup

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.ParameterGroupDao
TRANSFORM_CLUSTERPARAMETERGROUP, TRANSFORM_NONE, TRANSFORM_REMOTEPARAMETERGROUPFULLVO, TRANSFORM_REMOTEPARAMETERGROUPNATURALID
 
Constructor Summary
ParameterGroupDaoImpl()
           
 
Method Summary
 ParameterGroup clusterParameterGroupToEntity(ClusterParameterGroup clusterParameterGroup)
          Converts an instance of type ClusterParameterGroup to this DAO's entity.
 void clusterParameterGroupToEntity(ClusterParameterGroup source, ParameterGroup target, boolean copyIfNull)
          Copies the fields of ClusterParameterGroup to the specified entity.
protected  ParameterGroup handleCreateFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
          Performs the core logic for ParameterGroupDaoBase.createFromClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)
protected  ClusterParameterGroup[] handleGetAllClusterParameterGroupSinceDateSynchro(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 ParameterGroupDaoBase.getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ParameterGroup remoteParameterGroupFullVOToEntity(RemoteParameterGroupFullVO remoteParameterGroupFullVO)
          Converts an instance of type RemoteParameterGroupFullVO to this DAO's entity.
 void remoteParameterGroupFullVOToEntity(RemoteParameterGroupFullVO source, ParameterGroup target, boolean copyIfNull)
          Copies the fields of RemoteParameterGroupFullVO to the specified entity.
 ParameterGroup remoteParameterGroupNaturalIdToEntity(RemoteParameterGroupNaturalId remoteParameterGroupNaturalId)
          Converts an instance of type RemoteParameterGroupNaturalId to this DAO's entity.
 void remoteParameterGroupNaturalIdToEntity(RemoteParameterGroupNaturalId source, ParameterGroup target, boolean copyIfNull)
          Copies the fields of RemoteParameterGroupNaturalId to the specified entity.
 ClusterParameterGroup toClusterParameterGroup(ParameterGroup entity)
          Converts this DAO's entity to an object of type ClusterParameterGroup.
 void toClusterParameterGroup(ParameterGroup source, ClusterParameterGroup target)
          Copies the fields of the specified entity to the target value object.
 RemoteParameterGroupFullVO toRemoteParameterGroupFullVO(ParameterGroup entity)
          Converts this DAO's entity to an object of type RemoteParameterGroupFullVO.
 void toRemoteParameterGroupFullVO(ParameterGroup source, RemoteParameterGroupFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteParameterGroupNaturalId toRemoteParameterGroupNaturalId(ParameterGroup entity)
          Converts this DAO's entity to an object of type RemoteParameterGroupNaturalId.
 void toRemoteParameterGroupNaturalId(ParameterGroup source, RemoteParameterGroupNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.pmfm.ParameterGroupDaoBase
clusterParameterGroupToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterParameterGroup, findParameterGroupById, findParameterGroupById, findParameterGroupById, findParameterGroupById, findParameterGroupByNaturalId, findParameterGroupByNaturalId, findParameterGroupByNaturalId, findParameterGroupByNaturalId, findParameterGroupByParentParameterGroup, findParameterGroupByParentParameterGroup, findParameterGroupByParentParameterGroup, findParameterGroupByParentParameterGroup, findParameterGroupByParentParameterGroup, findParameterGroupByParentParameterGroup, findParameterGroupByParentParameterGroup, findParameterGroupByParentParameterGroup, findParameterGroupByStatus, findParameterGroupByStatus, findParameterGroupByStatus, findParameterGroupByStatus, findParameterGroupByStatus, findParameterGroupByStatus, findParameterGroupByStatus, findParameterGroupByStatus, getAllClusterParameterGroupSinceDateSynchro, getAllParameterGroup, getAllParameterGroup, getAllParameterGroup, getAllParameterGroup, getAllParameterGroup, getAllParameterGroup, getAllParameterGroup, getAllParameterGroup, getAllParameterGroupSinceDateSynchro, getAllParameterGroupSinceDateSynchro, getAllParameterGroupSinceDateSynchro, getAllParameterGroupSinceDateSynchro, getAllParameterGroupSinceDateSynchro, getAllParameterGroupSinceDateSynchro, getAllParameterGroupSinceDateSynchro, getAllParameterGroupSinceDateSynchro, getParameterGroupDao, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteParameterGroupFullVOToEntityCollection, remoteParameterGroupNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setParameterGroupDao, setStatusDao, toClusterParameterGroup, toClusterParameterGroupArray, toClusterParameterGroupCollection, toEntity, toRemoteParameterGroupFullVO, toRemoteParameterGroupFullVOArray, toRemoteParameterGroupFullVOCollection, toRemoteParameterGroupNaturalId, toRemoteParameterGroupNaturalIdArray, toRemoteParameterGroupNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterGroupDaoImpl

public ParameterGroupDaoImpl()
Method Detail

handleCreateFromClusterParameterGroup

protected ParameterGroup handleCreateFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
Description copied from class: ParameterGroupDaoBase
Performs the core logic for ParameterGroupDaoBase.createFromClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)

Specified by:
handleCreateFromClusterParameterGroup in class ParameterGroupDaoBase
See Also:
ParameterGroupDao.createFromClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)

handleGetAllClusterParameterGroupSinceDateSynchro

protected ClusterParameterGroup[] handleGetAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                    java.lang.Integer userId,
                                                                                    java.lang.Integer[] registrationLocationIds,
                                                                                    java.lang.Integer pageNumber,
                                                                                    java.lang.Integer pageSize)
Description copied from class: ParameterGroupDaoBase
Performs the core logic for ParameterGroupDaoBase.getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterParameterGroupSinceDateSynchro in class ParameterGroupDaoBase
See Also:
ParameterGroupDao.getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteParameterGroupFullVO

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

toRemoteParameterGroupFullVO

public RemoteParameterGroupFullVO toRemoteParameterGroupFullVO(ParameterGroup entity)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to an object of type RemoteParameterGroupFullVO.

Specified by:
toRemoteParameterGroupFullVO in interface ParameterGroupDao
Overrides:
toRemoteParameterGroupFullVO in class ParameterGroupDaoBase
See Also:
ParameterGroupDao.toRemoteParameterGroupFullVO(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

remoteParameterGroupFullVOToEntity

public ParameterGroup remoteParameterGroupFullVOToEntity(RemoteParameterGroupFullVO remoteParameterGroupFullVO)
Description copied from interface: ParameterGroupDao
Converts an instance of type RemoteParameterGroupFullVO to this DAO's entity.

See Also:
ParameterGroupDao.remoteParameterGroupFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

remoteParameterGroupFullVOToEntity

public void remoteParameterGroupFullVOToEntity(RemoteParameterGroupFullVO source,
                                               ParameterGroup target,
                                               boolean copyIfNull)
Description copied from interface: ParameterGroupDao
Copies the fields of RemoteParameterGroupFullVO to the specified entity.

Specified by:
remoteParameterGroupFullVOToEntity in interface ParameterGroupDao
Overrides:
remoteParameterGroupFullVOToEntity in class ParameterGroupDaoBase
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.ParameterGroupDao#remoteParameterGroupFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

toRemoteParameterGroupNaturalId

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

toRemoteParameterGroupNaturalId

public RemoteParameterGroupNaturalId toRemoteParameterGroupNaturalId(ParameterGroup entity)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to an object of type RemoteParameterGroupNaturalId.

Specified by:
toRemoteParameterGroupNaturalId in interface ParameterGroupDao
Overrides:
toRemoteParameterGroupNaturalId in class ParameterGroupDaoBase
See Also:
ParameterGroupDao.toRemoteParameterGroupNaturalId(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

remoteParameterGroupNaturalIdToEntity

public ParameterGroup remoteParameterGroupNaturalIdToEntity(RemoteParameterGroupNaturalId remoteParameterGroupNaturalId)
Description copied from interface: ParameterGroupDao
Converts an instance of type RemoteParameterGroupNaturalId to this DAO's entity.

See Also:
ParameterGroupDao.remoteParameterGroupNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupNaturalId)

remoteParameterGroupNaturalIdToEntity

public void remoteParameterGroupNaturalIdToEntity(RemoteParameterGroupNaturalId source,
                                                  ParameterGroup target,
                                                  boolean copyIfNull)
Description copied from interface: ParameterGroupDao
Copies the fields of RemoteParameterGroupNaturalId to the specified entity.

Specified by:
remoteParameterGroupNaturalIdToEntity in interface ParameterGroupDao
Overrides:
remoteParameterGroupNaturalIdToEntity in class ParameterGroupDaoBase
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.ParameterGroupDao#remoteParameterGroupNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupNaturalId, fr.ifremer.allegro.referential.pmfm.ParameterGroup)

toClusterParameterGroup

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

toClusterParameterGroup

public ClusterParameterGroup toClusterParameterGroup(ParameterGroup entity)
Description copied from interface: ParameterGroupDao
Converts this DAO's entity to an object of type ClusterParameterGroup.

Specified by:
toClusterParameterGroup in interface ParameterGroupDao
Overrides:
toClusterParameterGroup in class ParameterGroupDaoBase
See Also:
ParameterGroupDao.toClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)

clusterParameterGroupToEntity

public ParameterGroup clusterParameterGroupToEntity(ClusterParameterGroup clusterParameterGroup)
Description copied from interface: ParameterGroupDao
Converts an instance of type ClusterParameterGroup to this DAO's entity.

See Also:
ParameterGroupDao.clusterParameterGroupToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)

clusterParameterGroupToEntity

public void clusterParameterGroupToEntity(ClusterParameterGroup source,
                                          ParameterGroup target,
                                          boolean copyIfNull)
Description copied from interface: ParameterGroupDao
Copies the fields of ClusterParameterGroup to the specified entity.

Specified by:
clusterParameterGroupToEntity in interface ParameterGroupDao
Overrides:
clusterParameterGroupToEntity in class ParameterGroupDaoBase
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.ParameterGroupDao#clusterParameterGroupToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup, fr.ifremer.allegro.referential.pmfm.ParameterGroup)


Copyright © 2008-2010 IFREMER. All Rights Reserved.