fr.ifremer.allegro.technical.synchronization
Class DataSynchronizationDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.technical.synchronization.DataSynchronizationDaoBase
          extended by fr.ifremer.allegro.technical.synchronization.DataSynchronizationDaoImpl
All Implemented Interfaces:
DataSynchronizationDao

public class DataSynchronizationDaoImpl
extends DataSynchronizationDaoBase

See Also:
DataSynchronization

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.technical.synchronization.DataSynchronizationDao
TRANSFORM_CLUSTERDATASYNCHRONIZATION, TRANSFORM_NONE, TRANSFORM_REMOTEDATASYNCHRONIZATIONFULLVO, TRANSFORM_REMOTEDATASYNCHRONIZATIONNATURALID
 
Constructor Summary
DataSynchronizationDaoImpl()
           
 
Method Summary
 DataSynchronization clusterDataSynchronizationToEntity(ClusterDataSynchronization clusterDataSynchronization)
          Converts an instance of type ClusterDataSynchronization to this DAO's entity.
 void clusterDataSynchronizationToEntity(ClusterDataSynchronization source, DataSynchronization target, boolean copyIfNull)
          Copies the fields of ClusterDataSynchronization to the specified entity.
protected  DataSynchronization handleCreateFromClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization)
          Performs the core logic for DataSynchronizationDaoBase.createFromClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)
protected  ClusterDataSynchronization[] handleGetAllClusterDataSynchronizationSinceDateSynchro(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 DataSynchronizationDaoBase.getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected  java.sql.Timestamp handleGetSysdate()
          Performs the core logic for DataSynchronizationDaoBase.getSysdate()
 DataSynchronization remoteDataSynchronizationFullVOToEntity(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVO)
          Converts an instance of type RemoteDataSynchronizationFullVO to this DAO's entity.
 void remoteDataSynchronizationFullVOToEntity(RemoteDataSynchronizationFullVO source, DataSynchronization target, boolean copyIfNull)
          Copies the fields of RemoteDataSynchronizationFullVO to the specified entity.
 DataSynchronization remoteDataSynchronizationNaturalIdToEntity(RemoteDataSynchronizationNaturalId remoteDataSynchronizationNaturalId)
          Converts an instance of type RemoteDataSynchronizationNaturalId to this DAO's entity.
 void remoteDataSynchronizationNaturalIdToEntity(RemoteDataSynchronizationNaturalId source, DataSynchronization target, boolean copyIfNull)
          Copies the fields of RemoteDataSynchronizationNaturalId to the specified entity.
 ClusterDataSynchronization toClusterDataSynchronization(DataSynchronization entity)
          Converts this DAO's entity to an object of type ClusterDataSynchronization.
 void toClusterDataSynchronization(DataSynchronization source, ClusterDataSynchronization target)
          Copies the fields of the specified entity to the target value object.
 RemoteDataSynchronizationFullVO toRemoteDataSynchronizationFullVO(DataSynchronization entity)
          Converts this DAO's entity to an object of type RemoteDataSynchronizationFullVO.
 void toRemoteDataSynchronizationFullVO(DataSynchronization source, RemoteDataSynchronizationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteDataSynchronizationNaturalId toRemoteDataSynchronizationNaturalId(DataSynchronization entity)
          Converts this DAO's entity to an object of type RemoteDataSynchronizationNaturalId.
 void toRemoteDataSynchronizationNaturalId(DataSynchronization source, RemoteDataSynchronizationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.technical.synchronization.DataSynchronizationDaoBase
clusterDataSynchronizationToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterDataSynchronization, findDataSynchronizationById, findDataSynchronizationById, findDataSynchronizationById, findDataSynchronizationById, findDataSynchronizationByNaturalId, findDataSynchronizationByNaturalId, findDataSynchronizationByNaturalId, findDataSynchronizationByNaturalId, getAllClusterDataSynchronizationSinceDateSynchro, getAllDataSynchronization, getAllDataSynchronization, getAllDataSynchronization, getAllDataSynchronization, getAllDataSynchronization, getAllDataSynchronization, getAllDataSynchronization, getAllDataSynchronization, getAllDataSynchronizationSinceDateSynchro, getAllDataSynchronizationSinceDateSynchro, getAllDataSynchronizationSinceDateSynchro, getAllDataSynchronizationSinceDateSynchro, getAllDataSynchronizationSinceDateSynchro, getAllDataSynchronizationSinceDateSynchro, getAllDataSynchronizationSinceDateSynchro, getAllDataSynchronizationSinceDateSynchro, getPrincipal, getSysdate, load, load, loadAll, loadAll, loadAll, loadAll, remoteDataSynchronizationFullVOToEntityCollection, remoteDataSynchronizationNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, toClusterDataSynchronization, toClusterDataSynchronizationArray, toClusterDataSynchronizationCollection, toEntity, toRemoteDataSynchronizationFullVO, toRemoteDataSynchronizationFullVOArray, toRemoteDataSynchronizationFullVOCollection, toRemoteDataSynchronizationNaturalId, toRemoteDataSynchronizationNaturalIdArray, toRemoteDataSynchronizationNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSynchronizationDaoImpl

public DataSynchronizationDaoImpl()
Method Detail

handleGetSysdate

protected java.sql.Timestamp handleGetSysdate()
Description copied from class: DataSynchronizationDaoBase
Performs the core logic for DataSynchronizationDaoBase.getSysdate()

Specified by:
handleGetSysdate in class DataSynchronizationDaoBase
See Also:
DataSynchronizationDao.getSysdate()

handleCreateFromClusterDataSynchronization

protected DataSynchronization handleCreateFromClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization)
Description copied from class: DataSynchronizationDaoBase
Performs the core logic for DataSynchronizationDaoBase.createFromClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)

Specified by:
handleCreateFromClusterDataSynchronization in class DataSynchronizationDaoBase
See Also:
DataSynchronizationDao.createFromClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)

handleGetAllClusterDataSynchronizationSinceDateSynchro

protected ClusterDataSynchronization[] handleGetAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                              java.lang.Integer userId,
                                                                                              java.lang.Integer[] registrationLocationIds,
                                                                                              java.lang.Integer pageNumber,
                                                                                              java.lang.Integer pageSize)
Description copied from class: DataSynchronizationDaoBase
Performs the core logic for DataSynchronizationDaoBase.getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterDataSynchronizationSinceDateSynchro in class DataSynchronizationDaoBase
See Also:
DataSynchronizationDao.getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteDataSynchronizationFullVO

public void toRemoteDataSynchronizationFullVO(DataSynchronization source,
                                              RemoteDataSynchronizationFullVO target)
Description copied from interface: DataSynchronizationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDataSynchronizationFullVO(), 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:
toRemoteDataSynchronizationFullVO in interface DataSynchronizationDao
Overrides:
toRemoteDataSynchronizationFullVO in class DataSynchronizationDaoBase
See Also:
DataSynchronizationDao.toRemoteDataSynchronizationFullVO(fr.ifremer.allegro.technical.synchronization.DataSynchronization, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

toRemoteDataSynchronizationFullVO

public RemoteDataSynchronizationFullVO toRemoteDataSynchronizationFullVO(DataSynchronization entity)
Description copied from interface: DataSynchronizationDao
Converts this DAO's entity to an object of type RemoteDataSynchronizationFullVO.

Specified by:
toRemoteDataSynchronizationFullVO in interface DataSynchronizationDao
Overrides:
toRemoteDataSynchronizationFullVO in class DataSynchronizationDaoBase
See Also:
DataSynchronizationDao.toRemoteDataSynchronizationFullVO(fr.ifremer.allegro.technical.synchronization.DataSynchronization)

remoteDataSynchronizationFullVOToEntity

public DataSynchronization remoteDataSynchronizationFullVOToEntity(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVO)
Description copied from interface: DataSynchronizationDao
Converts an instance of type RemoteDataSynchronizationFullVO to this DAO's entity.

See Also:
DataSynchronizationDao.remoteDataSynchronizationFullVOToEntity(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

remoteDataSynchronizationFullVOToEntity

public void remoteDataSynchronizationFullVOToEntity(RemoteDataSynchronizationFullVO source,
                                                    DataSynchronization target,
                                                    boolean copyIfNull)
Description copied from interface: DataSynchronizationDao
Copies the fields of RemoteDataSynchronizationFullVO to the specified entity.

Specified by:
remoteDataSynchronizationFullVOToEntity in interface DataSynchronizationDao
Overrides:
remoteDataSynchronizationFullVOToEntity in class DataSynchronizationDaoBase
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.technical.synchronization.DataSynchronizationDao#remoteDataSynchronizationFullVOToEntity(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO, fr.ifremer.allegro.technical.synchronization.DataSynchronization)

toRemoteDataSynchronizationNaturalId

public void toRemoteDataSynchronizationNaturalId(DataSynchronization source,
                                                 RemoteDataSynchronizationNaturalId target)
Description copied from interface: DataSynchronizationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteDataSynchronizationNaturalId(), 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:
toRemoteDataSynchronizationNaturalId in interface DataSynchronizationDao
Overrides:
toRemoteDataSynchronizationNaturalId in class DataSynchronizationDaoBase
See Also:
DataSynchronizationDao.toRemoteDataSynchronizationNaturalId(fr.ifremer.allegro.technical.synchronization.DataSynchronization, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationNaturalId)

toRemoteDataSynchronizationNaturalId

public RemoteDataSynchronizationNaturalId toRemoteDataSynchronizationNaturalId(DataSynchronization entity)
Description copied from interface: DataSynchronizationDao
Converts this DAO's entity to an object of type RemoteDataSynchronizationNaturalId.

Specified by:
toRemoteDataSynchronizationNaturalId in interface DataSynchronizationDao
Overrides:
toRemoteDataSynchronizationNaturalId in class DataSynchronizationDaoBase
See Also:
DataSynchronizationDao.toRemoteDataSynchronizationNaturalId(fr.ifremer.allegro.technical.synchronization.DataSynchronization)

remoteDataSynchronizationNaturalIdToEntity

public DataSynchronization remoteDataSynchronizationNaturalIdToEntity(RemoteDataSynchronizationNaturalId remoteDataSynchronizationNaturalId)
Description copied from interface: DataSynchronizationDao
Converts an instance of type RemoteDataSynchronizationNaturalId to this DAO's entity.

See Also:
DataSynchronizationDao.remoteDataSynchronizationNaturalIdToEntity(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationNaturalId)

remoteDataSynchronizationNaturalIdToEntity

public void remoteDataSynchronizationNaturalIdToEntity(RemoteDataSynchronizationNaturalId source,
                                                       DataSynchronization target,
                                                       boolean copyIfNull)
Description copied from interface: DataSynchronizationDao
Copies the fields of RemoteDataSynchronizationNaturalId to the specified entity.

Specified by:
remoteDataSynchronizationNaturalIdToEntity in interface DataSynchronizationDao
Overrides:
remoteDataSynchronizationNaturalIdToEntity in class DataSynchronizationDaoBase
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.technical.synchronization.DataSynchronizationDao#remoteDataSynchronizationNaturalIdToEntity(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationNaturalId, fr.ifremer.allegro.technical.synchronization.DataSynchronization)

toClusterDataSynchronization

public void toClusterDataSynchronization(DataSynchronization source,
                                         ClusterDataSynchronization target)
Description copied from interface: DataSynchronizationDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterDataSynchronization(), 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:
toClusterDataSynchronization in interface DataSynchronizationDao
Overrides:
toClusterDataSynchronization in class DataSynchronizationDaoBase
See Also:
DataSynchronizationDao.toClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.DataSynchronization, fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)

toClusterDataSynchronization

public ClusterDataSynchronization toClusterDataSynchronization(DataSynchronization entity)
Description copied from interface: DataSynchronizationDao
Converts this DAO's entity to an object of type ClusterDataSynchronization.

Specified by:
toClusterDataSynchronization in interface DataSynchronizationDao
Overrides:
toClusterDataSynchronization in class DataSynchronizationDaoBase
See Also:
DataSynchronizationDao.toClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.DataSynchronization)

clusterDataSynchronizationToEntity

public DataSynchronization clusterDataSynchronizationToEntity(ClusterDataSynchronization clusterDataSynchronization)
Description copied from interface: DataSynchronizationDao
Converts an instance of type ClusterDataSynchronization to this DAO's entity.

See Also:
DataSynchronizationDao.clusterDataSynchronizationToEntity(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)

clusterDataSynchronizationToEntity

public void clusterDataSynchronizationToEntity(ClusterDataSynchronization source,
                                               DataSynchronization target,
                                               boolean copyIfNull)
Description copied from interface: DataSynchronizationDao
Copies the fields of ClusterDataSynchronization to the specified entity.

Specified by:
clusterDataSynchronizationToEntity in interface DataSynchronizationDao
Overrides:
clusterDataSynchronizationToEntity in class DataSynchronizationDaoBase
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.technical.synchronization.DataSynchronizationDao#clusterDataSynchronizationToEntity(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization, fr.ifremer.allegro.technical.synchronization.DataSynchronization)


Copyright © 2008-2010 IFREMER. All Rights Reserved.