fr.ifremer.allegro.referential.regulation
Class FisheryDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.regulation.FisheryDaoBase
          extended by fr.ifremer.allegro.referential.regulation.FisheryDaoImpl
All Implemented Interfaces:
FisheryDao

public class FisheryDaoImpl
extends FisheryDaoBase

See Also:
Fishery

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.regulation.FisheryDao
TRANSFORM_CLUSTERFISHERY, TRANSFORM_NONE, TRANSFORM_REMOTEFISHERYFULLVO, TRANSFORM_REMOTEFISHERYNATURALID
 
Constructor Summary
FisheryDaoImpl()
           
 
Method Summary
 Fishery clusterFisheryToEntity(ClusterFishery clusterFishery)
          Converts an instance of type ClusterFishery to this DAO's entity.
 void clusterFisheryToEntity(ClusterFishery source, Fishery target, boolean copyIfNull)
          Copies the fields of ClusterFishery to the specified entity.
protected  Fishery handleCreateFromClusterFishery(ClusterFishery clusterFishery)
          Performs the core logic for FisheryDaoBase.createFromClusterFishery(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)
protected  ClusterFishery[] handleGetAllClusterFisherySinceDateSynchro(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 FisheryDaoBase.getAllClusterFisherySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Fishery remoteFisheryFullVOToEntity(RemoteFisheryFullVO remoteFisheryFullVO)
          Converts an instance of type RemoteFisheryFullVO to this DAO's entity.
 void remoteFisheryFullVOToEntity(RemoteFisheryFullVO source, Fishery target, boolean copyIfNull)
          Copies the fields of RemoteFisheryFullVO to the specified entity.
 Fishery remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId remoteFisheryNaturalId)
          Converts an instance of type RemoteFisheryNaturalId to this DAO's entity.
 void remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId source, Fishery target, boolean copyIfNull)
          Copies the fields of RemoteFisheryNaturalId to the specified entity.
 ClusterFishery toClusterFishery(Fishery entity)
          Converts this DAO's entity to an object of type ClusterFishery.
 void toClusterFishery(Fishery source, ClusterFishery target)
          Copies the fields of the specified entity to the target value object.
 RemoteFisheryFullVO toRemoteFisheryFullVO(Fishery entity)
          Converts this DAO's entity to an object of type RemoteFisheryFullVO.
 void toRemoteFisheryFullVO(Fishery source, RemoteFisheryFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteFisheryNaturalId toRemoteFisheryNaturalId(Fishery entity)
          Converts this DAO's entity to an object of type RemoteFisheryNaturalId.
 void toRemoteFisheryNaturalId(Fishery source, RemoteFisheryNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.regulation.FisheryDaoBase
clusterFisheryToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterFishery, findFisheryByFishingArea, findFisheryByFishingArea, findFisheryByFishingArea, findFisheryByFishingArea, findFisheryByFishingArea, findFisheryByFishingArea, findFisheryByFishingArea, findFisheryByFishingArea, findFisheryByGear, findFisheryByGear, findFisheryByGear, findFisheryByGear, findFisheryByGear, findFisheryByGear, findFisheryByGear, findFisheryByGear, findFisheryById, findFisheryById, findFisheryById, findFisheryById, findFisheryByNaturalId, findFisheryByNaturalId, findFisheryByNaturalId, findFisheryByNaturalId, findFisheryByTaxonGroup, findFisheryByTaxonGroup, findFisheryByTaxonGroup, findFisheryByTaxonGroup, findFisheryByTaxonGroup, findFisheryByTaxonGroup, findFisheryByTaxonGroup, findFisheryByTaxonGroup, getAllClusterFisherySinceDateSynchro, getAllFishery, getAllFishery, getAllFishery, getAllFishery, getAllFishery, getAllFishery, getAllFishery, getAllFishery, getAllFisherySinceDateSynchro, getAllFisherySinceDateSynchro, getAllFisherySinceDateSynchro, getAllFisherySinceDateSynchro, getAllFisherySinceDateSynchro, getAllFisherySinceDateSynchro, getAllFisherySinceDateSynchro, getAllFisherySinceDateSynchro, getCorpusDao, getFishingAreaDao, getGearDao, getPrincipal, getTaxonGroupDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteFisheryFullVOToEntityCollection, remoteFisheryNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setCorpusDao, setFishingAreaDao, setGearDao, setTaxonGroupDao, toClusterFishery, toClusterFisheryArray, toClusterFisheryCollection, toEntity, toRemoteFisheryFullVO, toRemoteFisheryFullVOArray, toRemoteFisheryFullVOCollection, toRemoteFisheryNaturalId, toRemoteFisheryNaturalIdArray, toRemoteFisheryNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FisheryDaoImpl

public FisheryDaoImpl()
Method Detail

handleCreateFromClusterFishery

protected Fishery handleCreateFromClusterFishery(ClusterFishery clusterFishery)
Description copied from class: FisheryDaoBase
Performs the core logic for FisheryDaoBase.createFromClusterFishery(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)

Specified by:
handleCreateFromClusterFishery in class FisheryDaoBase
See Also:
FisheryDao.createFromClusterFishery(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)

handleGetAllClusterFisherySinceDateSynchro

protected ClusterFishery[] handleGetAllClusterFisherySinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                      java.lang.Integer userId,
                                                                      java.lang.Integer[] registrationLocationIds,
                                                                      java.lang.Integer pageNumber,
                                                                      java.lang.Integer pageSize)
Description copied from class: FisheryDaoBase
Performs the core logic for FisheryDaoBase.getAllClusterFisherySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterFisherySinceDateSynchro in class FisheryDaoBase
See Also:
FisheryDao.getAllClusterFisherySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteFisheryFullVO

public void toRemoteFisheryFullVO(Fishery source,
                                  RemoteFisheryFullVO target)
Description copied from interface: FisheryDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFisheryFullVO(), 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:
toRemoteFisheryFullVO in interface FisheryDao
Overrides:
toRemoteFisheryFullVO in class FisheryDaoBase
See Also:
FisheryDao.toRemoteFisheryFullVO(fr.ifremer.allegro.referential.regulation.Fishery, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

toRemoteFisheryFullVO

public RemoteFisheryFullVO toRemoteFisheryFullVO(Fishery entity)
Description copied from interface: FisheryDao
Converts this DAO's entity to an object of type RemoteFisheryFullVO.

Specified by:
toRemoteFisheryFullVO in interface FisheryDao
Overrides:
toRemoteFisheryFullVO in class FisheryDaoBase
See Also:
FisheryDao.toRemoteFisheryFullVO(fr.ifremer.allegro.referential.regulation.Fishery)

remoteFisheryFullVOToEntity

public Fishery remoteFisheryFullVOToEntity(RemoteFisheryFullVO remoteFisheryFullVO)
Description copied from interface: FisheryDao
Converts an instance of type RemoteFisheryFullVO to this DAO's entity.

See Also:
FisheryDao.remoteFisheryFullVOToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

remoteFisheryFullVOToEntity

public void remoteFisheryFullVOToEntity(RemoteFisheryFullVO source,
                                        Fishery target,
                                        boolean copyIfNull)
Description copied from interface: FisheryDao
Copies the fields of RemoteFisheryFullVO to the specified entity.

Specified by:
remoteFisheryFullVOToEntity in interface FisheryDao
Overrides:
remoteFisheryFullVOToEntity in class FisheryDaoBase
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.regulation.FisheryDao#remoteFisheryFullVOToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO, fr.ifremer.allegro.referential.regulation.Fishery)

toRemoteFisheryNaturalId

public void toRemoteFisheryNaturalId(Fishery source,
                                     RemoteFisheryNaturalId target)
Description copied from interface: FisheryDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFisheryNaturalId(), 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:
toRemoteFisheryNaturalId in interface FisheryDao
Overrides:
toRemoteFisheryNaturalId in class FisheryDaoBase
See Also:
FisheryDao.toRemoteFisheryNaturalId(fr.ifremer.allegro.referential.regulation.Fishery, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryNaturalId)

toRemoteFisheryNaturalId

public RemoteFisheryNaturalId toRemoteFisheryNaturalId(Fishery entity)
Description copied from interface: FisheryDao
Converts this DAO's entity to an object of type RemoteFisheryNaturalId.

Specified by:
toRemoteFisheryNaturalId in interface FisheryDao
Overrides:
toRemoteFisheryNaturalId in class FisheryDaoBase
See Also:
FisheryDao.toRemoteFisheryNaturalId(fr.ifremer.allegro.referential.regulation.Fishery)

remoteFisheryNaturalIdToEntity

public Fishery remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId remoteFisheryNaturalId)
Description copied from interface: FisheryDao
Converts an instance of type RemoteFisheryNaturalId to this DAO's entity.

See Also:
FisheryDao.remoteFisheryNaturalIdToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryNaturalId)

remoteFisheryNaturalIdToEntity

public void remoteFisheryNaturalIdToEntity(RemoteFisheryNaturalId source,
                                           Fishery target,
                                           boolean copyIfNull)
Description copied from interface: FisheryDao
Copies the fields of RemoteFisheryNaturalId to the specified entity.

Specified by:
remoteFisheryNaturalIdToEntity in interface FisheryDao
Overrides:
remoteFisheryNaturalIdToEntity in class FisheryDaoBase
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.regulation.FisheryDao#remoteFisheryNaturalIdToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryNaturalId, fr.ifremer.allegro.referential.regulation.Fishery)

toClusterFishery

public void toClusterFishery(Fishery source,
                             ClusterFishery target)
Description copied from interface: FisheryDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterFishery(), 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:
toClusterFishery in interface FisheryDao
Overrides:
toClusterFishery in class FisheryDaoBase
See Also:
FisheryDao.toClusterFishery(fr.ifremer.allegro.referential.regulation.Fishery, fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)

toClusterFishery

public ClusterFishery toClusterFishery(Fishery entity)
Description copied from interface: FisheryDao
Converts this DAO's entity to an object of type ClusterFishery.

Specified by:
toClusterFishery in interface FisheryDao
Overrides:
toClusterFishery in class FisheryDaoBase
See Also:
FisheryDao.toClusterFishery(fr.ifremer.allegro.referential.regulation.Fishery)

clusterFisheryToEntity

public Fishery clusterFisheryToEntity(ClusterFishery clusterFishery)
Description copied from interface: FisheryDao
Converts an instance of type ClusterFishery to this DAO's entity.

See Also:
FisheryDao.clusterFisheryToEntity(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)

clusterFisheryToEntity

public void clusterFisheryToEntity(ClusterFishery source,
                                   Fishery target,
                                   boolean copyIfNull)
Description copied from interface: FisheryDao
Copies the fields of ClusterFishery to the specified entity.

Specified by:
clusterFisheryToEntity in interface FisheryDao
Overrides:
clusterFisheryToEntity in class FisheryDaoBase
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.regulation.FisheryDao#clusterFisheryToEntity(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery, fr.ifremer.allegro.referential.regulation.Fishery)


Copyright © 2008-2010 IFREMER. All Rights Reserved.