fr.ifremer.allegro.referential
Class SaleTypeDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.SaleTypeDaoBase
          extended by fr.ifremer.allegro.referential.SaleTypeDaoImpl
All Implemented Interfaces:
SaleTypeDao

public class SaleTypeDaoImpl
extends SaleTypeDaoBase

See Also:
SaleType

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.SaleTypeDao
TRANSFORM_CLUSTERSALETYPE, TRANSFORM_NONE, TRANSFORM_REMOTESALETYPEFULLVO, TRANSFORM_REMOTESALETYPENATURALID
 
Constructor Summary
SaleTypeDaoImpl()
           
 
Method Summary
 SaleType clusterSaleTypeToEntity(ClusterSaleType clusterSaleType)
          Converts an instance of type ClusterSaleType to this DAO's entity.
 void clusterSaleTypeToEntity(ClusterSaleType source, SaleType target, boolean copyIfNull)
          Copies the fields of ClusterSaleType to the specified entity.
protected  SaleType handleCreateFromClusterSaleType(ClusterSaleType clusterSaleType)
          Performs the core logic for SaleTypeDaoBase.createFromClusterSaleType(fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType)
protected  ClusterSaleType[] handleGetAllClusterSaleType(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for SaleTypeDaoBase.getAllClusterSaleType(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 SaleType remoteSaleTypeFullVOToEntity(RemoteSaleTypeFullVO remoteSaleTypeFullVO)
          Converts an instance of type RemoteSaleTypeFullVO to this DAO's entity.
 void remoteSaleTypeFullVOToEntity(RemoteSaleTypeFullVO source, SaleType target, boolean copyIfNull)
          Copies the fields of RemoteSaleTypeFullVO to the specified entity.
 SaleType remoteSaleTypeNaturalIdToEntity(RemoteSaleTypeNaturalId remoteSaleTypeNaturalId)
          Converts an instance of type RemoteSaleTypeNaturalId to this DAO's entity.
 void remoteSaleTypeNaturalIdToEntity(RemoteSaleTypeNaturalId source, SaleType target, boolean copyIfNull)
          Copies the fields of RemoteSaleTypeNaturalId to the specified entity.
 ClusterSaleType toClusterSaleType(SaleType entity)
          Converts this DAO's entity to an object of type ClusterSaleType.
 void toClusterSaleType(SaleType source, ClusterSaleType target)
          Copies the fields of the specified entity to the target value object.
 RemoteSaleTypeFullVO toRemoteSaleTypeFullVO(SaleType entity)
          Converts this DAO's entity to an object of type RemoteSaleTypeFullVO.
 void toRemoteSaleTypeFullVO(SaleType source, RemoteSaleTypeFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSaleTypeNaturalId toRemoteSaleTypeNaturalId(SaleType entity)
          Converts this DAO's entity to an object of type RemoteSaleTypeNaturalId.
 void toRemoteSaleTypeNaturalId(SaleType source, RemoteSaleTypeNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.SaleTypeDaoBase
clusterSaleTypeToEntityCollection, create, create, create, create, create, create, createFromClusterSaleType, findSaleTypeById, findSaleTypeById, findSaleTypeById, findSaleTypeById, findSaleTypeByNaturalId, findSaleTypeByNaturalId, findSaleTypeByNaturalId, findSaleTypeByNaturalId, findSaleTypeByStatus, findSaleTypeByStatus, findSaleTypeByStatus, findSaleTypeByStatus, findSaleTypeByStatus, findSaleTypeByStatus, findSaleTypeByStatus, findSaleTypeByStatus, getAllClusterSaleType, getAllSaleType, getAllSaleType, getAllSaleType, getAllSaleType, getAllSaleType, getAllSaleType, getAllSaleType, getAllSaleType, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteSaleTypeFullVOToEntityCollection, remoteSaleTypeNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setStatusDao, toClusterSaleType, toClusterSaleTypeArray, toClusterSaleTypeCollection, toEntity, toRemoteSaleTypeFullVO, toRemoteSaleTypeFullVOArray, toRemoteSaleTypeFullVOCollection, toRemoteSaleTypeNaturalId, toRemoteSaleTypeNaturalIdArray, toRemoteSaleTypeNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaleTypeDaoImpl

public SaleTypeDaoImpl()
Method Detail

handleCreateFromClusterSaleType

protected SaleType handleCreateFromClusterSaleType(ClusterSaleType clusterSaleType)
Description copied from class: SaleTypeDaoBase
Performs the core logic for SaleTypeDaoBase.createFromClusterSaleType(fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType)

Specified by:
handleCreateFromClusterSaleType in class SaleTypeDaoBase
See Also:
SaleTypeDao.createFromClusterSaleType(fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType)

handleGetAllClusterSaleType

protected ClusterSaleType[] handleGetAllClusterSaleType(java.lang.Integer userId,
                                                        java.lang.Integer[] registrationLocationIds,
                                                        java.lang.Integer pageNumber,
                                                        java.lang.Integer pageSize)
Description copied from class: SaleTypeDaoBase
Performs the core logic for SaleTypeDaoBase.getAllClusterSaleType(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterSaleType in class SaleTypeDaoBase
See Also:
SaleTypeDao.getAllClusterSaleType(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteSaleTypeFullVO

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

toRemoteSaleTypeFullVO

public RemoteSaleTypeFullVO toRemoteSaleTypeFullVO(SaleType entity)
Description copied from interface: SaleTypeDao
Converts this DAO's entity to an object of type RemoteSaleTypeFullVO.

Specified by:
toRemoteSaleTypeFullVO in interface SaleTypeDao
Overrides:
toRemoteSaleTypeFullVO in class SaleTypeDaoBase
See Also:
SaleTypeDao.toRemoteSaleTypeFullVO(fr.ifremer.allegro.referential.SaleType)

remoteSaleTypeFullVOToEntity

public SaleType remoteSaleTypeFullVOToEntity(RemoteSaleTypeFullVO remoteSaleTypeFullVO)
Description copied from interface: SaleTypeDao
Converts an instance of type RemoteSaleTypeFullVO to this DAO's entity.

See Also:
SaleTypeDao.remoteSaleTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteSaleTypeFullVO)

remoteSaleTypeFullVOToEntity

public void remoteSaleTypeFullVOToEntity(RemoteSaleTypeFullVO source,
                                         SaleType target,
                                         boolean copyIfNull)
Description copied from interface: SaleTypeDao
Copies the fields of RemoteSaleTypeFullVO to the specified entity.

Specified by:
remoteSaleTypeFullVOToEntity in interface SaleTypeDao
Overrides:
remoteSaleTypeFullVOToEntity in class SaleTypeDaoBase
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.SaleTypeDao#remoteSaleTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteSaleTypeFullVO, fr.ifremer.allegro.referential.SaleType)

toRemoteSaleTypeNaturalId

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

toRemoteSaleTypeNaturalId

public RemoteSaleTypeNaturalId toRemoteSaleTypeNaturalId(SaleType entity)
Description copied from interface: SaleTypeDao
Converts this DAO's entity to an object of type RemoteSaleTypeNaturalId.

Specified by:
toRemoteSaleTypeNaturalId in interface SaleTypeDao
Overrides:
toRemoteSaleTypeNaturalId in class SaleTypeDaoBase
See Also:
SaleTypeDao.toRemoteSaleTypeNaturalId(fr.ifremer.allegro.referential.SaleType)

remoteSaleTypeNaturalIdToEntity

public SaleType remoteSaleTypeNaturalIdToEntity(RemoteSaleTypeNaturalId remoteSaleTypeNaturalId)
Description copied from interface: SaleTypeDao
Converts an instance of type RemoteSaleTypeNaturalId to this DAO's entity.

See Also:
SaleTypeDao.remoteSaleTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteSaleTypeNaturalId)

remoteSaleTypeNaturalIdToEntity

public void remoteSaleTypeNaturalIdToEntity(RemoteSaleTypeNaturalId source,
                                            SaleType target,
                                            boolean copyIfNull)
Description copied from interface: SaleTypeDao
Copies the fields of RemoteSaleTypeNaturalId to the specified entity.

Specified by:
remoteSaleTypeNaturalIdToEntity in interface SaleTypeDao
Overrides:
remoteSaleTypeNaturalIdToEntity in class SaleTypeDaoBase
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.SaleTypeDao#remoteSaleTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteSaleTypeNaturalId, fr.ifremer.allegro.referential.SaleType)

toClusterSaleType

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

toClusterSaleType

public ClusterSaleType toClusterSaleType(SaleType entity)
Description copied from interface: SaleTypeDao
Converts this DAO's entity to an object of type ClusterSaleType.

Specified by:
toClusterSaleType in interface SaleTypeDao
Overrides:
toClusterSaleType in class SaleTypeDaoBase
See Also:
SaleTypeDao.toClusterSaleType(fr.ifremer.allegro.referential.SaleType)

clusterSaleTypeToEntity

public SaleType clusterSaleTypeToEntity(ClusterSaleType clusterSaleType)
Description copied from interface: SaleTypeDao
Converts an instance of type ClusterSaleType to this DAO's entity.

See Also:
SaleTypeDao.clusterSaleTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType)

clusterSaleTypeToEntity

public void clusterSaleTypeToEntity(ClusterSaleType source,
                                    SaleType target,
                                    boolean copyIfNull)
Description copied from interface: SaleTypeDao
Copies the fields of ClusterSaleType to the specified entity.

Specified by:
clusterSaleTypeToEntity in interface SaleTypeDao
Overrides:
clusterSaleTypeToEntity in class SaleTypeDaoBase
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.SaleTypeDao#clusterSaleTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterSaleType, fr.ifremer.allegro.referential.SaleType)


Copyright © 2008-2010 IFREMER. All Rights Reserved.