fr.ifremer.allegro.referential.location
Class LocationAreaDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.location.LocationAreaDaoBase
          extended by fr.ifremer.allegro.referential.location.LocationAreaDaoImpl
All Implemented Interfaces:
LocationAreaDao

public class LocationAreaDaoImpl
extends LocationAreaDaoBase

See Also:
LocationArea

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationAreaDao
TRANSFORM_CLUSTERLOCATIONAREA, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONAREAFULLVO, TRANSFORM_REMOTELOCATIONAREANATURALID
 
Constructor Summary
LocationAreaDaoImpl()
           
 
Method Summary
 LocationArea clusterLocationAreaToEntity(ClusterLocationArea clusterLocationArea)
          Converts an instance of type ClusterLocationArea to this DAO's entity.
 void clusterLocationAreaToEntity(ClusterLocationArea source, LocationArea target, boolean copyIfNull)
          Copies the fields of ClusterLocationArea to the specified entity.
protected  LocationArea handleCreateFromClusterLocationArea(ClusterLocationArea clusterLocationArea)
          Performs the core logic for LocationAreaDaoBase.createFromClusterLocationArea(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationArea)
 LocationArea remoteLocationAreaFullVOToEntity(RemoteLocationAreaFullVO remoteLocationAreaFullVO)
          Converts an instance of type RemoteLocationAreaFullVO to this DAO's entity.
 void remoteLocationAreaFullVOToEntity(RemoteLocationAreaFullVO source, LocationArea target, boolean copyIfNull)
          Copies the fields of RemoteLocationAreaFullVO to the specified entity.
 LocationArea remoteLocationAreaNaturalIdToEntity(RemoteLocationAreaNaturalId remoteLocationAreaNaturalId)
          Converts an instance of type RemoteLocationAreaNaturalId to this DAO's entity.
 void remoteLocationAreaNaturalIdToEntity(RemoteLocationAreaNaturalId source, LocationArea target, boolean copyIfNull)
          Copies the fields of RemoteLocationAreaNaturalId to the specified entity.
 ClusterLocationArea toClusterLocationArea(LocationArea entity)
          Converts this DAO's entity to an object of type ClusterLocationArea.
 void toClusterLocationArea(LocationArea source, ClusterLocationArea target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationAreaFullVO toRemoteLocationAreaFullVO(LocationArea entity)
          Converts this DAO's entity to an object of type RemoteLocationAreaFullVO.
 void toRemoteLocationAreaFullVO(LocationArea source, RemoteLocationAreaFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationAreaNaturalId toRemoteLocationAreaNaturalId(LocationArea entity)
          Converts this DAO's entity to an object of type RemoteLocationAreaNaturalId.
 void toRemoteLocationAreaNaturalId(LocationArea source, RemoteLocationAreaNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.location.LocationAreaDaoBase
clusterLocationAreaToEntityCollection, create, create, create, create, create, create, createFromClusterLocationArea, findLocationAreaById, findLocationAreaById, findLocationAreaById, findLocationAreaById, findLocationAreaByLocation, findLocationAreaByLocation, findLocationAreaByLocation, findLocationAreaByLocation, findLocationAreaByLocation, findLocationAreaByLocation, findLocationAreaByLocation, findLocationAreaByLocation, findLocationAreaByNaturalId, findLocationAreaByNaturalId, findLocationAreaByNaturalId, findLocationAreaByNaturalId, getAllLocationArea, getAllLocationArea, getAllLocationArea, getAllLocationArea, getAllLocationArea, getAllLocationArea, getAllLocationArea, getAllLocationArea, getLocationDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteLocationAreaFullVOToEntityCollection, remoteLocationAreaNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setLocationDao, toClusterLocationArea, toClusterLocationAreaArray, toClusterLocationAreaCollection, toEntity, toRemoteLocationAreaFullVO, toRemoteLocationAreaFullVOArray, toRemoteLocationAreaFullVOCollection, toRemoteLocationAreaNaturalId, toRemoteLocationAreaNaturalIdArray, toRemoteLocationAreaNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationAreaDaoImpl

public LocationAreaDaoImpl()
Method Detail

handleCreateFromClusterLocationArea

protected LocationArea handleCreateFromClusterLocationArea(ClusterLocationArea clusterLocationArea)
Description copied from class: LocationAreaDaoBase
Performs the core logic for LocationAreaDaoBase.createFromClusterLocationArea(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationArea)

Specified by:
handleCreateFromClusterLocationArea in class LocationAreaDaoBase
See Also:
LocationAreaDao.createFromClusterLocationArea(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationArea)

toRemoteLocationAreaFullVO

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

toRemoteLocationAreaFullVO

public RemoteLocationAreaFullVO toRemoteLocationAreaFullVO(LocationArea entity)
Description copied from interface: LocationAreaDao
Converts this DAO's entity to an object of type RemoteLocationAreaFullVO.

Specified by:
toRemoteLocationAreaFullVO in interface LocationAreaDao
Overrides:
toRemoteLocationAreaFullVO in class LocationAreaDaoBase
See Also:
LocationAreaDao.toRemoteLocationAreaFullVO(fr.ifremer.allegro.referential.location.LocationArea)

remoteLocationAreaFullVOToEntity

public LocationArea remoteLocationAreaFullVOToEntity(RemoteLocationAreaFullVO remoteLocationAreaFullVO)
Description copied from interface: LocationAreaDao
Converts an instance of type RemoteLocationAreaFullVO to this DAO's entity.

See Also:
LocationAreaDao.remoteLocationAreaFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

remoteLocationAreaFullVOToEntity

public void remoteLocationAreaFullVOToEntity(RemoteLocationAreaFullVO source,
                                             LocationArea target,
                                             boolean copyIfNull)
Description copied from interface: LocationAreaDao
Copies the fields of RemoteLocationAreaFullVO to the specified entity.

Specified by:
remoteLocationAreaFullVOToEntity in interface LocationAreaDao
Overrides:
remoteLocationAreaFullVOToEntity in class LocationAreaDaoBase
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.LocationAreaDao#remoteLocationAreaFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO, fr.ifremer.allegro.referential.location.LocationArea)

toRemoteLocationAreaNaturalId

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

toRemoteLocationAreaNaturalId

public RemoteLocationAreaNaturalId toRemoteLocationAreaNaturalId(LocationArea entity)
Description copied from interface: LocationAreaDao
Converts this DAO's entity to an object of type RemoteLocationAreaNaturalId.

Specified by:
toRemoteLocationAreaNaturalId in interface LocationAreaDao
Overrides:
toRemoteLocationAreaNaturalId in class LocationAreaDaoBase
See Also:
LocationAreaDao.toRemoteLocationAreaNaturalId(fr.ifremer.allegro.referential.location.LocationArea)

remoteLocationAreaNaturalIdToEntity

public LocationArea remoteLocationAreaNaturalIdToEntity(RemoteLocationAreaNaturalId remoteLocationAreaNaturalId)
Description copied from interface: LocationAreaDao
Converts an instance of type RemoteLocationAreaNaturalId to this DAO's entity.

See Also:
LocationAreaDao.remoteLocationAreaNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaNaturalId)

remoteLocationAreaNaturalIdToEntity

public void remoteLocationAreaNaturalIdToEntity(RemoteLocationAreaNaturalId source,
                                                LocationArea target,
                                                boolean copyIfNull)
Description copied from interface: LocationAreaDao
Copies the fields of RemoteLocationAreaNaturalId to the specified entity.

Specified by:
remoteLocationAreaNaturalIdToEntity in interface LocationAreaDao
Overrides:
remoteLocationAreaNaturalIdToEntity in class LocationAreaDaoBase
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.LocationAreaDao#remoteLocationAreaNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaNaturalId, fr.ifremer.allegro.referential.location.LocationArea)

toClusterLocationArea

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

toClusterLocationArea

public ClusterLocationArea toClusterLocationArea(LocationArea entity)
Description copied from interface: LocationAreaDao
Converts this DAO's entity to an object of type ClusterLocationArea.

Specified by:
toClusterLocationArea in interface LocationAreaDao
Overrides:
toClusterLocationArea in class LocationAreaDaoBase
See Also:
LocationAreaDao.toClusterLocationArea(fr.ifremer.allegro.referential.location.LocationArea)

clusterLocationAreaToEntity

public LocationArea clusterLocationAreaToEntity(ClusterLocationArea clusterLocationArea)
Description copied from interface: LocationAreaDao
Converts an instance of type ClusterLocationArea to this DAO's entity.

See Also:
LocationAreaDao.clusterLocationAreaToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationArea)

clusterLocationAreaToEntity

public void clusterLocationAreaToEntity(ClusterLocationArea source,
                                        LocationArea target,
                                        boolean copyIfNull)
Description copied from interface: LocationAreaDao
Copies the fields of ClusterLocationArea to the specified entity.

Specified by:
clusterLocationAreaToEntity in interface LocationAreaDao
Overrides:
clusterLocationAreaToEntity in class LocationAreaDaoBase
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.LocationAreaDao#clusterLocationAreaToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationArea, fr.ifremer.allegro.referential.location.LocationArea)


Copyright © 2008-2010 IFREMER. All Rights Reserved.