fr.ifremer.allegro.data.fishingArea
Class FishingAreaDaoImpl
java.lang.Object
org.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.data.fishingArea.FishingAreaDaoBase
fr.ifremer.allegro.data.fishingArea.FishingAreaDaoImpl
- All Implemented Interfaces:
- FishingAreaDao
public class FishingAreaDaoImpl
- extends FishingAreaDaoBase
- See Also:
FishingArea
Method Summary |
FishingArea |
clusterFishingAreaToEntity(ClusterFishingArea clusterFishingArea)
Converts an instance of type ClusterFishingArea to this DAO's entity. |
void |
clusterFishingAreaToEntity(ClusterFishingArea source,
FishingArea target,
boolean copyIfNull)
Copies the fields of ClusterFishingArea to the specified entity. |
protected FishingArea |
handleCreateFromClusterFishingArea(ClusterFishingArea clusterFishingArea)
Performs the core logic for FishingAreaDaoBase.createFromClusterFishingArea(fr.ifremer.allegro.data.fishingArea.generic.cluster.ClusterFishingArea) |
protected ClusterFishingArea[] |
handleGetAllClusterFishingArea(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for FishingAreaDaoBase.getAllClusterFishingArea(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
FishingArea |
remoteFishingAreaFullVOToEntity(RemoteFishingAreaFullVO remoteFishingAreaFullVO)
Converts an instance of type RemoteFishingAreaFullVO to this DAO's entity. |
void |
remoteFishingAreaFullVOToEntity(RemoteFishingAreaFullVO source,
FishingArea target,
boolean copyIfNull)
Copies the fields of RemoteFishingAreaFullVO to the specified entity. |
FishingArea |
remoteFishingAreaNaturalIdToEntity(RemoteFishingAreaNaturalId remoteFishingAreaNaturalId)
Converts an instance of type RemoteFishingAreaNaturalId to this DAO's entity. |
void |
remoteFishingAreaNaturalIdToEntity(RemoteFishingAreaNaturalId source,
FishingArea target,
boolean copyIfNull)
Copies the fields of RemoteFishingAreaNaturalId to the specified entity. |
ClusterFishingArea |
toClusterFishingArea(FishingArea entity)
Converts this DAO's entity to an object of type ClusterFishingArea . |
void |
toClusterFishingArea(FishingArea source,
ClusterFishingArea target)
Copies the fields of the specified entity to the target value object. |
RemoteFishingAreaFullVO |
toRemoteFishingAreaFullVO(FishingArea entity)
Converts this DAO's entity to an object of type RemoteFishingAreaFullVO . |
void |
toRemoteFishingAreaFullVO(FishingArea source,
RemoteFishingAreaFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteFishingAreaNaturalId |
toRemoteFishingAreaNaturalId(FishingArea entity)
Converts this DAO's entity to an object of type RemoteFishingAreaNaturalId . |
void |
toRemoteFishingAreaNaturalId(FishingArea source,
RemoteFishingAreaNaturalId target)
Copies the fields of the specified entity to the target value object. |
Methods inherited from class fr.ifremer.allegro.data.fishingArea.FishingAreaDaoBase |
clusterFishingAreaToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterFishingArea, findFishingAreaByDepthGradient, findFishingAreaByDepthGradient, findFishingAreaByDepthGradient, findFishingAreaByDepthGradient, findFishingAreaByDepthGradient, findFishingAreaByDepthGradient, findFishingAreaByDepthGradient, findFishingAreaByDepthGradient, findFishingAreaByDistanceToCoastGradient, findFishingAreaByDistanceToCoastGradient, findFishingAreaByDistanceToCoastGradient, findFishingAreaByDistanceToCoastGradient, findFishingAreaByDistanceToCoastGradient, findFishingAreaByDistanceToCoastGradient, findFishingAreaByDistanceToCoastGradient, findFishingAreaByDistanceToCoastGradient, findFishingAreaByGearUseFeatures, findFishingAreaByGearUseFeatures, findFishingAreaByGearUseFeatures, findFishingAreaByGearUseFeatures, findFishingAreaByGearUseFeatures, findFishingAreaByGearUseFeatures, findFishingAreaByGearUseFeatures, findFishingAreaByGearUseFeatures, findFishingAreaById, findFishingAreaById, findFishingAreaById, findFishingAreaById, findFishingAreaByLocation, findFishingAreaByLocation, findFishingAreaByLocation, findFishingAreaByLocation, findFishingAreaByLocation, findFishingAreaByLocation, findFishingAreaByLocation, findFishingAreaByLocation, findFishingAreaByNaturalId, findFishingAreaByNaturalId, findFishingAreaByNaturalId, findFishingAreaByNaturalId, findFishingAreaByNearbySpecificArea, findFishingAreaByNearbySpecificArea, findFishingAreaByNearbySpecificArea, findFishingAreaByNearbySpecificArea, findFishingAreaByNearbySpecificArea, findFishingAreaByNearbySpecificArea, findFishingAreaByNearbySpecificArea, findFishingAreaByNearbySpecificArea, findFishingAreaBySample, findFishingAreaBySample, findFishingAreaBySample, findFishingAreaBySample, findFishingAreaBySample, findFishingAreaBySample, findFishingAreaBySample, findFishingAreaBySample, findFishingAreaByVesselUseFeatures, findFishingAreaByVesselUseFeatures, findFishingAreaByVesselUseFeatures, findFishingAreaByVesselUseFeatures, findFishingAreaByVesselUseFeatures, findFishingAreaByVesselUseFeatures, findFishingAreaByVesselUseFeatures, findFishingAreaByVesselUseFeatures, getAllClusterFishingArea, getAllFishingArea, getAllFishingArea, getAllFishingArea, getAllFishingArea, getAllFishingArea, getAllFishingArea, getAllFishingArea, getAllFishingArea, getDepthGradientDao, getDistanceToCoastGradientDao, getFisheryDao, getFishingArea2RegulationLocationDao, getGearUseFeaturesDao, getLocationDao, getNearbySpecificAreaDao, getPrincipal, getSampleDao, getVesselUseFeaturesDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteFishingAreaFullVOToEntityCollection, remoteFishingAreaNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setDepthGradientDao, setDistanceToCoastGradientDao, setFisheryDao, setFishingArea2RegulationLocationDao, setGearUseFeaturesDao, setLocationDao, setNearbySpecificAreaDao, setSampleDao, setVesselUseFeaturesDao, toClusterFishingArea, toClusterFishingAreaArray, toClusterFishingAreaCollection, toEntity, toRemoteFishingAreaFullVO, toRemoteFishingAreaFullVOArray, toRemoteFishingAreaFullVOCollection, toRemoteFishingAreaNaturalId, toRemoteFishingAreaNaturalIdArray, toRemoteFishingAreaNaturalIdCollection, transformEntities, transformEntity, update, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FishingAreaDaoImpl
public FishingAreaDaoImpl()
handleCreateFromClusterFishingArea
protected FishingArea handleCreateFromClusterFishingArea(ClusterFishingArea clusterFishingArea)
- Description copied from class:
FishingAreaDaoBase
- Performs the core logic for
FishingAreaDaoBase.createFromClusterFishingArea(fr.ifremer.allegro.data.fishingArea.generic.cluster.ClusterFishingArea)
- Specified by:
handleCreateFromClusterFishingArea
in class FishingAreaDaoBase
- See Also:
FishingAreaDao.createFromClusterFishingArea(fr.ifremer.allegro.data.fishingArea.generic.cluster.ClusterFishingArea)
handleGetAllClusterFishingArea
protected ClusterFishingArea[] handleGetAllClusterFishingArea(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
- Description copied from class:
FishingAreaDaoBase
- Performs the core logic for
FishingAreaDaoBase.getAllClusterFishingArea(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
- Specified by:
handleGetAllClusterFishingArea
in class FishingAreaDaoBase
- See Also:
FishingAreaDao.getAllClusterFishingArea(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
toRemoteFishingAreaFullVO
public void toRemoteFishingAreaFullVO(FishingArea source,
RemoteFishingAreaFullVO target)
- Description copied from interface:
FishingAreaDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toRemoteFishingAreaFullVO(), 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:
toRemoteFishingAreaFullVO
in interface FishingAreaDao
- Overrides:
toRemoteFishingAreaFullVO
in class FishingAreaDaoBase
- See Also:
FishingAreaDao.toRemoteFishingAreaFullVO(fr.ifremer.allegro.data.fishingArea.FishingArea, fr.ifremer.allegro.data.fishingArea.generic.vo.RemoteFishingAreaFullVO)
toRemoteFishingAreaFullVO
public RemoteFishingAreaFullVO toRemoteFishingAreaFullVO(FishingArea entity)
- Description copied from interface:
FishingAreaDao
- Converts this DAO's entity to an object of type
RemoteFishingAreaFullVO
.
- Specified by:
toRemoteFishingAreaFullVO
in interface FishingAreaDao
- Overrides:
toRemoteFishingAreaFullVO
in class FishingAreaDaoBase
- See Also:
FishingAreaDao.toRemoteFishingAreaFullVO(fr.ifremer.allegro.data.fishingArea.FishingArea)
remoteFishingAreaFullVOToEntity
public FishingArea remoteFishingAreaFullVOToEntity(RemoteFishingAreaFullVO remoteFishingAreaFullVO)
- Description copied from interface:
FishingAreaDao
- Converts an instance of type
RemoteFishingAreaFullVO
to this DAO's entity.
- See Also:
FishingAreaDao.remoteFishingAreaFullVOToEntity(fr.ifremer.allegro.data.fishingArea.generic.vo.RemoteFishingAreaFullVO)
remoteFishingAreaFullVOToEntity
public void remoteFishingAreaFullVOToEntity(RemoteFishingAreaFullVO source,
FishingArea target,
boolean copyIfNull)
- Description copied from interface:
FishingAreaDao
- Copies the fields of
RemoteFishingAreaFullVO
to the specified entity.
- Specified by:
remoteFishingAreaFullVOToEntity
in interface FishingAreaDao
- Overrides:
remoteFishingAreaFullVOToEntity
in class FishingAreaDaoBase
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.data.fishingArea.FishingAreaDao#remoteFishingAreaFullVOToEntity(fr.ifremer.allegro.data.fishingArea.generic.vo.RemoteFishingAreaFullVO, fr.ifremer.allegro.data.fishingArea.FishingArea)
toRemoteFishingAreaNaturalId
public void toRemoteFishingAreaNaturalId(FishingArea source,
RemoteFishingAreaNaturalId target)
- Description copied from interface:
FishingAreaDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toRemoteFishingAreaNaturalId(), 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:
toRemoteFishingAreaNaturalId
in interface FishingAreaDao
- Overrides:
toRemoteFishingAreaNaturalId
in class FishingAreaDaoBase
- See Also:
FishingAreaDao.toRemoteFishingAreaNaturalId(fr.ifremer.allegro.data.fishingArea.FishingArea, fr.ifremer.allegro.data.fishingArea.generic.vo.RemoteFishingAreaNaturalId)
toRemoteFishingAreaNaturalId
public RemoteFishingAreaNaturalId toRemoteFishingAreaNaturalId(FishingArea entity)
- Description copied from interface:
FishingAreaDao
- Converts this DAO's entity to an object of type
RemoteFishingAreaNaturalId
.
- Specified by:
toRemoteFishingAreaNaturalId
in interface FishingAreaDao
- Overrides:
toRemoteFishingAreaNaturalId
in class FishingAreaDaoBase
- See Also:
FishingAreaDao.toRemoteFishingAreaNaturalId(fr.ifremer.allegro.data.fishingArea.FishingArea)
remoteFishingAreaNaturalIdToEntity
public FishingArea remoteFishingAreaNaturalIdToEntity(RemoteFishingAreaNaturalId remoteFishingAreaNaturalId)
- Description copied from interface:
FishingAreaDao
- Converts an instance of type
RemoteFishingAreaNaturalId
to this DAO's entity.
- See Also:
FishingAreaDao.remoteFishingAreaNaturalIdToEntity(fr.ifremer.allegro.data.fishingArea.generic.vo.RemoteFishingAreaNaturalId)
remoteFishingAreaNaturalIdToEntity
public void remoteFishingAreaNaturalIdToEntity(RemoteFishingAreaNaturalId source,
FishingArea target,
boolean copyIfNull)
- Description copied from interface:
FishingAreaDao
- Copies the fields of
RemoteFishingAreaNaturalId
to the specified entity.
- Specified by:
remoteFishingAreaNaturalIdToEntity
in interface FishingAreaDao
- Overrides:
remoteFishingAreaNaturalIdToEntity
in class FishingAreaDaoBase
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.data.fishingArea.FishingAreaDao#remoteFishingAreaNaturalIdToEntity(fr.ifremer.allegro.data.fishingArea.generic.vo.RemoteFishingAreaNaturalId, fr.ifremer.allegro.data.fishingArea.FishingArea)
toClusterFishingArea
public void toClusterFishingArea(FishingArea source,
ClusterFishingArea target)
- Description copied from interface:
FishingAreaDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toClusterFishingArea(), 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:
toClusterFishingArea
in interface FishingAreaDao
- Overrides:
toClusterFishingArea
in class FishingAreaDaoBase
- See Also:
FishingAreaDao.toClusterFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea, fr.ifremer.allegro.data.fishingArea.generic.cluster.ClusterFishingArea)
toClusterFishingArea
public ClusterFishingArea toClusterFishingArea(FishingArea entity)
- Description copied from interface:
FishingAreaDao
- Converts this DAO's entity to an object of type
ClusterFishingArea
.
- Specified by:
toClusterFishingArea
in interface FishingAreaDao
- Overrides:
toClusterFishingArea
in class FishingAreaDaoBase
- See Also:
FishingAreaDao.toClusterFishingArea(fr.ifremer.allegro.data.fishingArea.FishingArea)
clusterFishingAreaToEntity
public FishingArea clusterFishingAreaToEntity(ClusterFishingArea clusterFishingArea)
- Description copied from interface:
FishingAreaDao
- Converts an instance of type
ClusterFishingArea
to this DAO's entity.
- See Also:
FishingAreaDao.clusterFishingAreaToEntity(fr.ifremer.allegro.data.fishingArea.generic.cluster.ClusterFishingArea)
clusterFishingAreaToEntity
public void clusterFishingAreaToEntity(ClusterFishingArea source,
FishingArea target,
boolean copyIfNull)
- Description copied from interface:
FishingAreaDao
- Copies the fields of
ClusterFishingArea
to the specified entity.
- Specified by:
clusterFishingAreaToEntity
in interface FishingAreaDao
- Overrides:
clusterFishingAreaToEntity
in class FishingAreaDaoBase
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.data.fishingArea.FishingAreaDao#clusterFishingAreaToEntity(fr.ifremer.allegro.data.fishingArea.generic.cluster.ClusterFishingArea, fr.ifremer.allegro.data.fishingArea.FishingArea)
Copyright © 2008-2010 IFREMER. All Rights Reserved.