fr.ifremer.allegro.referential.location
Class LocationLevelDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.location.LocationLevelDaoBase
          extended by fr.ifremer.allegro.referential.location.LocationLevelDaoImpl
All Implemented Interfaces:
LocationLevelDao

public class LocationLevelDaoImpl
extends LocationLevelDaoBase

See Also:
LocationLevel

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationLevelDao
TRANSFORM_CLUSTERLOCATIONLEVEL, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONLEVELFULLVO, TRANSFORM_REMOTELOCATIONLEVELNATURALID
 
Constructor Summary
LocationLevelDaoImpl()
           
 
Method Summary
 LocationLevel clusterLocationLevelToEntity(ClusterLocationLevel clusterLocationLevel)
          Converts an instance of type ClusterLocationLevel to this DAO's entity.
 void clusterLocationLevelToEntity(ClusterLocationLevel source, LocationLevel target, boolean copyIfNull)
          Copies the fields of ClusterLocationLevel to the specified entity.
protected  LocationLevel handleCreateFromClusterLocationLevel(ClusterLocationLevel clusterLocationLevel)
          Performs the core logic for LocationLevelDaoBase.createFromClusterLocationLevel(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)
protected  ClusterLocationLevel[] handleGetAllClusterLocationLevelSinceDateSynchro(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 LocationLevelDaoBase.getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 LocationLevel remoteLocationLevelFullVOToEntity(RemoteLocationLevelFullVO remoteLocationLevelFullVO)
          Converts an instance of type RemoteLocationLevelFullVO to this DAO's entity.
 void remoteLocationLevelFullVOToEntity(RemoteLocationLevelFullVO source, LocationLevel target, boolean copyIfNull)
          Copies the fields of RemoteLocationLevelFullVO to the specified entity.
 LocationLevel remoteLocationLevelNaturalIdToEntity(RemoteLocationLevelNaturalId remoteLocationLevelNaturalId)
          Converts an instance of type RemoteLocationLevelNaturalId to this DAO's entity.
 void remoteLocationLevelNaturalIdToEntity(RemoteLocationLevelNaturalId source, LocationLevel target, boolean copyIfNull)
          Copies the fields of RemoteLocationLevelNaturalId to the specified entity.
 ClusterLocationLevel toClusterLocationLevel(LocationLevel entity)
          Converts this DAO's entity to an object of type ClusterLocationLevel.
 void toClusterLocationLevel(LocationLevel source, ClusterLocationLevel target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationLevelFullVO toRemoteLocationLevelFullVO(LocationLevel entity)
          Converts this DAO's entity to an object of type RemoteLocationLevelFullVO.
 void toRemoteLocationLevelFullVO(LocationLevel source, RemoteLocationLevelFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationLevelNaturalId toRemoteLocationLevelNaturalId(LocationLevel entity)
          Converts this DAO's entity to an object of type RemoteLocationLevelNaturalId.
 void toRemoteLocationLevelNaturalId(LocationLevel source, RemoteLocationLevelNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.location.LocationLevelDaoBase
clusterLocationLevelToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterLocationLevel, findLocationLevelById, findLocationLevelById, findLocationLevelById, findLocationLevelById, findLocationLevelByLocationClassification, findLocationLevelByLocationClassification, findLocationLevelByLocationClassification, findLocationLevelByLocationClassification, findLocationLevelByLocationClassification, findLocationLevelByLocationClassification, findLocationLevelByLocationClassification, findLocationLevelByLocationClassification, findLocationLevelByNaturalId, findLocationLevelByNaturalId, findLocationLevelByNaturalId, findLocationLevelByNaturalId, findLocationLevelByParentLocationLevel, findLocationLevelByParentLocationLevel, findLocationLevelByParentLocationLevel, findLocationLevelByParentLocationLevel, findLocationLevelByParentLocationLevel, findLocationLevelByParentLocationLevel, findLocationLevelByParentLocationLevel, findLocationLevelByParentLocationLevel, getAllClusterLocationLevelSinceDateSynchro, getAllLocationLevel, getAllLocationLevel, getAllLocationLevel, getAllLocationLevel, getAllLocationLevel, getAllLocationLevel, getAllLocationLevel, getAllLocationLevel, getAllLocationLevelSinceDateSynchro, getAllLocationLevelSinceDateSynchro, getAllLocationLevelSinceDateSynchro, getAllLocationLevelSinceDateSynchro, getAllLocationLevelSinceDateSynchro, getAllLocationLevelSinceDateSynchro, getAllLocationLevelSinceDateSynchro, getAllLocationLevelSinceDateSynchro, getLocationClassificationDao, getLocationLevelDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteLocationLevelFullVOToEntityCollection, remoteLocationLevelNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setLocationClassificationDao, setLocationLevelDao, toClusterLocationLevel, toClusterLocationLevelArray, toClusterLocationLevelCollection, toEntity, toRemoteLocationLevelFullVO, toRemoteLocationLevelFullVOArray, toRemoteLocationLevelFullVOCollection, toRemoteLocationLevelNaturalId, toRemoteLocationLevelNaturalIdArray, toRemoteLocationLevelNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationLevelDaoImpl

public LocationLevelDaoImpl()
Method Detail

handleCreateFromClusterLocationLevel

protected LocationLevel handleCreateFromClusterLocationLevel(ClusterLocationLevel clusterLocationLevel)
Description copied from class: LocationLevelDaoBase
Performs the core logic for LocationLevelDaoBase.createFromClusterLocationLevel(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)

Specified by:
handleCreateFromClusterLocationLevel in class LocationLevelDaoBase
See Also:
LocationLevelDao.createFromClusterLocationLevel(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)

handleGetAllClusterLocationLevelSinceDateSynchro

protected ClusterLocationLevel[] handleGetAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                  java.lang.Integer userId,
                                                                                  java.lang.Integer[] registrationLocationIds,
                                                                                  java.lang.Integer pageNumber,
                                                                                  java.lang.Integer pageSize)
Description copied from class: LocationLevelDaoBase
Performs the core logic for LocationLevelDaoBase.getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterLocationLevelSinceDateSynchro in class LocationLevelDaoBase
See Also:
LocationLevelDao.getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteLocationLevelFullVO

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

toRemoteLocationLevelFullVO

public RemoteLocationLevelFullVO toRemoteLocationLevelFullVO(LocationLevel entity)
Description copied from interface: LocationLevelDao
Converts this DAO's entity to an object of type RemoteLocationLevelFullVO.

Specified by:
toRemoteLocationLevelFullVO in interface LocationLevelDao
Overrides:
toRemoteLocationLevelFullVO in class LocationLevelDaoBase
See Also:
LocationLevelDao.toRemoteLocationLevelFullVO(fr.ifremer.allegro.referential.location.LocationLevel)

remoteLocationLevelFullVOToEntity

public LocationLevel remoteLocationLevelFullVOToEntity(RemoteLocationLevelFullVO remoteLocationLevelFullVO)
Description copied from interface: LocationLevelDao
Converts an instance of type RemoteLocationLevelFullVO to this DAO's entity.

See Also:
LocationLevelDao.remoteLocationLevelFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

remoteLocationLevelFullVOToEntity

public void remoteLocationLevelFullVOToEntity(RemoteLocationLevelFullVO source,
                                              LocationLevel target,
                                              boolean copyIfNull)
Description copied from interface: LocationLevelDao
Copies the fields of RemoteLocationLevelFullVO to the specified entity.

Specified by:
remoteLocationLevelFullVOToEntity in interface LocationLevelDao
Overrides:
remoteLocationLevelFullVOToEntity in class LocationLevelDaoBase
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.location.LocationLevelDao#remoteLocationLevelFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO, fr.ifremer.allegro.referential.location.LocationLevel)

toRemoteLocationLevelNaturalId

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

toRemoteLocationLevelNaturalId

public RemoteLocationLevelNaturalId toRemoteLocationLevelNaturalId(LocationLevel entity)
Description copied from interface: LocationLevelDao
Converts this DAO's entity to an object of type RemoteLocationLevelNaturalId.

Specified by:
toRemoteLocationLevelNaturalId in interface LocationLevelDao
Overrides:
toRemoteLocationLevelNaturalId in class LocationLevelDaoBase
See Also:
LocationLevelDao.toRemoteLocationLevelNaturalId(fr.ifremer.allegro.referential.location.LocationLevel)

remoteLocationLevelNaturalIdToEntity

public LocationLevel remoteLocationLevelNaturalIdToEntity(RemoteLocationLevelNaturalId remoteLocationLevelNaturalId)
Description copied from interface: LocationLevelDao
Converts an instance of type RemoteLocationLevelNaturalId to this DAO's entity.

See Also:
LocationLevelDao.remoteLocationLevelNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelNaturalId)

remoteLocationLevelNaturalIdToEntity

public void remoteLocationLevelNaturalIdToEntity(RemoteLocationLevelNaturalId source,
                                                 LocationLevel target,
                                                 boolean copyIfNull)
Description copied from interface: LocationLevelDao
Copies the fields of RemoteLocationLevelNaturalId to the specified entity.

Specified by:
remoteLocationLevelNaturalIdToEntity in interface LocationLevelDao
Overrides:
remoteLocationLevelNaturalIdToEntity in class LocationLevelDaoBase
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.location.LocationLevelDao#remoteLocationLevelNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelNaturalId, fr.ifremer.allegro.referential.location.LocationLevel)

toClusterLocationLevel

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

toClusterLocationLevel

public ClusterLocationLevel toClusterLocationLevel(LocationLevel entity)
Description copied from interface: LocationLevelDao
Converts this DAO's entity to an object of type ClusterLocationLevel.

Specified by:
toClusterLocationLevel in interface LocationLevelDao
Overrides:
toClusterLocationLevel in class LocationLevelDaoBase
See Also:
LocationLevelDao.toClusterLocationLevel(fr.ifremer.allegro.referential.location.LocationLevel)

clusterLocationLevelToEntity

public LocationLevel clusterLocationLevelToEntity(ClusterLocationLevel clusterLocationLevel)
Description copied from interface: LocationLevelDao
Converts an instance of type ClusterLocationLevel to this DAO's entity.

See Also:
LocationLevelDao.clusterLocationLevelToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)

clusterLocationLevelToEntity

public void clusterLocationLevelToEntity(ClusterLocationLevel source,
                                         LocationLevel target,
                                         boolean copyIfNull)
Description copied from interface: LocationLevelDao
Copies the fields of ClusterLocationLevel to the specified entity.

Specified by:
clusterLocationLevelToEntity in interface LocationLevelDao
Overrides:
clusterLocationLevelToEntity in class LocationLevelDaoBase
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.location.LocationLevelDao#clusterLocationLevelToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel, fr.ifremer.allegro.referential.location.LocationLevel)


Copyright © 2008-2010 IFREMER. All Rights Reserved.