fr.ifremer.allegro.referential.gear
Class FishingGearDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.gear.GearDaoBase
          extended by fr.ifremer.allegro.referential.gear.GearDaoImpl
              extended by fr.ifremer.allegro.referential.gear.FishingGearDaoBase
                  extended by fr.ifremer.allegro.referential.gear.FishingGearDaoImpl
All Implemented Interfaces:
FishingGearDao, GearDao

public class FishingGearDaoImpl
extends FishingGearDaoBase

See Also:
FishingGear

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.gear.FishingGearDao
TRANSFORM_CLUSTERFISHINGGEAR, TRANSFORM_REMOTEFISHINGGEARFULLVO, TRANSFORM_REMOTEFISHINGGEARNATURALID
 
Fields inherited from interface fr.ifremer.allegro.referential.gear.GearDao
TRANSFORM_CLUSTERGEAR, TRANSFORM_NONE, TRANSFORM_REMOTEGEARFULLVO, TRANSFORM_REMOTEGEARNATURALID
 
Constructor Summary
FishingGearDaoImpl()
           
 
Method Summary
 FishingGear clusterFishingGearToEntity(ClusterFishingGear clusterFishingGear)
          Converts an instance of type ClusterFishingGear to this DAO's entity.
 void clusterFishingGearToEntity(ClusterFishingGear source, FishingGear target, boolean copyIfNull)
          Copies the fields of ClusterFishingGear to the specified entity.
protected  FishingGear handleCreateFromClusterFishingGear(ClusterFishingGear clusterFishingGear)
          Performs the core logic for FishingGearDaoBase.createFromClusterFishingGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterFishingGear)
protected  ClusterFishingGear[] handleGetAllClusterFishingGearSinceDateSynchro(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 FishingGearDaoBase.getAllClusterFishingGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 FishingGear remoteFishingGearFullVOToEntity(RemoteFishingGearFullVO remoteFishingGearFullVO)
          Converts an instance of type RemoteFishingGearFullVO to this DAO's entity.
 void remoteFishingGearFullVOToEntity(RemoteFishingGearFullVO source, FishingGear target, boolean copyIfNull)
          Copies the fields of RemoteFishingGearFullVO to the specified entity.
 FishingGear remoteFishingGearNaturalIdToEntity(RemoteFishingGearNaturalId remoteFishingGearNaturalId)
          Converts an instance of type RemoteFishingGearNaturalId to this DAO's entity.
 void remoteFishingGearNaturalIdToEntity(RemoteFishingGearNaturalId source, FishingGear target, boolean copyIfNull)
          Copies the fields of RemoteFishingGearNaturalId to the specified entity.
 ClusterFishingGear toClusterFishingGear(FishingGear entity)
          Converts this DAO's entity to an object of type ClusterFishingGear.
 void toClusterFishingGear(FishingGear source, ClusterFishingGear target)
          Copies the fields of the specified entity to the target value object.
 RemoteFishingGearFullVO toRemoteFishingGearFullVO(FishingGear entity)
          Converts this DAO's entity to an object of type RemoteFishingGearFullVO.
 void toRemoteFishingGearFullVO(FishingGear source, RemoteFishingGearFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteFishingGearNaturalId toRemoteFishingGearNaturalId(FishingGear entity)
          Converts this DAO's entity to an object of type RemoteFishingGearNaturalId.
 void toRemoteFishingGearNaturalId(FishingGear source, RemoteFishingGearNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.gear.FishingGearDaoBase
clusterFishingGearToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterFishingGear, findFishingGearByGearClassification, findFishingGearByGearClassification, findFishingGearByGearClassification, findFishingGearByGearClassification, findFishingGearByGearClassification, findFishingGearByGearClassification, findFishingGearByGearClassification, findFishingGearByGearClassification, findFishingGearById, findFishingGearById, findFishingGearById, findFishingGearById, findFishingGearByNaturalId, findFishingGearByNaturalId, findFishingGearByNaturalId, findFishingGearByNaturalId, findFishingGearByParentGear, findFishingGearByParentGear, findFishingGearByParentGear, findFishingGearByParentGear, findFishingGearByParentGear, findFishingGearByParentGear, findFishingGearByParentGear, findFishingGearByParentGear, findFishingGearByStatus, findFishingGearByStatus, findFishingGearByStatus, findFishingGearByStatus, findFishingGearByStatus, findFishingGearByStatus, findFishingGearByStatus, findFishingGearByStatus, findGearByGearClassification, findGearByGearClassification, findGearByGearClassification, findGearByGearClassification, findGearByGearClassification, findGearByGearClassification, findGearByGearClassification, findGearByGearClassification, findGearById, findGearById, findGearById, findGearById, findGearByNaturalId, findGearByNaturalId, findGearByNaturalId, findGearByNaturalId, findGearByParentGear, findGearByParentGear, findGearByParentGear, findGearByParentGear, findGearByParentGear, findGearByParentGear, findGearByParentGear, findGearByParentGear, findGearByStatus, findGearByStatus, findGearByStatus, findGearByStatus, findGearByStatus, findGearByStatus, findGearByStatus, findGearByStatus, getAllClusterFishingGearSinceDateSynchro, getAllFishingGear, getAllFishingGear, getAllFishingGear, getAllFishingGear, getAllFishingGear, getAllFishingGear, getAllFishingGear, getAllFishingGear, getAllFishingGearSinceDateSynchro, getAllFishingGearSinceDateSynchro, getAllFishingGearSinceDateSynchro, getAllFishingGearSinceDateSynchro, getAllFishingGearSinceDateSynchro, getAllFishingGearSinceDateSynchro, getAllFishingGearSinceDateSynchro, getAllFishingGearSinceDateSynchro, getAllGear, getAllGear, getAllGear, getAllGear, getAllGear, getAllGear, getAllGear, getAllGear, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getFishingGearDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteFishingGearFullVOToEntityCollection, remoteFishingGearNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setFishingGearDao, toClusterFishingGear, toClusterFishingGearArray, toClusterFishingGearCollection, toEntity, toRemoteFishingGearFullVO, toRemoteFishingGearFullVOArray, toRemoteFishingGearFullVOCollection, toRemoteFishingGearNaturalId, toRemoteFishingGearNaturalIdArray, toRemoteFishingGearNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class fr.ifremer.allegro.referential.gear.GearDaoImpl
clusterGearToEntity, clusterGearToEntity, handleCreateFromClusterGear, handleGetAllClusterGearSinceDateSynchro, remoteGearFullVOToEntity, remoteGearFullVOToEntity, remoteGearNaturalIdToEntity, remoteGearNaturalIdToEntity, toClusterGear, toClusterGear, toRemoteGearFullVO, toRemoteGearFullVO, toRemoteGearNaturalId, toRemoteGearNaturalId
 
Methods inherited from class fr.ifremer.allegro.referential.gear.GearDaoBase
clusterGearToEntityCollection, create, create, create, create, createFromClusterGear, getAllClusterGearSinceDateSynchro, getGearAssociationDao, getGearClassificationDao, getGearDao, getStatusDao, remoteGearFullVOToEntityCollection, remoteGearNaturalIdToEntityCollection, remove, setGearAssociationDao, setGearClassificationDao, setGearDao, setStatusDao, toClusterGear, toClusterGearArray, toClusterGearCollection, toRemoteGearFullVO, toRemoteGearFullVOArray, toRemoteGearFullVOCollection, toRemoteGearNaturalId, toRemoteGearNaturalIdArray, toRemoteGearNaturalIdCollection, 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.referential.gear.GearDao
clusterGearToEntity, clusterGearToEntity, clusterGearToEntityCollection, create, create, create, create, createFromClusterGear, getAllClusterGearSinceDateSynchro, remoteGearFullVOToEntity, remoteGearFullVOToEntity, remoteGearFullVOToEntityCollection, remoteGearNaturalIdToEntity, remoteGearNaturalIdToEntity, remoteGearNaturalIdToEntityCollection, remove, toClusterGear, toClusterGear, toClusterGearArray, toClusterGearCollection, toRemoteGearFullVO, toRemoteGearFullVO, toRemoteGearFullVOArray, toRemoteGearFullVOCollection, toRemoteGearNaturalId, toRemoteGearNaturalId, toRemoteGearNaturalIdArray, toRemoteGearNaturalIdCollection, update
 

Constructor Detail

FishingGearDaoImpl

public FishingGearDaoImpl()
Method Detail

handleCreateFromClusterFishingGear

protected FishingGear handleCreateFromClusterFishingGear(ClusterFishingGear clusterFishingGear)
Description copied from class: FishingGearDaoBase
Performs the core logic for FishingGearDaoBase.createFromClusterFishingGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterFishingGear)

Specified by:
handleCreateFromClusterFishingGear in class FishingGearDaoBase
See Also:
FishingGearDao.createFromClusterFishingGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterFishingGear)

handleGetAllClusterFishingGearSinceDateSynchro

protected ClusterFishingGear[] handleGetAllClusterFishingGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                              java.lang.Integer userId,
                                                                              java.lang.Integer[] registrationLocationIds,
                                                                              java.lang.Integer pageNumber,
                                                                              java.lang.Integer pageSize)
Description copied from class: FishingGearDaoBase
Performs the core logic for FishingGearDaoBase.getAllClusterFishingGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterFishingGearSinceDateSynchro in class FishingGearDaoBase
See Also:
FishingGearDao.getAllClusterFishingGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteFishingGearFullVO

public void toRemoteFishingGearFullVO(FishingGear source,
                                      RemoteFishingGearFullVO target)
Description copied from interface: FishingGearDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFishingGearFullVO(), 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:
toRemoteFishingGearFullVO in interface FishingGearDao
Overrides:
toRemoteFishingGearFullVO in class FishingGearDaoBase
See Also:
FishingGearDao.toRemoteFishingGearFullVO(fr.ifremer.allegro.referential.gear.FishingGear, fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

toRemoteFishingGearFullVO

public RemoteFishingGearFullVO toRemoteFishingGearFullVO(FishingGear entity)
Description copied from interface: FishingGearDao
Converts this DAO's entity to an object of type RemoteFishingGearFullVO.

Specified by:
toRemoteFishingGearFullVO in interface FishingGearDao
Overrides:
toRemoteFishingGearFullVO in class FishingGearDaoBase
See Also:
FishingGearDao.toRemoteFishingGearFullVO(fr.ifremer.allegro.referential.gear.FishingGear)

remoteFishingGearFullVOToEntity

public FishingGear remoteFishingGearFullVOToEntity(RemoteFishingGearFullVO remoteFishingGearFullVO)
Description copied from interface: FishingGearDao
Converts an instance of type RemoteFishingGearFullVO to this DAO's entity.

See Also:
FishingGearDao.remoteFishingGearFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

remoteFishingGearFullVOToEntity

public void remoteFishingGearFullVOToEntity(RemoteFishingGearFullVO source,
                                            FishingGear target,
                                            boolean copyIfNull)
Description copied from interface: FishingGearDao
Copies the fields of RemoteFishingGearFullVO to the specified entity.

Specified by:
remoteFishingGearFullVOToEntity in interface FishingGearDao
Overrides:
remoteFishingGearFullVOToEntity in class FishingGearDaoBase
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.gear.FishingGearDao#remoteFishingGearFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO, fr.ifremer.allegro.referential.gear.FishingGear)

toRemoteFishingGearNaturalId

public void toRemoteFishingGearNaturalId(FishingGear source,
                                         RemoteFishingGearNaturalId target)
Description copied from interface: FishingGearDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFishingGearNaturalId(), 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:
toRemoteFishingGearNaturalId in interface FishingGearDao
Overrides:
toRemoteFishingGearNaturalId in class FishingGearDaoBase
See Also:
FishingGearDao.toRemoteFishingGearNaturalId(fr.ifremer.allegro.referential.gear.FishingGear, fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearNaturalId)

toRemoteFishingGearNaturalId

public RemoteFishingGearNaturalId toRemoteFishingGearNaturalId(FishingGear entity)
Description copied from interface: FishingGearDao
Converts this DAO's entity to an object of type RemoteFishingGearNaturalId.

Specified by:
toRemoteFishingGearNaturalId in interface FishingGearDao
Overrides:
toRemoteFishingGearNaturalId in class FishingGearDaoBase
See Also:
FishingGearDao.toRemoteFishingGearNaturalId(fr.ifremer.allegro.referential.gear.FishingGear)

remoteFishingGearNaturalIdToEntity

public FishingGear remoteFishingGearNaturalIdToEntity(RemoteFishingGearNaturalId remoteFishingGearNaturalId)
Description copied from interface: FishingGearDao
Converts an instance of type RemoteFishingGearNaturalId to this DAO's entity.

See Also:
FishingGearDao.remoteFishingGearNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearNaturalId)

remoteFishingGearNaturalIdToEntity

public void remoteFishingGearNaturalIdToEntity(RemoteFishingGearNaturalId source,
                                               FishingGear target,
                                               boolean copyIfNull)
Description copied from interface: FishingGearDao
Copies the fields of RemoteFishingGearNaturalId to the specified entity.

Specified by:
remoteFishingGearNaturalIdToEntity in interface FishingGearDao
Overrides:
remoteFishingGearNaturalIdToEntity in class FishingGearDaoBase
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.gear.FishingGearDao#remoteFishingGearNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearNaturalId, fr.ifremer.allegro.referential.gear.FishingGear)

toClusterFishingGear

public void toClusterFishingGear(FishingGear source,
                                 ClusterFishingGear target)
Description copied from interface: FishingGearDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterFishingGear(), 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:
toClusterFishingGear in interface FishingGearDao
Overrides:
toClusterFishingGear in class FishingGearDaoBase
See Also:
FishingGearDao.toClusterFishingGear(fr.ifremer.allegro.referential.gear.FishingGear, fr.ifremer.allegro.referential.gear.generic.cluster.ClusterFishingGear)

toClusterFishingGear

public ClusterFishingGear toClusterFishingGear(FishingGear entity)
Description copied from interface: FishingGearDao
Converts this DAO's entity to an object of type ClusterFishingGear.

Specified by:
toClusterFishingGear in interface FishingGearDao
Overrides:
toClusterFishingGear in class FishingGearDaoBase
See Also:
FishingGearDao.toClusterFishingGear(fr.ifremer.allegro.referential.gear.FishingGear)

clusterFishingGearToEntity

public FishingGear clusterFishingGearToEntity(ClusterFishingGear clusterFishingGear)
Description copied from interface: FishingGearDao
Converts an instance of type ClusterFishingGear to this DAO's entity.

See Also:
FishingGearDao.clusterFishingGearToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterFishingGear)

clusterFishingGearToEntity

public void clusterFishingGearToEntity(ClusterFishingGear source,
                                       FishingGear target,
                                       boolean copyIfNull)
Description copied from interface: FishingGearDao
Copies the fields of ClusterFishingGear to the specified entity.

Specified by:
clusterFishingGearToEntity in interface FishingGearDao
Overrides:
clusterFishingGearToEntity in class FishingGearDaoBase
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.gear.FishingGearDao#clusterFishingGearToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterFishingGear, fr.ifremer.allegro.referential.gear.FishingGear)


Copyright © 2008-2010 IFREMER. All Rights Reserved.