fr.ifremer.allegro.referential.gear
Class GearDaoImpl

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
All Implemented Interfaces:
GearDao
Direct Known Subclasses:
FishingGearDaoBase

public class GearDaoImpl
extends GearDaoBase

See Also:
Gear

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.gear.GearDao
TRANSFORM_CLUSTERGEAR, TRANSFORM_NONE, TRANSFORM_REMOTEGEARFULLVO, TRANSFORM_REMOTEGEARNATURALID
 
Constructor Summary
GearDaoImpl()
           
 
Method Summary
 Gear clusterGearToEntity(ClusterGear clusterGear)
          Converts an instance of type ClusterGear to this DAO's entity.
 void clusterGearToEntity(ClusterGear source, Gear target, boolean copyIfNull)
          Copies the fields of ClusterGear to the specified entity.
protected  Gear handleCreateFromClusterGear(ClusterGear clusterGear)
          Performs the core logic for GearDaoBase.createFromClusterGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear)
protected  ClusterGear[] handleGetAllClusterGearSinceDateSynchro(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 GearDaoBase.getAllClusterGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Gear remoteGearFullVOToEntity(RemoteGearFullVO remoteGearFullVO)
          Converts an instance of type RemoteGearFullVO to this DAO's entity.
 void remoteGearFullVOToEntity(RemoteGearFullVO source, Gear target, boolean copyIfNull)
          Copies the fields of RemoteGearFullVO to the specified entity.
 Gear remoteGearNaturalIdToEntity(RemoteGearNaturalId remoteGearNaturalId)
          Converts an instance of type RemoteGearNaturalId to this DAO's entity.
 void remoteGearNaturalIdToEntity(RemoteGearNaturalId source, Gear target, boolean copyIfNull)
          Copies the fields of RemoteGearNaturalId to the specified entity.
 ClusterGear toClusterGear(Gear entity)
          Converts this DAO's entity to an object of type ClusterGear.
 void toClusterGear(Gear source, ClusterGear target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearFullVO toRemoteGearFullVO(Gear entity)
          Converts this DAO's entity to an object of type RemoteGearFullVO.
 void toRemoteGearFullVO(Gear source, RemoteGearFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearNaturalId toRemoteGearNaturalId(Gear entity)
          Converts this DAO's entity to an object of type RemoteGearNaturalId.
 void toRemoteGearNaturalId(Gear source, RemoteGearNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.gear.GearDaoBase
clusterGearToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterGear, 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, getAllClusterGearSinceDateSynchro, getAllGear, getAllGear, getAllGear, getAllGear, getAllGear, getAllGear, getAllGear, getAllGear, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getAllGearSinceDateSynchro, getGearAssociationDao, getGearClassificationDao, getGearDao, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteGearFullVOToEntityCollection, remoteGearNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setGearAssociationDao, setGearClassificationDao, setGearDao, setStatusDao, toClusterGear, toClusterGearArray, toClusterGearCollection, toEntity, toRemoteGearFullVO, toRemoteGearFullVOArray, toRemoteGearFullVOCollection, toRemoteGearNaturalId, toRemoteGearNaturalIdArray, toRemoteGearNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GearDaoImpl

public GearDaoImpl()
Method Detail

handleCreateFromClusterGear

protected Gear handleCreateFromClusterGear(ClusterGear clusterGear)
Description copied from class: GearDaoBase
Performs the core logic for GearDaoBase.createFromClusterGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear)

Specified by:
handleCreateFromClusterGear in class GearDaoBase
See Also:
GearDao.createFromClusterGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear)

handleGetAllClusterGearSinceDateSynchro

protected ClusterGear[] handleGetAllClusterGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                java.lang.Integer userId,
                                                                java.lang.Integer[] registrationLocationIds,
                                                                java.lang.Integer pageNumber,
                                                                java.lang.Integer pageSize)
Description copied from class: GearDaoBase
Performs the core logic for GearDaoBase.getAllClusterGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterGearSinceDateSynchro in class GearDaoBase
See Also:
GearDao.getAllClusterGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteGearFullVO

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

toRemoteGearFullVO

public RemoteGearFullVO toRemoteGearFullVO(Gear entity)
Description copied from interface: GearDao
Converts this DAO's entity to an object of type RemoteGearFullVO.

Specified by:
toRemoteGearFullVO in interface GearDao
Overrides:
toRemoteGearFullVO in class GearDaoBase
See Also:
GearDao.toRemoteGearFullVO(fr.ifremer.allegro.referential.gear.Gear)

remoteGearFullVOToEntity

public Gear remoteGearFullVOToEntity(RemoteGearFullVO remoteGearFullVO)
Description copied from interface: GearDao
Converts an instance of type RemoteGearFullVO to this DAO's entity.

See Also:
GearDao.remoteGearFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)

remoteGearFullVOToEntity

public void remoteGearFullVOToEntity(RemoteGearFullVO source,
                                     Gear target,
                                     boolean copyIfNull)
Description copied from interface: GearDao
Copies the fields of RemoteGearFullVO to the specified entity.

Specified by:
remoteGearFullVOToEntity in interface GearDao
Overrides:
remoteGearFullVOToEntity in class GearDaoBase
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.GearDao#remoteGearFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO, fr.ifremer.allegro.referential.gear.Gear)

toRemoteGearNaturalId

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

toRemoteGearNaturalId

public RemoteGearNaturalId toRemoteGearNaturalId(Gear entity)
Description copied from interface: GearDao
Converts this DAO's entity to an object of type RemoteGearNaturalId.

Specified by:
toRemoteGearNaturalId in interface GearDao
Overrides:
toRemoteGearNaturalId in class GearDaoBase
See Also:
GearDao.toRemoteGearNaturalId(fr.ifremer.allegro.referential.gear.Gear)

remoteGearNaturalIdToEntity

public Gear remoteGearNaturalIdToEntity(RemoteGearNaturalId remoteGearNaturalId)
Description copied from interface: GearDao
Converts an instance of type RemoteGearNaturalId to this DAO's entity.

See Also:
GearDao.remoteGearNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearNaturalId)

remoteGearNaturalIdToEntity

public void remoteGearNaturalIdToEntity(RemoteGearNaturalId source,
                                        Gear target,
                                        boolean copyIfNull)
Description copied from interface: GearDao
Copies the fields of RemoteGearNaturalId to the specified entity.

Specified by:
remoteGearNaturalIdToEntity in interface GearDao
Overrides:
remoteGearNaturalIdToEntity in class GearDaoBase
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.GearDao#remoteGearNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearNaturalId, fr.ifremer.allegro.referential.gear.Gear)

toClusterGear

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

toClusterGear

public ClusterGear toClusterGear(Gear entity)
Description copied from interface: GearDao
Converts this DAO's entity to an object of type ClusterGear.

Specified by:
toClusterGear in interface GearDao
Overrides:
toClusterGear in class GearDaoBase
See Also:
GearDao.toClusterGear(fr.ifremer.allegro.referential.gear.Gear)

clusterGearToEntity

public Gear clusterGearToEntity(ClusterGear clusterGear)
Description copied from interface: GearDao
Converts an instance of type ClusterGear to this DAO's entity.

See Also:
GearDao.clusterGearToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear)

clusterGearToEntity

public void clusterGearToEntity(ClusterGear source,
                                Gear target,
                                boolean copyIfNull)
Description copied from interface: GearDao
Copies the fields of ClusterGear to the specified entity.

Specified by:
clusterGearToEntity in interface GearDao
Overrides:
clusterGearToEntity in class GearDaoBase
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.GearDao#clusterGearToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear, fr.ifremer.allegro.referential.gear.Gear)


Copyright © 2008-2010 IFREMER. All Rights Reserved.