fr.ifremer.allegro.referential.location
Class LocationClassificationDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.location.LocationClassificationDaoBase
          extended by fr.ifremer.allegro.referential.location.LocationClassificationDaoImpl
All Implemented Interfaces:
LocationClassificationDao

public class LocationClassificationDaoImpl
extends LocationClassificationDaoBase

See Also:
LocationClassification

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationClassificationDao
TRANSFORM_CLUSTERLOCATIONCLASSIFICATION, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONCLASSIFICATIONFULLVO, TRANSFORM_REMOTELOCATIONCLASSIFICATIONNATURALID
 
Constructor Summary
LocationClassificationDaoImpl()
           
 
Method Summary
 LocationClassification clusterLocationClassificationToEntity(ClusterLocationClassification clusterLocationClassification)
          Converts an instance of type ClusterLocationClassification to this DAO's entity.
 void clusterLocationClassificationToEntity(ClusterLocationClassification source, LocationClassification target, boolean copyIfNull)
          Copies the fields of ClusterLocationClassification to the specified entity.
protected  LocationClassification handleCreateFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification)
          Performs the core logic for LocationClassificationDaoBase.createFromClusterLocationClassification(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)
protected  ClusterLocationClassification[] handleGetAllClusterLocationClassificationSinceDateSynchro(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 LocationClassificationDaoBase.getAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 LocationClassification remoteLocationClassificationFullVOToEntity(RemoteLocationClassificationFullVO remoteLocationClassificationFullVO)
          Converts an instance of type RemoteLocationClassificationFullVO to this DAO's entity.
 void remoteLocationClassificationFullVOToEntity(RemoteLocationClassificationFullVO source, LocationClassification target, boolean copyIfNull)
          Copies the fields of RemoteLocationClassificationFullVO to the specified entity.
 LocationClassification remoteLocationClassificationNaturalIdToEntity(RemoteLocationClassificationNaturalId remoteLocationClassificationNaturalId)
          Converts an instance of type RemoteLocationClassificationNaturalId to this DAO's entity.
 void remoteLocationClassificationNaturalIdToEntity(RemoteLocationClassificationNaturalId source, LocationClassification target, boolean copyIfNull)
          Copies the fields of RemoteLocationClassificationNaturalId to the specified entity.
 ClusterLocationClassification toClusterLocationClassification(LocationClassification entity)
          Converts this DAO's entity to an object of type ClusterLocationClassification.
 void toClusterLocationClassification(LocationClassification source, ClusterLocationClassification target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationClassificationFullVO toRemoteLocationClassificationFullVO(LocationClassification entity)
          Converts this DAO's entity to an object of type RemoteLocationClassificationFullVO.
 void toRemoteLocationClassificationFullVO(LocationClassification source, RemoteLocationClassificationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationClassificationNaturalId toRemoteLocationClassificationNaturalId(LocationClassification entity)
          Converts this DAO's entity to an object of type RemoteLocationClassificationNaturalId.
 void toRemoteLocationClassificationNaturalId(LocationClassification source, RemoteLocationClassificationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.location.LocationClassificationDaoBase
clusterLocationClassificationToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterLocationClassification, findLocationClassificationById, findLocationClassificationById, findLocationClassificationById, findLocationClassificationById, findLocationClassificationByNaturalId, findLocationClassificationByNaturalId, findLocationClassificationByNaturalId, findLocationClassificationByNaturalId, getAllClusterLocationClassificationSinceDateSynchro, getAllLocationClassification, getAllLocationClassification, getAllLocationClassification, getAllLocationClassification, getAllLocationClassification, getAllLocationClassification, getAllLocationClassification, getAllLocationClassification, getAllLocationClassificationSinceDateSynchro, getAllLocationClassificationSinceDateSynchro, getAllLocationClassificationSinceDateSynchro, getAllLocationClassificationSinceDateSynchro, getAllLocationClassificationSinceDateSynchro, getAllLocationClassificationSinceDateSynchro, getAllLocationClassificationSinceDateSynchro, getAllLocationClassificationSinceDateSynchro, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteLocationClassificationFullVOToEntityCollection, remoteLocationClassificationNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, toClusterLocationClassification, toClusterLocationClassificationArray, toClusterLocationClassificationCollection, toEntity, toRemoteLocationClassificationFullVO, toRemoteLocationClassificationFullVOArray, toRemoteLocationClassificationFullVOCollection, toRemoteLocationClassificationNaturalId, toRemoteLocationClassificationNaturalIdArray, toRemoteLocationClassificationNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationClassificationDaoImpl

public LocationClassificationDaoImpl()
Method Detail

handleCreateFromClusterLocationClassification

protected LocationClassification handleCreateFromClusterLocationClassification(ClusterLocationClassification clusterLocationClassification)
Description copied from class: LocationClassificationDaoBase
Performs the core logic for LocationClassificationDaoBase.createFromClusterLocationClassification(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)

Specified by:
handleCreateFromClusterLocationClassification in class LocationClassificationDaoBase
See Also:
LocationClassificationDao.createFromClusterLocationClassification(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)

handleGetAllClusterLocationClassificationSinceDateSynchro

protected ClusterLocationClassification[] handleGetAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                                    java.lang.Integer userId,
                                                                                                    java.lang.Integer[] registrationLocationIds,
                                                                                                    java.lang.Integer pageNumber,
                                                                                                    java.lang.Integer pageSize)
Description copied from class: LocationClassificationDaoBase
Performs the core logic for LocationClassificationDaoBase.getAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterLocationClassificationSinceDateSynchro in class LocationClassificationDaoBase
See Also:
LocationClassificationDao.getAllClusterLocationClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteLocationClassificationFullVO

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

toRemoteLocationClassificationFullVO

public RemoteLocationClassificationFullVO toRemoteLocationClassificationFullVO(LocationClassification entity)
Description copied from interface: LocationClassificationDao
Converts this DAO's entity to an object of type RemoteLocationClassificationFullVO.

Specified by:
toRemoteLocationClassificationFullVO in interface LocationClassificationDao
Overrides:
toRemoteLocationClassificationFullVO in class LocationClassificationDaoBase
See Also:
LocationClassificationDao.toRemoteLocationClassificationFullVO(fr.ifremer.allegro.referential.location.LocationClassification)

remoteLocationClassificationFullVOToEntity

public LocationClassification remoteLocationClassificationFullVOToEntity(RemoteLocationClassificationFullVO remoteLocationClassificationFullVO)
Description copied from interface: LocationClassificationDao
Converts an instance of type RemoteLocationClassificationFullVO to this DAO's entity.

See Also:
LocationClassificationDao.remoteLocationClassificationFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationFullVO)

remoteLocationClassificationFullVOToEntity

public void remoteLocationClassificationFullVOToEntity(RemoteLocationClassificationFullVO source,
                                                       LocationClassification target,
                                                       boolean copyIfNull)
Description copied from interface: LocationClassificationDao
Copies the fields of RemoteLocationClassificationFullVO to the specified entity.

Specified by:
remoteLocationClassificationFullVOToEntity in interface LocationClassificationDao
Overrides:
remoteLocationClassificationFullVOToEntity in class LocationClassificationDaoBase
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.LocationClassificationDao#remoteLocationClassificationFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationFullVO, fr.ifremer.allegro.referential.location.LocationClassification)

toRemoteLocationClassificationNaturalId

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

toRemoteLocationClassificationNaturalId

public RemoteLocationClassificationNaturalId toRemoteLocationClassificationNaturalId(LocationClassification entity)
Description copied from interface: LocationClassificationDao
Converts this DAO's entity to an object of type RemoteLocationClassificationNaturalId.

Specified by:
toRemoteLocationClassificationNaturalId in interface LocationClassificationDao
Overrides:
toRemoteLocationClassificationNaturalId in class LocationClassificationDaoBase
See Also:
LocationClassificationDao.toRemoteLocationClassificationNaturalId(fr.ifremer.allegro.referential.location.LocationClassification)

remoteLocationClassificationNaturalIdToEntity

public LocationClassification remoteLocationClassificationNaturalIdToEntity(RemoteLocationClassificationNaturalId remoteLocationClassificationNaturalId)
Description copied from interface: LocationClassificationDao
Converts an instance of type RemoteLocationClassificationNaturalId to this DAO's entity.

See Also:
LocationClassificationDao.remoteLocationClassificationNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationNaturalId)

remoteLocationClassificationNaturalIdToEntity

public void remoteLocationClassificationNaturalIdToEntity(RemoteLocationClassificationNaturalId source,
                                                          LocationClassification target,
                                                          boolean copyIfNull)
Description copied from interface: LocationClassificationDao
Copies the fields of RemoteLocationClassificationNaturalId to the specified entity.

Specified by:
remoteLocationClassificationNaturalIdToEntity in interface LocationClassificationDao
Overrides:
remoteLocationClassificationNaturalIdToEntity in class LocationClassificationDaoBase
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.LocationClassificationDao#remoteLocationClassificationNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationClassificationNaturalId, fr.ifremer.allegro.referential.location.LocationClassification)

toClusterLocationClassification

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

toClusterLocationClassification

public ClusterLocationClassification toClusterLocationClassification(LocationClassification entity)
Description copied from interface: LocationClassificationDao
Converts this DAO's entity to an object of type ClusterLocationClassification.

Specified by:
toClusterLocationClassification in interface LocationClassificationDao
Overrides:
toClusterLocationClassification in class LocationClassificationDaoBase
See Also:
LocationClassificationDao.toClusterLocationClassification(fr.ifremer.allegro.referential.location.LocationClassification)

clusterLocationClassificationToEntity

public LocationClassification clusterLocationClassificationToEntity(ClusterLocationClassification clusterLocationClassification)
Description copied from interface: LocationClassificationDao
Converts an instance of type ClusterLocationClassification to this DAO's entity.

See Also:
LocationClassificationDao.clusterLocationClassificationToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification)

clusterLocationClassificationToEntity

public void clusterLocationClassificationToEntity(ClusterLocationClassification source,
                                                  LocationClassification target,
                                                  boolean copyIfNull)
Description copied from interface: LocationClassificationDao
Copies the fields of ClusterLocationClassification to the specified entity.

Specified by:
clusterLocationClassificationToEntity in interface LocationClassificationDao
Overrides:
clusterLocationClassificationToEntity in class LocationClassificationDaoBase
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.LocationClassificationDao#clusterLocationClassificationToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationClassification, fr.ifremer.allegro.referential.location.LocationClassification)


Copyright © 2008-2010 IFREMER. All Rights Reserved.