fr.ifremer.allegro.data.vessel.feature.use
Class GearUseFeaturesDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDaoBase
          extended by fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDaoImpl
              extended by fr.ifremer.allegro.data.vessel.feature.use.GearUseFeaturesDaoBase
                  extended by fr.ifremer.allegro.data.vessel.feature.use.GearUseFeaturesDaoImpl
All Implemented Interfaces:
GearUseFeaturesDao, UseFeaturesDao
Direct Known Subclasses:
MetierUseFeaturesDaoBase

public class GearUseFeaturesDaoImpl
extends GearUseFeaturesDaoBase

See Also:
GearUseFeatures

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.vessel.feature.use.GearUseFeaturesDao
TRANSFORM_CLUSTERGEARUSEFEATURES, TRANSFORM_REMOTEGEARUSEFEATURESFULLVO, TRANSFORM_REMOTEGEARUSEFEATURESNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDao
TRANSFORM_CLUSTERUSEFEATURES, TRANSFORM_NONE, TRANSFORM_REMOTEUSEFEATURESFULLVO, TRANSFORM_REMOTEUSEFEATURESNATURALID
 
Constructor Summary
GearUseFeaturesDaoImpl()
           
 
Method Summary
 GearUseFeatures clusterGearUseFeaturesToEntity(ClusterGearUseFeatures clusterGearUseFeatures)
          Converts an instance of type ClusterGearUseFeatures to this DAO's entity.
 void clusterGearUseFeaturesToEntity(ClusterGearUseFeatures source, GearUseFeatures target, boolean copyIfNull)
          Copies the fields of ClusterGearUseFeatures to the specified entity.
protected  GearUseFeatures handleCreateFromClusterGearUseFeatures(ClusterGearUseFeatures clusterGearUseFeatures)
          Performs the core logic for GearUseFeaturesDaoBase.createFromClusterGearUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterGearUseFeatures)
protected  ClusterGearUseFeatures[] handleGetAllClusterGearUseFeaturesSinceDateSynchro(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 GearUseFeaturesDaoBase.getAllClusterGearUseFeaturesSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 GearUseFeatures remoteGearUseFeaturesFullVOToEntity(RemoteGearUseFeaturesFullVO remoteGearUseFeaturesFullVO)
          Converts an instance of type RemoteGearUseFeaturesFullVO to this DAO's entity.
 void remoteGearUseFeaturesFullVOToEntity(RemoteGearUseFeaturesFullVO source, GearUseFeatures target, boolean copyIfNull)
          Copies the fields of RemoteGearUseFeaturesFullVO to the specified entity.
 GearUseFeatures remoteGearUseFeaturesNaturalIdToEntity(RemoteGearUseFeaturesNaturalId remoteGearUseFeaturesNaturalId)
          Converts an instance of type RemoteGearUseFeaturesNaturalId to this DAO's entity.
 void remoteGearUseFeaturesNaturalIdToEntity(RemoteGearUseFeaturesNaturalId source, GearUseFeatures target, boolean copyIfNull)
          Copies the fields of RemoteGearUseFeaturesNaturalId to the specified entity.
 ClusterGearUseFeatures toClusterGearUseFeatures(GearUseFeatures entity)
          Converts this DAO's entity to an object of type ClusterGearUseFeatures.
 void toClusterGearUseFeatures(GearUseFeatures source, ClusterGearUseFeatures target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearUseFeaturesFullVO toRemoteGearUseFeaturesFullVO(GearUseFeatures entity)
          Converts this DAO's entity to an object of type RemoteGearUseFeaturesFullVO.
 void toRemoteGearUseFeaturesFullVO(GearUseFeatures source, RemoteGearUseFeaturesFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearUseFeaturesNaturalId toRemoteGearUseFeaturesNaturalId(GearUseFeatures entity)
          Converts this DAO's entity to an object of type RemoteGearUseFeaturesNaturalId.
 void toRemoteGearUseFeaturesNaturalId(GearUseFeatures source, RemoteGearUseFeaturesNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.vessel.feature.use.GearUseFeaturesDaoBase
clusterGearUseFeaturesToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterGearUseFeatures, findGearUseFeaturesByFishingEffortCalendar, findGearUseFeaturesByFishingEffortCalendar, findGearUseFeaturesByFishingEffortCalendar, findGearUseFeaturesByFishingEffortCalendar, findGearUseFeaturesByFishingEffortCalendar, findGearUseFeaturesByFishingEffortCalendar, findGearUseFeaturesByFishingEffortCalendar, findGearUseFeaturesByFishingEffortCalendar, findGearUseFeaturesByGear, findGearUseFeaturesByGear, findGearUseFeaturesByGear, findGearUseFeaturesByGear, findGearUseFeaturesByGear, findGearUseFeaturesByGear, findGearUseFeaturesByGear, findGearUseFeaturesByGear, findGearUseFeaturesById, findGearUseFeaturesById, findGearUseFeaturesById, findGearUseFeaturesById, findGearUseFeaturesByNaturalId, findGearUseFeaturesByNaturalId, findGearUseFeaturesByNaturalId, findGearUseFeaturesByNaturalId, findGearUseFeaturesByOperation, findGearUseFeaturesByOperation, findGearUseFeaturesByOperation, findGearUseFeaturesByOperation, findGearUseFeaturesByOperation, findGearUseFeaturesByOperation, findGearUseFeaturesByOperation, findGearUseFeaturesByOperation, findGearUseFeaturesByProgram, findGearUseFeaturesByProgram, findGearUseFeaturesByProgram, findGearUseFeaturesByProgram, findGearUseFeaturesByProgram, findGearUseFeaturesByProgram, findGearUseFeaturesByProgram, findGearUseFeaturesByProgram, findGearUseFeaturesByQualityFlag, findGearUseFeaturesByQualityFlag, findGearUseFeaturesByQualityFlag, findGearUseFeaturesByQualityFlag, findGearUseFeaturesByQualityFlag, findGearUseFeaturesByQualityFlag, findGearUseFeaturesByQualityFlag, findGearUseFeaturesByQualityFlag, findGearUseFeaturesByVessel, findGearUseFeaturesByVessel, findGearUseFeaturesByVessel, findGearUseFeaturesByVessel, findGearUseFeaturesByVessel, findGearUseFeaturesByVessel, findGearUseFeaturesByVessel, findGearUseFeaturesByVessel, findUseFeaturesById, findUseFeaturesById, findUseFeaturesById, findUseFeaturesById, findUseFeaturesByNaturalId, findUseFeaturesByNaturalId, findUseFeaturesByNaturalId, findUseFeaturesByNaturalId, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, getAllClusterGearUseFeaturesSinceDateSynchro, getAllGearUseFeatures, getAllGearUseFeatures, getAllGearUseFeatures, getAllGearUseFeatures, getAllGearUseFeatures, getAllGearUseFeatures, getAllGearUseFeatures, getAllGearUseFeatures, getAllGearUseFeaturesSinceDateSynchro, getAllGearUseFeaturesSinceDateSynchro, getAllGearUseFeaturesSinceDateSynchro, getAllGearUseFeaturesSinceDateSynchro, getAllGearUseFeaturesSinceDateSynchro, getAllGearUseFeaturesSinceDateSynchro, getAllGearUseFeaturesSinceDateSynchro, getAllGearUseFeaturesSinceDateSynchro, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getFishingAreaDao, getFishingEffortCalendarDao, getGearDao, getGearUseFeaturesOriginDao, getGearUseMeasurementDao, getOperationDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteGearUseFeaturesFullVOToEntityCollection, remoteGearUseFeaturesNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setFishingAreaDao, setFishingEffortCalendarDao, setGearDao, setGearUseFeaturesOriginDao, setGearUseMeasurementDao, setOperationDao, toClusterGearUseFeatures, toClusterGearUseFeaturesArray, toClusterGearUseFeaturesCollection, toEntity, toRemoteGearUseFeaturesFullVO, toRemoteGearUseFeaturesFullVOArray, toRemoteGearUseFeaturesFullVOCollection, toRemoteGearUseFeaturesNaturalId, toRemoteGearUseFeaturesNaturalIdArray, toRemoteGearUseFeaturesNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDaoImpl
clusterUseFeaturesToEntity, clusterUseFeaturesToEntity, remoteUseFeaturesFullVOToEntity, remoteUseFeaturesFullVOToEntity, remoteUseFeaturesNaturalIdToEntity, remoteUseFeaturesNaturalIdToEntity, toClusterUseFeatures, toClusterUseFeatures, toRemoteUseFeaturesFullVO, toRemoteUseFeaturesFullVO, toRemoteUseFeaturesNaturalId, toRemoteUseFeaturesNaturalId
 
Methods inherited from class fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDaoBase
clusterUseFeaturesToEntityCollection, getProgramDao, getQualityFlagDao, getVesselDao, remoteUseFeaturesFullVOToEntityCollection, remoteUseFeaturesNaturalIdToEntityCollection, remove, setProgramDao, setQualityFlagDao, setVesselDao, toClusterUseFeatures, toClusterUseFeaturesArray, toClusterUseFeaturesCollection, toRemoteUseFeaturesFullVO, toRemoteUseFeaturesFullVOArray, toRemoteUseFeaturesFullVOCollection, toRemoteUseFeaturesNaturalId, toRemoteUseFeaturesNaturalIdArray, toRemoteUseFeaturesNaturalIdCollection, transformEntity, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDao
clusterUseFeaturesToEntity, clusterUseFeaturesToEntity, clusterUseFeaturesToEntityCollection, remoteUseFeaturesFullVOToEntity, remoteUseFeaturesFullVOToEntity, remoteUseFeaturesFullVOToEntityCollection, remoteUseFeaturesNaturalIdToEntity, remoteUseFeaturesNaturalIdToEntity, remoteUseFeaturesNaturalIdToEntityCollection, remove, toClusterUseFeatures, toClusterUseFeatures, toClusterUseFeaturesArray, toClusterUseFeaturesCollection, toRemoteUseFeaturesFullVO, toRemoteUseFeaturesFullVO, toRemoteUseFeaturesFullVOArray, toRemoteUseFeaturesFullVOCollection, toRemoteUseFeaturesNaturalId, toRemoteUseFeaturesNaturalId, toRemoteUseFeaturesNaturalIdArray, toRemoteUseFeaturesNaturalIdCollection, update
 

Constructor Detail

GearUseFeaturesDaoImpl

public GearUseFeaturesDaoImpl()
Method Detail

handleCreateFromClusterGearUseFeatures

protected GearUseFeatures handleCreateFromClusterGearUseFeatures(ClusterGearUseFeatures clusterGearUseFeatures)
Description copied from class: GearUseFeaturesDaoBase
Performs the core logic for GearUseFeaturesDaoBase.createFromClusterGearUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterGearUseFeatures)

Specified by:
handleCreateFromClusterGearUseFeatures in class GearUseFeaturesDaoBase
See Also:
GearUseFeaturesDao.createFromClusterGearUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterGearUseFeatures)

handleGetAllClusterGearUseFeaturesSinceDateSynchro

protected ClusterGearUseFeatures[] handleGetAllClusterGearUseFeaturesSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                      java.lang.Integer userId,
                                                                                      java.lang.Integer[] registrationLocationIds,
                                                                                      java.lang.Integer pageNumber,
                                                                                      java.lang.Integer pageSize)
Description copied from class: GearUseFeaturesDaoBase
Performs the core logic for GearUseFeaturesDaoBase.getAllClusterGearUseFeaturesSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterGearUseFeaturesSinceDateSynchro in class GearUseFeaturesDaoBase
See Also:
GearUseFeaturesDao.getAllClusterGearUseFeaturesSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteGearUseFeaturesFullVO

public void toRemoteGearUseFeaturesFullVO(GearUseFeatures source,
                                          RemoteGearUseFeaturesFullVO target)
Description copied from interface: GearUseFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteGearUseFeaturesFullVO(), 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:
toRemoteGearUseFeaturesFullVO in interface GearUseFeaturesDao
Overrides:
toRemoteGearUseFeaturesFullVO in class GearUseFeaturesDaoBase
See Also:
GearUseFeaturesDao.toRemoteGearUseFeaturesFullVO(fr.ifremer.allegro.data.vessel.feature.use.GearUseFeatures, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteGearUseFeaturesFullVO)

toRemoteGearUseFeaturesFullVO

public RemoteGearUseFeaturesFullVO toRemoteGearUseFeaturesFullVO(GearUseFeatures entity)
Description copied from interface: GearUseFeaturesDao
Converts this DAO's entity to an object of type RemoteGearUseFeaturesFullVO.

Specified by:
toRemoteGearUseFeaturesFullVO in interface GearUseFeaturesDao
Overrides:
toRemoteGearUseFeaturesFullVO in class GearUseFeaturesDaoBase
See Also:
GearUseFeaturesDao.toRemoteGearUseFeaturesFullVO(fr.ifremer.allegro.data.vessel.feature.use.GearUseFeatures)

remoteGearUseFeaturesFullVOToEntity

public GearUseFeatures remoteGearUseFeaturesFullVOToEntity(RemoteGearUseFeaturesFullVO remoteGearUseFeaturesFullVO)
Description copied from interface: GearUseFeaturesDao
Converts an instance of type RemoteGearUseFeaturesFullVO to this DAO's entity.

See Also:
GearUseFeaturesDao.remoteGearUseFeaturesFullVOToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteGearUseFeaturesFullVO)

remoteGearUseFeaturesFullVOToEntity

public void remoteGearUseFeaturesFullVOToEntity(RemoteGearUseFeaturesFullVO source,
                                                GearUseFeatures target,
                                                boolean copyIfNull)
Description copied from interface: GearUseFeaturesDao
Copies the fields of RemoteGearUseFeaturesFullVO to the specified entity.

Specified by:
remoteGearUseFeaturesFullVOToEntity in interface GearUseFeaturesDao
Overrides:
remoteGearUseFeaturesFullVOToEntity in class GearUseFeaturesDaoBase
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.vessel.feature.use.GearUseFeaturesDao#remoteGearUseFeaturesFullVOToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteGearUseFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.use.GearUseFeatures)

toRemoteGearUseFeaturesNaturalId

public void toRemoteGearUseFeaturesNaturalId(GearUseFeatures source,
                                             RemoteGearUseFeaturesNaturalId target)
Description copied from interface: GearUseFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteGearUseFeaturesNaturalId(), 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:
toRemoteGearUseFeaturesNaturalId in interface GearUseFeaturesDao
Overrides:
toRemoteGearUseFeaturesNaturalId in class GearUseFeaturesDaoBase
See Also:
GearUseFeaturesDao.toRemoteGearUseFeaturesNaturalId(fr.ifremer.allegro.data.vessel.feature.use.GearUseFeatures, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteGearUseFeaturesNaturalId)

toRemoteGearUseFeaturesNaturalId

public RemoteGearUseFeaturesNaturalId toRemoteGearUseFeaturesNaturalId(GearUseFeatures entity)
Description copied from interface: GearUseFeaturesDao
Converts this DAO's entity to an object of type RemoteGearUseFeaturesNaturalId.

Specified by:
toRemoteGearUseFeaturesNaturalId in interface GearUseFeaturesDao
Overrides:
toRemoteGearUseFeaturesNaturalId in class GearUseFeaturesDaoBase
See Also:
GearUseFeaturesDao.toRemoteGearUseFeaturesNaturalId(fr.ifremer.allegro.data.vessel.feature.use.GearUseFeatures)

remoteGearUseFeaturesNaturalIdToEntity

public GearUseFeatures remoteGearUseFeaturesNaturalIdToEntity(RemoteGearUseFeaturesNaturalId remoteGearUseFeaturesNaturalId)
Description copied from interface: GearUseFeaturesDao
Converts an instance of type RemoteGearUseFeaturesNaturalId to this DAO's entity.

See Also:
GearUseFeaturesDao.remoteGearUseFeaturesNaturalIdToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteGearUseFeaturesNaturalId)

remoteGearUseFeaturesNaturalIdToEntity

public void remoteGearUseFeaturesNaturalIdToEntity(RemoteGearUseFeaturesNaturalId source,
                                                   GearUseFeatures target,
                                                   boolean copyIfNull)
Description copied from interface: GearUseFeaturesDao
Copies the fields of RemoteGearUseFeaturesNaturalId to the specified entity.

Specified by:
remoteGearUseFeaturesNaturalIdToEntity in interface GearUseFeaturesDao
Overrides:
remoteGearUseFeaturesNaturalIdToEntity in class GearUseFeaturesDaoBase
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.vessel.feature.use.GearUseFeaturesDao#remoteGearUseFeaturesNaturalIdToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteGearUseFeaturesNaturalId, fr.ifremer.allegro.data.vessel.feature.use.GearUseFeatures)

toClusterGearUseFeatures

public void toClusterGearUseFeatures(GearUseFeatures source,
                                     ClusterGearUseFeatures target)
Description copied from interface: GearUseFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterGearUseFeatures(), 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:
toClusterGearUseFeatures in interface GearUseFeaturesDao
Overrides:
toClusterGearUseFeatures in class GearUseFeaturesDaoBase
See Also:
GearUseFeaturesDao.toClusterGearUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.GearUseFeatures, fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterGearUseFeatures)

toClusterGearUseFeatures

public ClusterGearUseFeatures toClusterGearUseFeatures(GearUseFeatures entity)
Description copied from interface: GearUseFeaturesDao
Converts this DAO's entity to an object of type ClusterGearUseFeatures.

Specified by:
toClusterGearUseFeatures in interface GearUseFeaturesDao
Overrides:
toClusterGearUseFeatures in class GearUseFeaturesDaoBase
See Also:
GearUseFeaturesDao.toClusterGearUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.GearUseFeatures)

clusterGearUseFeaturesToEntity

public GearUseFeatures clusterGearUseFeaturesToEntity(ClusterGearUseFeatures clusterGearUseFeatures)
Description copied from interface: GearUseFeaturesDao
Converts an instance of type ClusterGearUseFeatures to this DAO's entity.

See Also:
GearUseFeaturesDao.clusterGearUseFeaturesToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterGearUseFeatures)

clusterGearUseFeaturesToEntity

public void clusterGearUseFeaturesToEntity(ClusterGearUseFeatures source,
                                           GearUseFeatures target,
                                           boolean copyIfNull)
Description copied from interface: GearUseFeaturesDao
Copies the fields of ClusterGearUseFeatures to the specified entity.

Specified by:
clusterGearUseFeaturesToEntity in interface GearUseFeaturesDao
Overrides:
clusterGearUseFeaturesToEntity in class GearUseFeaturesDaoBase
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.vessel.feature.use.GearUseFeaturesDao#clusterGearUseFeaturesToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterGearUseFeatures, fr.ifremer.allegro.data.vessel.feature.use.GearUseFeatures)


Copyright © 2008-2010 IFREMER. All Rights Reserved.