fr.ifremer.allegro.referential.gear
Class GearClassificationDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.gear.GearClassificationDaoBase
          extended by fr.ifremer.allegro.referential.gear.GearClassificationDaoImpl
All Implemented Interfaces:
GearClassificationDao

public class GearClassificationDaoImpl
extends GearClassificationDaoBase

See Also:
GearClassification

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.gear.GearClassificationDao
TRANSFORM_CLUSTERGEARCLASSIFICATION, TRANSFORM_NONE, TRANSFORM_REMOTEGEARCLASSIFICATIONFULLVO, TRANSFORM_REMOTEGEARCLASSIFICATIONNATURALID
 
Constructor Summary
GearClassificationDaoImpl()
           
 
Method Summary
 GearClassification clusterGearClassificationToEntity(ClusterGearClassification clusterGearClassification)
          Converts an instance of type ClusterGearClassification to this DAO's entity.
 void clusterGearClassificationToEntity(ClusterGearClassification source, GearClassification target, boolean copyIfNull)
          Copies the fields of ClusterGearClassification to the specified entity.
protected  GearClassification handleCreateFromClusterGearClassification(ClusterGearClassification clusterGearClassification)
          Performs the core logic for GearClassificationDaoBase.createFromClusterGearClassification(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification)
protected  ClusterGearClassification[] handleGetAllClusterGearClassificationSinceDateSynchro(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 GearClassificationDaoBase.getAllClusterGearClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 GearClassification remoteGearClassificationFullVOToEntity(RemoteGearClassificationFullVO remoteGearClassificationFullVO)
          Converts an instance of type RemoteGearClassificationFullVO to this DAO's entity.
 void remoteGearClassificationFullVOToEntity(RemoteGearClassificationFullVO source, GearClassification target, boolean copyIfNull)
          Copies the fields of RemoteGearClassificationFullVO to the specified entity.
 GearClassification remoteGearClassificationNaturalIdToEntity(RemoteGearClassificationNaturalId remoteGearClassificationNaturalId)
          Converts an instance of type RemoteGearClassificationNaturalId to this DAO's entity.
 void remoteGearClassificationNaturalIdToEntity(RemoteGearClassificationNaturalId source, GearClassification target, boolean copyIfNull)
          Copies the fields of RemoteGearClassificationNaturalId to the specified entity.
 ClusterGearClassification toClusterGearClassification(GearClassification entity)
          Converts this DAO's entity to an object of type ClusterGearClassification.
 void toClusterGearClassification(GearClassification source, ClusterGearClassification target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearClassificationFullVO toRemoteGearClassificationFullVO(GearClassification entity)
          Converts this DAO's entity to an object of type RemoteGearClassificationFullVO.
 void toRemoteGearClassificationFullVO(GearClassification source, RemoteGearClassificationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearClassificationNaturalId toRemoteGearClassificationNaturalId(GearClassification entity)
          Converts this DAO's entity to an object of type RemoteGearClassificationNaturalId.
 void toRemoteGearClassificationNaturalId(GearClassification source, RemoteGearClassificationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.gear.GearClassificationDaoBase
clusterGearClassificationToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterGearClassification, findGearClassificationById, findGearClassificationById, findGearClassificationById, findGearClassificationById, findGearClassificationByNaturalId, findGearClassificationByNaturalId, findGearClassificationByNaturalId, findGearClassificationByNaturalId, getAllClusterGearClassificationSinceDateSynchro, getAllGearClassification, getAllGearClassification, getAllGearClassification, getAllGearClassification, getAllGearClassification, getAllGearClassification, getAllGearClassification, getAllGearClassification, getAllGearClassificationSinceDateSynchro, getAllGearClassificationSinceDateSynchro, getAllGearClassificationSinceDateSynchro, getAllGearClassificationSinceDateSynchro, getAllGearClassificationSinceDateSynchro, getAllGearClassificationSinceDateSynchro, getAllGearClassificationSinceDateSynchro, getAllGearClassificationSinceDateSynchro, getGearClassificationAssociationDao, getGearDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteGearClassificationFullVOToEntityCollection, remoteGearClassificationNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setGearClassificationAssociationDao, setGearDao, toClusterGearClassification, toClusterGearClassificationArray, toClusterGearClassificationCollection, toEntity, toRemoteGearClassificationFullVO, toRemoteGearClassificationFullVOArray, toRemoteGearClassificationFullVOCollection, toRemoteGearClassificationNaturalId, toRemoteGearClassificationNaturalIdArray, toRemoteGearClassificationNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GearClassificationDaoImpl

public GearClassificationDaoImpl()
Method Detail

handleCreateFromClusterGearClassification

protected GearClassification handleCreateFromClusterGearClassification(ClusterGearClassification clusterGearClassification)
Description copied from class: GearClassificationDaoBase
Performs the core logic for GearClassificationDaoBase.createFromClusterGearClassification(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification)

Specified by:
handleCreateFromClusterGearClassification in class GearClassificationDaoBase
See Also:
GearClassificationDao.createFromClusterGearClassification(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification)

handleGetAllClusterGearClassificationSinceDateSynchro

protected ClusterGearClassification[] handleGetAllClusterGearClassificationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                            java.lang.Integer userId,
                                                                                            java.lang.Integer[] registrationLocationIds,
                                                                                            java.lang.Integer pageNumber,
                                                                                            java.lang.Integer pageSize)
Description copied from class: GearClassificationDaoBase
Performs the core logic for GearClassificationDaoBase.getAllClusterGearClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterGearClassificationSinceDateSynchro in class GearClassificationDaoBase
See Also:
GearClassificationDao.getAllClusterGearClassificationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteGearClassificationFullVO

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

toRemoteGearClassificationFullVO

public RemoteGearClassificationFullVO toRemoteGearClassificationFullVO(GearClassification entity)
Description copied from interface: GearClassificationDao
Converts this DAO's entity to an object of type RemoteGearClassificationFullVO.

Specified by:
toRemoteGearClassificationFullVO in interface GearClassificationDao
Overrides:
toRemoteGearClassificationFullVO in class GearClassificationDaoBase
See Also:
GearClassificationDao.toRemoteGearClassificationFullVO(fr.ifremer.allegro.referential.gear.GearClassification)

remoteGearClassificationFullVOToEntity

public GearClassification remoteGearClassificationFullVOToEntity(RemoteGearClassificationFullVO remoteGearClassificationFullVO)
Description copied from interface: GearClassificationDao
Converts an instance of type RemoteGearClassificationFullVO to this DAO's entity.

See Also:
GearClassificationDao.remoteGearClassificationFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearClassificationFullVO)

remoteGearClassificationFullVOToEntity

public void remoteGearClassificationFullVOToEntity(RemoteGearClassificationFullVO source,
                                                   GearClassification target,
                                                   boolean copyIfNull)
Description copied from interface: GearClassificationDao
Copies the fields of RemoteGearClassificationFullVO to the specified entity.

Specified by:
remoteGearClassificationFullVOToEntity in interface GearClassificationDao
Overrides:
remoteGearClassificationFullVOToEntity in class GearClassificationDaoBase
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.GearClassificationDao#remoteGearClassificationFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearClassificationFullVO, fr.ifremer.allegro.referential.gear.GearClassification)

toRemoteGearClassificationNaturalId

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

toRemoteGearClassificationNaturalId

public RemoteGearClassificationNaturalId toRemoteGearClassificationNaturalId(GearClassification entity)
Description copied from interface: GearClassificationDao
Converts this DAO's entity to an object of type RemoteGearClassificationNaturalId.

Specified by:
toRemoteGearClassificationNaturalId in interface GearClassificationDao
Overrides:
toRemoteGearClassificationNaturalId in class GearClassificationDaoBase
See Also:
GearClassificationDao.toRemoteGearClassificationNaturalId(fr.ifremer.allegro.referential.gear.GearClassification)

remoteGearClassificationNaturalIdToEntity

public GearClassification remoteGearClassificationNaturalIdToEntity(RemoteGearClassificationNaturalId remoteGearClassificationNaturalId)
Description copied from interface: GearClassificationDao
Converts an instance of type RemoteGearClassificationNaturalId to this DAO's entity.

See Also:
GearClassificationDao.remoteGearClassificationNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearClassificationNaturalId)

remoteGearClassificationNaturalIdToEntity

public void remoteGearClassificationNaturalIdToEntity(RemoteGearClassificationNaturalId source,
                                                      GearClassification target,
                                                      boolean copyIfNull)
Description copied from interface: GearClassificationDao
Copies the fields of RemoteGearClassificationNaturalId to the specified entity.

Specified by:
remoteGearClassificationNaturalIdToEntity in interface GearClassificationDao
Overrides:
remoteGearClassificationNaturalIdToEntity in class GearClassificationDaoBase
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.GearClassificationDao#remoteGearClassificationNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearClassificationNaturalId, fr.ifremer.allegro.referential.gear.GearClassification)

toClusterGearClassification

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

toClusterGearClassification

public ClusterGearClassification toClusterGearClassification(GearClassification entity)
Description copied from interface: GearClassificationDao
Converts this DAO's entity to an object of type ClusterGearClassification.

Specified by:
toClusterGearClassification in interface GearClassificationDao
Overrides:
toClusterGearClassification in class GearClassificationDaoBase
See Also:
GearClassificationDao.toClusterGearClassification(fr.ifremer.allegro.referential.gear.GearClassification)

clusterGearClassificationToEntity

public GearClassification clusterGearClassificationToEntity(ClusterGearClassification clusterGearClassification)
Description copied from interface: GearClassificationDao
Converts an instance of type ClusterGearClassification to this DAO's entity.

See Also:
GearClassificationDao.clusterGearClassificationToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification)

clusterGearClassificationToEntity

public void clusterGearClassificationToEntity(ClusterGearClassification source,
                                              GearClassification target,
                                              boolean copyIfNull)
Description copied from interface: GearClassificationDao
Copies the fields of ClusterGearClassification to the specified entity.

Specified by:
clusterGearClassificationToEntity in interface GearClassificationDao
Overrides:
clusterGearClassificationToEntity in class GearClassificationDaoBase
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.GearClassificationDao#clusterGearClassificationToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearClassification, fr.ifremer.allegro.referential.gear.GearClassification)


Copyright © 2008-2010 IFREMER. All Rights Reserved.