fr.ifremer.allegro.referential.pmfm
Class MethodDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.pmfm.MethodDaoBase
          extended by fr.ifremer.allegro.referential.pmfm.MethodDaoImpl
All Implemented Interfaces:
MethodDao

public class MethodDaoImpl
extends MethodDaoBase

See Also:
Method

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.MethodDao
TRANSFORM_CLUSTERMETHOD, TRANSFORM_NONE, TRANSFORM_REMOTEMETHODFULLVO, TRANSFORM_REMOTEMETHODNATURALID
 
Constructor Summary
MethodDaoImpl()
           
 
Method Summary
 Method clusterMethodToEntity(ClusterMethod clusterMethod)
          Converts an instance of type ClusterMethod to this DAO's entity.
 void clusterMethodToEntity(ClusterMethod source, Method target, boolean copyIfNull)
          Copies the fields of ClusterMethod to the specified entity.
protected  Method handleCreateFromClusterMethod(ClusterMethod clusterMethod)
          Performs the core logic for MethodDaoBase.createFromClusterMethod(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMethod)
protected  ClusterMethod[] handleGetAllClusterMethodSinceDateSynchro(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 MethodDaoBase.getAllClusterMethodSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Method remoteMethodFullVOToEntity(RemoteMethodFullVO remoteMethodFullVO)
          Converts an instance of type RemoteMethodFullVO to this DAO's entity.
 void remoteMethodFullVOToEntity(RemoteMethodFullVO source, Method target, boolean copyIfNull)
          Copies the fields of RemoteMethodFullVO to the specified entity.
 Method remoteMethodNaturalIdToEntity(RemoteMethodNaturalId remoteMethodNaturalId)
          Converts an instance of type RemoteMethodNaturalId to this DAO's entity.
 void remoteMethodNaturalIdToEntity(RemoteMethodNaturalId source, Method target, boolean copyIfNull)
          Copies the fields of RemoteMethodNaturalId to the specified entity.
 ClusterMethod toClusterMethod(Method entity)
          Converts this DAO's entity to an object of type ClusterMethod.
 void toClusterMethod(Method source, ClusterMethod target)
          Copies the fields of the specified entity to the target value object.
 RemoteMethodFullVO toRemoteMethodFullVO(Method entity)
          Converts this DAO's entity to an object of type RemoteMethodFullVO.
 void toRemoteMethodFullVO(Method source, RemoteMethodFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteMethodNaturalId toRemoteMethodNaturalId(Method entity)
          Converts this DAO's entity to an object of type RemoteMethodNaturalId.
 void toRemoteMethodNaturalId(Method source, RemoteMethodNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.pmfm.MethodDaoBase
clusterMethodToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterMethod, findMethodById, findMethodById, findMethodById, findMethodById, findMethodByNaturalId, findMethodByNaturalId, findMethodByNaturalId, findMethodByNaturalId, findMethodByStatus, findMethodByStatus, findMethodByStatus, findMethodByStatus, findMethodByStatus, findMethodByStatus, findMethodByStatus, findMethodByStatus, getAllClusterMethodSinceDateSynchro, getAllMethod, getAllMethod, getAllMethod, getAllMethod, getAllMethod, getAllMethod, getAllMethod, getAllMethod, getAllMethodSinceDateSynchro, getAllMethodSinceDateSynchro, getAllMethodSinceDateSynchro, getAllMethodSinceDateSynchro, getAllMethodSinceDateSynchro, getAllMethodSinceDateSynchro, getAllMethodSinceDateSynchro, getAllMethodSinceDateSynchro, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteMethodFullVOToEntityCollection, remoteMethodNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setStatusDao, toClusterMethod, toClusterMethodArray, toClusterMethodCollection, toEntity, toRemoteMethodFullVO, toRemoteMethodFullVOArray, toRemoteMethodFullVOCollection, toRemoteMethodNaturalId, toRemoteMethodNaturalIdArray, toRemoteMethodNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodDaoImpl

public MethodDaoImpl()
Method Detail

handleCreateFromClusterMethod

protected Method handleCreateFromClusterMethod(ClusterMethod clusterMethod)
Description copied from class: MethodDaoBase
Performs the core logic for MethodDaoBase.createFromClusterMethod(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMethod)

Specified by:
handleCreateFromClusterMethod in class MethodDaoBase
See Also:
MethodDao.createFromClusterMethod(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMethod)

handleGetAllClusterMethodSinceDateSynchro

protected ClusterMethod[] handleGetAllClusterMethodSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                    java.lang.Integer userId,
                                                                    java.lang.Integer[] registrationLocationIds,
                                                                    java.lang.Integer pageNumber,
                                                                    java.lang.Integer pageSize)
Description copied from class: MethodDaoBase
Performs the core logic for MethodDaoBase.getAllClusterMethodSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterMethodSinceDateSynchro in class MethodDaoBase
See Also:
MethodDao.getAllClusterMethodSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteMethodFullVO

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

toRemoteMethodFullVO

public RemoteMethodFullVO toRemoteMethodFullVO(Method entity)
Description copied from interface: MethodDao
Converts this DAO's entity to an object of type RemoteMethodFullVO.

Specified by:
toRemoteMethodFullVO in interface MethodDao
Overrides:
toRemoteMethodFullVO in class MethodDaoBase
See Also:
MethodDao.toRemoteMethodFullVO(fr.ifremer.allegro.referential.pmfm.Method)

remoteMethodFullVOToEntity

public Method remoteMethodFullVOToEntity(RemoteMethodFullVO remoteMethodFullVO)
Description copied from interface: MethodDao
Converts an instance of type RemoteMethodFullVO to this DAO's entity.

See Also:
MethodDao.remoteMethodFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMethodFullVO)

remoteMethodFullVOToEntity

public void remoteMethodFullVOToEntity(RemoteMethodFullVO source,
                                       Method target,
                                       boolean copyIfNull)
Description copied from interface: MethodDao
Copies the fields of RemoteMethodFullVO to the specified entity.

Specified by:
remoteMethodFullVOToEntity in interface MethodDao
Overrides:
remoteMethodFullVOToEntity in class MethodDaoBase
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.MethodDao#remoteMethodFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMethodFullVO, fr.ifremer.allegro.referential.pmfm.Method)

toRemoteMethodNaturalId

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

toRemoteMethodNaturalId

public RemoteMethodNaturalId toRemoteMethodNaturalId(Method entity)
Description copied from interface: MethodDao
Converts this DAO's entity to an object of type RemoteMethodNaturalId.

Specified by:
toRemoteMethodNaturalId in interface MethodDao
Overrides:
toRemoteMethodNaturalId in class MethodDaoBase
See Also:
MethodDao.toRemoteMethodNaturalId(fr.ifremer.allegro.referential.pmfm.Method)

remoteMethodNaturalIdToEntity

public Method remoteMethodNaturalIdToEntity(RemoteMethodNaturalId remoteMethodNaturalId)
Description copied from interface: MethodDao
Converts an instance of type RemoteMethodNaturalId to this DAO's entity.

See Also:
MethodDao.remoteMethodNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMethodNaturalId)

remoteMethodNaturalIdToEntity

public void remoteMethodNaturalIdToEntity(RemoteMethodNaturalId source,
                                          Method target,
                                          boolean copyIfNull)
Description copied from interface: MethodDao
Copies the fields of RemoteMethodNaturalId to the specified entity.

Specified by:
remoteMethodNaturalIdToEntity in interface MethodDao
Overrides:
remoteMethodNaturalIdToEntity in class MethodDaoBase
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.MethodDao#remoteMethodNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMethodNaturalId, fr.ifremer.allegro.referential.pmfm.Method)

toClusterMethod

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

toClusterMethod

public ClusterMethod toClusterMethod(Method entity)
Description copied from interface: MethodDao
Converts this DAO's entity to an object of type ClusterMethod.

Specified by:
toClusterMethod in interface MethodDao
Overrides:
toClusterMethod in class MethodDaoBase
See Also:
MethodDao.toClusterMethod(fr.ifremer.allegro.referential.pmfm.Method)

clusterMethodToEntity

public Method clusterMethodToEntity(ClusterMethod clusterMethod)
Description copied from interface: MethodDao
Converts an instance of type ClusterMethod to this DAO's entity.

See Also:
MethodDao.clusterMethodToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMethod)

clusterMethodToEntity

public void clusterMethodToEntity(ClusterMethod source,
                                  Method target,
                                  boolean copyIfNull)
Description copied from interface: MethodDao
Copies the fields of ClusterMethod to the specified entity.

Specified by:
clusterMethodToEntity in interface MethodDao
Overrides:
clusterMethodToEntity in class MethodDaoBase
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.MethodDao#clusterMethodToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMethod, fr.ifremer.allegro.referential.pmfm.Method)


Copyright © 2008-2010 IFREMER. All Rights Reserved.