fr.ifremer.allegro.referential
Class PrecisionTypeDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.PrecisionTypeDaoBase
          extended by fr.ifremer.allegro.referential.PrecisionTypeDaoImpl
All Implemented Interfaces:
PrecisionTypeDao

public class PrecisionTypeDaoImpl
extends PrecisionTypeDaoBase

See Also:
PrecisionType

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.PrecisionTypeDao
TRANSFORM_CLUSTERPRECISIONTYPE, TRANSFORM_NONE, TRANSFORM_REMOTEPRECISIONTYPEFULLVO, TRANSFORM_REMOTEPRECISIONTYPENATURALID
 
Constructor Summary
PrecisionTypeDaoImpl()
           
 
Method Summary
 PrecisionType clusterPrecisionTypeToEntity(ClusterPrecisionType clusterPrecisionType)
          Converts an instance of type ClusterPrecisionType to this DAO's entity.
 void clusterPrecisionTypeToEntity(ClusterPrecisionType source, PrecisionType target, boolean copyIfNull)
          Copies the fields of ClusterPrecisionType to the specified entity.
protected  PrecisionType handleCreateFromClusterPrecisionType(ClusterPrecisionType clusterPrecisionType)
          Performs the core logic for PrecisionTypeDaoBase.createFromClusterPrecisionType(fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType)
protected  ClusterPrecisionType[] handleGetAllClusterPrecisionTypeSinceDateSynchro(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 PrecisionTypeDaoBase.getAllClusterPrecisionTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 PrecisionType remotePrecisionTypeFullVOToEntity(RemotePrecisionTypeFullVO remotePrecisionTypeFullVO)
          Converts an instance of type RemotePrecisionTypeFullVO to this DAO's entity.
 void remotePrecisionTypeFullVOToEntity(RemotePrecisionTypeFullVO source, PrecisionType target, boolean copyIfNull)
          Copies the fields of RemotePrecisionTypeFullVO to the specified entity.
 PrecisionType remotePrecisionTypeNaturalIdToEntity(RemotePrecisionTypeNaturalId remotePrecisionTypeNaturalId)
          Converts an instance of type RemotePrecisionTypeNaturalId to this DAO's entity.
 void remotePrecisionTypeNaturalIdToEntity(RemotePrecisionTypeNaturalId source, PrecisionType target, boolean copyIfNull)
          Copies the fields of RemotePrecisionTypeNaturalId to the specified entity.
 ClusterPrecisionType toClusterPrecisionType(PrecisionType entity)
          Converts this DAO's entity to an object of type ClusterPrecisionType.
 void toClusterPrecisionType(PrecisionType source, ClusterPrecisionType target)
          Copies the fields of the specified entity to the target value object.
 RemotePrecisionTypeFullVO toRemotePrecisionTypeFullVO(PrecisionType entity)
          Converts this DAO's entity to an object of type RemotePrecisionTypeFullVO.
 void toRemotePrecisionTypeFullVO(PrecisionType source, RemotePrecisionTypeFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemotePrecisionTypeNaturalId toRemotePrecisionTypeNaturalId(PrecisionType entity)
          Converts this DAO's entity to an object of type RemotePrecisionTypeNaturalId.
 void toRemotePrecisionTypeNaturalId(PrecisionType source, RemotePrecisionTypeNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.PrecisionTypeDaoBase
clusterPrecisionTypeToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterPrecisionType, findPrecisionTypeById, findPrecisionTypeById, findPrecisionTypeById, findPrecisionTypeById, findPrecisionTypeByNaturalId, findPrecisionTypeByNaturalId, findPrecisionTypeByNaturalId, findPrecisionTypeByNaturalId, findPrecisionTypeByStatus, findPrecisionTypeByStatus, findPrecisionTypeByStatus, findPrecisionTypeByStatus, findPrecisionTypeByStatus, findPrecisionTypeByStatus, findPrecisionTypeByStatus, findPrecisionTypeByStatus, getAllClusterPrecisionTypeSinceDateSynchro, getAllPrecisionType, getAllPrecisionType, getAllPrecisionType, getAllPrecisionType, getAllPrecisionType, getAllPrecisionType, getAllPrecisionType, getAllPrecisionType, getAllPrecisionTypeSinceDateSynchro, getAllPrecisionTypeSinceDateSynchro, getAllPrecisionTypeSinceDateSynchro, getAllPrecisionTypeSinceDateSynchro, getAllPrecisionTypeSinceDateSynchro, getAllPrecisionTypeSinceDateSynchro, getAllPrecisionTypeSinceDateSynchro, getAllPrecisionTypeSinceDateSynchro, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remotePrecisionTypeFullVOToEntityCollection, remotePrecisionTypeNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setStatusDao, toClusterPrecisionType, toClusterPrecisionTypeArray, toClusterPrecisionTypeCollection, toEntity, toRemotePrecisionTypeFullVO, toRemotePrecisionTypeFullVOArray, toRemotePrecisionTypeFullVOCollection, toRemotePrecisionTypeNaturalId, toRemotePrecisionTypeNaturalIdArray, toRemotePrecisionTypeNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrecisionTypeDaoImpl

public PrecisionTypeDaoImpl()
Method Detail

handleCreateFromClusterPrecisionType

protected PrecisionType handleCreateFromClusterPrecisionType(ClusterPrecisionType clusterPrecisionType)
Description copied from class: PrecisionTypeDaoBase
Performs the core logic for PrecisionTypeDaoBase.createFromClusterPrecisionType(fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType)

Specified by:
handleCreateFromClusterPrecisionType in class PrecisionTypeDaoBase
See Also:
PrecisionTypeDao.createFromClusterPrecisionType(fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType)

handleGetAllClusterPrecisionTypeSinceDateSynchro

protected ClusterPrecisionType[] handleGetAllClusterPrecisionTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                  java.lang.Integer userId,
                                                                                  java.lang.Integer[] registrationLocationIds,
                                                                                  java.lang.Integer pageNumber,
                                                                                  java.lang.Integer pageSize)
Description copied from class: PrecisionTypeDaoBase
Performs the core logic for PrecisionTypeDaoBase.getAllClusterPrecisionTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterPrecisionTypeSinceDateSynchro in class PrecisionTypeDaoBase
See Also:
PrecisionTypeDao.getAllClusterPrecisionTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemotePrecisionTypeFullVO

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

toRemotePrecisionTypeFullVO

public RemotePrecisionTypeFullVO toRemotePrecisionTypeFullVO(PrecisionType entity)
Description copied from interface: PrecisionTypeDao
Converts this DAO's entity to an object of type RemotePrecisionTypeFullVO.

Specified by:
toRemotePrecisionTypeFullVO in interface PrecisionTypeDao
Overrides:
toRemotePrecisionTypeFullVO in class PrecisionTypeDaoBase
See Also:
PrecisionTypeDao.toRemotePrecisionTypeFullVO(fr.ifremer.allegro.referential.PrecisionType)

remotePrecisionTypeFullVOToEntity

public PrecisionType remotePrecisionTypeFullVOToEntity(RemotePrecisionTypeFullVO remotePrecisionTypeFullVO)
Description copied from interface: PrecisionTypeDao
Converts an instance of type RemotePrecisionTypeFullVO to this DAO's entity.

See Also:
PrecisionTypeDao.remotePrecisionTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemotePrecisionTypeFullVO)

remotePrecisionTypeFullVOToEntity

public void remotePrecisionTypeFullVOToEntity(RemotePrecisionTypeFullVO source,
                                              PrecisionType target,
                                              boolean copyIfNull)
Description copied from interface: PrecisionTypeDao
Copies the fields of RemotePrecisionTypeFullVO to the specified entity.

Specified by:
remotePrecisionTypeFullVOToEntity in interface PrecisionTypeDao
Overrides:
remotePrecisionTypeFullVOToEntity in class PrecisionTypeDaoBase
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.PrecisionTypeDao#remotePrecisionTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemotePrecisionTypeFullVO, fr.ifremer.allegro.referential.PrecisionType)

toRemotePrecisionTypeNaturalId

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

toRemotePrecisionTypeNaturalId

public RemotePrecisionTypeNaturalId toRemotePrecisionTypeNaturalId(PrecisionType entity)
Description copied from interface: PrecisionTypeDao
Converts this DAO's entity to an object of type RemotePrecisionTypeNaturalId.

Specified by:
toRemotePrecisionTypeNaturalId in interface PrecisionTypeDao
Overrides:
toRemotePrecisionTypeNaturalId in class PrecisionTypeDaoBase
See Also:
PrecisionTypeDao.toRemotePrecisionTypeNaturalId(fr.ifremer.allegro.referential.PrecisionType)

remotePrecisionTypeNaturalIdToEntity

public PrecisionType remotePrecisionTypeNaturalIdToEntity(RemotePrecisionTypeNaturalId remotePrecisionTypeNaturalId)
Description copied from interface: PrecisionTypeDao
Converts an instance of type RemotePrecisionTypeNaturalId to this DAO's entity.

See Also:
PrecisionTypeDao.remotePrecisionTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemotePrecisionTypeNaturalId)

remotePrecisionTypeNaturalIdToEntity

public void remotePrecisionTypeNaturalIdToEntity(RemotePrecisionTypeNaturalId source,
                                                 PrecisionType target,
                                                 boolean copyIfNull)
Description copied from interface: PrecisionTypeDao
Copies the fields of RemotePrecisionTypeNaturalId to the specified entity.

Specified by:
remotePrecisionTypeNaturalIdToEntity in interface PrecisionTypeDao
Overrides:
remotePrecisionTypeNaturalIdToEntity in class PrecisionTypeDaoBase
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.PrecisionTypeDao#remotePrecisionTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemotePrecisionTypeNaturalId, fr.ifremer.allegro.referential.PrecisionType)

toClusterPrecisionType

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

toClusterPrecisionType

public ClusterPrecisionType toClusterPrecisionType(PrecisionType entity)
Description copied from interface: PrecisionTypeDao
Converts this DAO's entity to an object of type ClusterPrecisionType.

Specified by:
toClusterPrecisionType in interface PrecisionTypeDao
Overrides:
toClusterPrecisionType in class PrecisionTypeDaoBase
See Also:
PrecisionTypeDao.toClusterPrecisionType(fr.ifremer.allegro.referential.PrecisionType)

clusterPrecisionTypeToEntity

public PrecisionType clusterPrecisionTypeToEntity(ClusterPrecisionType clusterPrecisionType)
Description copied from interface: PrecisionTypeDao
Converts an instance of type ClusterPrecisionType to this DAO's entity.

See Also:
PrecisionTypeDao.clusterPrecisionTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType)

clusterPrecisionTypeToEntity

public void clusterPrecisionTypeToEntity(ClusterPrecisionType source,
                                         PrecisionType target,
                                         boolean copyIfNull)
Description copied from interface: PrecisionTypeDao
Copies the fields of ClusterPrecisionType to the specified entity.

Specified by:
clusterPrecisionTypeToEntity in interface PrecisionTypeDao
Overrides:
clusterPrecisionTypeToEntity in class PrecisionTypeDaoBase
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.PrecisionTypeDao#clusterPrecisionTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterPrecisionType, fr.ifremer.allegro.referential.PrecisionType)


Copyright © 2008-2010 IFREMER. All Rights Reserved.