fr.ifremer.allegro.data.sale
Class ExpectedSaleDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.sale.ExpectedSaleDaoBase
          extended by fr.ifremer.allegro.data.sale.ExpectedSaleDaoImpl
All Implemented Interfaces:
ExpectedSaleDao

public class ExpectedSaleDaoImpl
extends ExpectedSaleDaoBase

See Also:
ExpectedSale

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.sale.ExpectedSaleDao
TRANSFORM_CLUSTEREXPECTEDSALE, TRANSFORM_NONE, TRANSFORM_REMOTEEXPECTEDSALEFULLVO, TRANSFORM_REMOTEEXPECTEDSALENATURALID
 
Constructor Summary
ExpectedSaleDaoImpl()
           
 
Method Summary
 ExpectedSale clusterExpectedSaleToEntity(ClusterExpectedSale clusterExpectedSale)
          Converts an instance of type ClusterExpectedSale to this DAO's entity.
 void clusterExpectedSaleToEntity(ClusterExpectedSale source, ExpectedSale target, boolean copyIfNull)
          Copies the fields of ClusterExpectedSale to the specified entity.
protected  ExpectedSale handleCreateFromClusterExpectedSale(ClusterExpectedSale clusterExpectedSale)
          Performs the core logic for ExpectedSaleDaoBase.createFromClusterExpectedSale(fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale)
protected  ClusterExpectedSale[] handleGetAllClusterExpectedSale(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for ExpectedSaleDaoBase.getAllClusterExpectedSale(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ExpectedSale remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO remoteExpectedSaleFullVO)
          Converts an instance of type RemoteExpectedSaleFullVO to this DAO's entity.
 void remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO source, ExpectedSale target, boolean copyIfNull)
          Copies the fields of RemoteExpectedSaleFullVO to the specified entity.
 ExpectedSale remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId remoteExpectedSaleNaturalId)
          Converts an instance of type RemoteExpectedSaleNaturalId to this DAO's entity.
 void remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId source, ExpectedSale target, boolean copyIfNull)
          Copies the fields of RemoteExpectedSaleNaturalId to the specified entity.
 ClusterExpectedSale toClusterExpectedSale(ExpectedSale entity)
          Converts this DAO's entity to an object of type ClusterExpectedSale.
 void toClusterExpectedSale(ExpectedSale source, ClusterExpectedSale target)
          Copies the fields of the specified entity to the target value object.
 RemoteExpectedSaleFullVO toRemoteExpectedSaleFullVO(ExpectedSale entity)
          Converts this DAO's entity to an object of type RemoteExpectedSaleFullVO.
 void toRemoteExpectedSaleFullVO(ExpectedSale source, RemoteExpectedSaleFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteExpectedSaleNaturalId toRemoteExpectedSaleNaturalId(ExpectedSale entity)
          Converts this DAO's entity to an object of type RemoteExpectedSaleNaturalId.
 void toRemoteExpectedSaleNaturalId(ExpectedSale source, RemoteExpectedSaleNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.sale.ExpectedSaleDaoBase
clusterExpectedSaleToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterExpectedSale, findExpectedSaleById, findExpectedSaleById, findExpectedSaleById, findExpectedSaleById, findExpectedSaleByNaturalId, findExpectedSaleByNaturalId, findExpectedSaleByNaturalId, findExpectedSaleByNaturalId, findExpectedSaleByObservedFishingTrip, findExpectedSaleByObservedFishingTrip, findExpectedSaleByObservedFishingTrip, findExpectedSaleByObservedFishingTrip, findExpectedSaleByObservedFishingTrip, findExpectedSaleByObservedFishingTrip, findExpectedSaleByObservedFishingTrip, findExpectedSaleByObservedFishingTrip, findExpectedSaleByObservedLanding, findExpectedSaleByObservedLanding, findExpectedSaleByObservedLanding, findExpectedSaleByObservedLanding, findExpectedSaleByObservedLanding, findExpectedSaleByObservedLanding, findExpectedSaleByObservedLanding, findExpectedSaleByObservedLanding, findExpectedSaleBySaleLocation, findExpectedSaleBySaleLocation, findExpectedSaleBySaleLocation, findExpectedSaleBySaleLocation, findExpectedSaleBySaleLocation, findExpectedSaleBySaleLocation, findExpectedSaleBySaleLocation, findExpectedSaleBySaleLocation, findExpectedSaleBySaleType, findExpectedSaleBySaleType, findExpectedSaleBySaleType, findExpectedSaleBySaleType, findExpectedSaleBySaleType, findExpectedSaleBySaleType, findExpectedSaleBySaleType, findExpectedSaleBySaleType, getAllClusterExpectedSale, getAllExpectedSale, getAllExpectedSale, getAllExpectedSale, getAllExpectedSale, getAllExpectedSale, getAllExpectedSale, getAllExpectedSale, getAllExpectedSale, getLocationDao, getObservedFishingTripDao, getObservedLandingDao, getPrincipal, getSaleMeasurementDao, getSaleProduceDao, getSaleTypeDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteExpectedSaleFullVOToEntityCollection, remoteExpectedSaleNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setLocationDao, setObservedFishingTripDao, setObservedLandingDao, setSaleMeasurementDao, setSaleProduceDao, setSaleTypeDao, toClusterExpectedSale, toClusterExpectedSaleArray, toClusterExpectedSaleCollection, toEntity, toRemoteExpectedSaleFullVO, toRemoteExpectedSaleFullVOArray, toRemoteExpectedSaleFullVOCollection, toRemoteExpectedSaleNaturalId, toRemoteExpectedSaleNaturalIdArray, toRemoteExpectedSaleNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpectedSaleDaoImpl

public ExpectedSaleDaoImpl()
Method Detail

handleCreateFromClusterExpectedSale

protected ExpectedSale handleCreateFromClusterExpectedSale(ClusterExpectedSale clusterExpectedSale)
Description copied from class: ExpectedSaleDaoBase
Performs the core logic for ExpectedSaleDaoBase.createFromClusterExpectedSale(fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale)

Specified by:
handleCreateFromClusterExpectedSale in class ExpectedSaleDaoBase
See Also:
ExpectedSaleDao.createFromClusterExpectedSale(fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale)

handleGetAllClusterExpectedSale

protected ClusterExpectedSale[] handleGetAllClusterExpectedSale(java.lang.Integer userId,
                                                                java.lang.Integer[] registrationLocationIds,
                                                                java.lang.Integer pageNumber,
                                                                java.lang.Integer pageSize)
Description copied from class: ExpectedSaleDaoBase
Performs the core logic for ExpectedSaleDaoBase.getAllClusterExpectedSale(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterExpectedSale in class ExpectedSaleDaoBase
See Also:
ExpectedSaleDao.getAllClusterExpectedSale(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteExpectedSaleFullVO

public void toRemoteExpectedSaleFullVO(ExpectedSale source,
                                       RemoteExpectedSaleFullVO target)
Description copied from interface: ExpectedSaleDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteExpectedSaleFullVO(), 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:
toRemoteExpectedSaleFullVO in interface ExpectedSaleDao
Overrides:
toRemoteExpectedSaleFullVO in class ExpectedSaleDaoBase
See Also:
ExpectedSaleDao.toRemoteExpectedSaleFullVO(fr.ifremer.allegro.data.sale.ExpectedSale, fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleFullVO)

toRemoteExpectedSaleFullVO

public RemoteExpectedSaleFullVO toRemoteExpectedSaleFullVO(ExpectedSale entity)
Description copied from interface: ExpectedSaleDao
Converts this DAO's entity to an object of type RemoteExpectedSaleFullVO.

Specified by:
toRemoteExpectedSaleFullVO in interface ExpectedSaleDao
Overrides:
toRemoteExpectedSaleFullVO in class ExpectedSaleDaoBase
See Also:
ExpectedSaleDao.toRemoteExpectedSaleFullVO(fr.ifremer.allegro.data.sale.ExpectedSale)

remoteExpectedSaleFullVOToEntity

public ExpectedSale remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO remoteExpectedSaleFullVO)
Description copied from interface: ExpectedSaleDao
Converts an instance of type RemoteExpectedSaleFullVO to this DAO's entity.

See Also:
ExpectedSaleDao.remoteExpectedSaleFullVOToEntity(fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleFullVO)

remoteExpectedSaleFullVOToEntity

public void remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO source,
                                             ExpectedSale target,
                                             boolean copyIfNull)
Description copied from interface: ExpectedSaleDao
Copies the fields of RemoteExpectedSaleFullVO to the specified entity.

Specified by:
remoteExpectedSaleFullVOToEntity in interface ExpectedSaleDao
Overrides:
remoteExpectedSaleFullVOToEntity in class ExpectedSaleDaoBase
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.sale.ExpectedSaleDao#remoteExpectedSaleFullVOToEntity(fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleFullVO, fr.ifremer.allegro.data.sale.ExpectedSale)

toRemoteExpectedSaleNaturalId

public void toRemoteExpectedSaleNaturalId(ExpectedSale source,
                                          RemoteExpectedSaleNaturalId target)
Description copied from interface: ExpectedSaleDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteExpectedSaleNaturalId(), 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:
toRemoteExpectedSaleNaturalId in interface ExpectedSaleDao
Overrides:
toRemoteExpectedSaleNaturalId in class ExpectedSaleDaoBase
See Also:
ExpectedSaleDao.toRemoteExpectedSaleNaturalId(fr.ifremer.allegro.data.sale.ExpectedSale, fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleNaturalId)

toRemoteExpectedSaleNaturalId

public RemoteExpectedSaleNaturalId toRemoteExpectedSaleNaturalId(ExpectedSale entity)
Description copied from interface: ExpectedSaleDao
Converts this DAO's entity to an object of type RemoteExpectedSaleNaturalId.

Specified by:
toRemoteExpectedSaleNaturalId in interface ExpectedSaleDao
Overrides:
toRemoteExpectedSaleNaturalId in class ExpectedSaleDaoBase
See Also:
ExpectedSaleDao.toRemoteExpectedSaleNaturalId(fr.ifremer.allegro.data.sale.ExpectedSale)

remoteExpectedSaleNaturalIdToEntity

public ExpectedSale remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId remoteExpectedSaleNaturalId)
Description copied from interface: ExpectedSaleDao
Converts an instance of type RemoteExpectedSaleNaturalId to this DAO's entity.

See Also:
ExpectedSaleDao.remoteExpectedSaleNaturalIdToEntity(fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleNaturalId)

remoteExpectedSaleNaturalIdToEntity

public void remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId source,
                                                ExpectedSale target,
                                                boolean copyIfNull)
Description copied from interface: ExpectedSaleDao
Copies the fields of RemoteExpectedSaleNaturalId to the specified entity.

Specified by:
remoteExpectedSaleNaturalIdToEntity in interface ExpectedSaleDao
Overrides:
remoteExpectedSaleNaturalIdToEntity in class ExpectedSaleDaoBase
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.sale.ExpectedSaleDao#remoteExpectedSaleNaturalIdToEntity(fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleNaturalId, fr.ifremer.allegro.data.sale.ExpectedSale)

toClusterExpectedSale

public void toClusterExpectedSale(ExpectedSale source,
                                  ClusterExpectedSale target)
Description copied from interface: ExpectedSaleDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterExpectedSale(), 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:
toClusterExpectedSale in interface ExpectedSaleDao
Overrides:
toClusterExpectedSale in class ExpectedSaleDaoBase
See Also:
ExpectedSaleDao.toClusterExpectedSale(fr.ifremer.allegro.data.sale.ExpectedSale, fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale)

toClusterExpectedSale

public ClusterExpectedSale toClusterExpectedSale(ExpectedSale entity)
Description copied from interface: ExpectedSaleDao
Converts this DAO's entity to an object of type ClusterExpectedSale.

Specified by:
toClusterExpectedSale in interface ExpectedSaleDao
Overrides:
toClusterExpectedSale in class ExpectedSaleDaoBase
See Also:
ExpectedSaleDao.toClusterExpectedSale(fr.ifremer.allegro.data.sale.ExpectedSale)

clusterExpectedSaleToEntity

public ExpectedSale clusterExpectedSaleToEntity(ClusterExpectedSale clusterExpectedSale)
Description copied from interface: ExpectedSaleDao
Converts an instance of type ClusterExpectedSale to this DAO's entity.

See Also:
ExpectedSaleDao.clusterExpectedSaleToEntity(fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale)

clusterExpectedSaleToEntity

public void clusterExpectedSaleToEntity(ClusterExpectedSale source,
                                        ExpectedSale target,
                                        boolean copyIfNull)
Description copied from interface: ExpectedSaleDao
Copies the fields of ClusterExpectedSale to the specified entity.

Specified by:
clusterExpectedSaleToEntity in interface ExpectedSaleDao
Overrides:
clusterExpectedSaleToEntity in class ExpectedSaleDaoBase
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.sale.ExpectedSaleDao#clusterExpectedSaleToEntity(fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale, fr.ifremer.allegro.data.sale.ExpectedSale)


Copyright © 2008-2010 IFREMER. All Rights Reserved.