fr.ifremer.allegro.administration.programStrategy
Class AcquisitionLevelDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.programStrategy.AcquisitionLevelDaoBase
          extended by fr.ifremer.allegro.administration.programStrategy.AcquisitionLevelDaoImpl
All Implemented Interfaces:
AcquisitionLevelDao

public class AcquisitionLevelDaoImpl
extends AcquisitionLevelDaoBase

See Also:
AcquisitionLevel

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.AcquisitionLevelDao
TRANSFORM_CLUSTERACQUISITIONLEVEL, TRANSFORM_NONE, TRANSFORM_REMOTEACQUISITIONLEVELFULLVO, TRANSFORM_REMOTEACQUISITIONLEVELNATURALID
 
Constructor Summary
AcquisitionLevelDaoImpl()
           
 
Method Summary
 AcquisitionLevel clusterAcquisitionLevelToEntity(ClusterAcquisitionLevel clusterAcquisitionLevel)
          Converts an instance of type ClusterAcquisitionLevel to this DAO's entity.
 void clusterAcquisitionLevelToEntity(ClusterAcquisitionLevel source, AcquisitionLevel target, boolean copyIfNull)
          Copies the fields of ClusterAcquisitionLevel to the specified entity.
protected  AcquisitionLevel handleCreateFromClusterAcquisitionLevel(ClusterAcquisitionLevel clusterAcquisitionLevel)
          Performs the core logic for AcquisitionLevelDaoBase.createFromClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel)
protected  ClusterAcquisitionLevel[] handleGetAllClusterAcquisitionLevel(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for AcquisitionLevelDaoBase.getAllClusterAcquisitionLevel(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 AcquisitionLevel remoteAcquisitionLevelFullVOToEntity(RemoteAcquisitionLevelFullVO remoteAcquisitionLevelFullVO)
          Converts an instance of type RemoteAcquisitionLevelFullVO to this DAO's entity.
 void remoteAcquisitionLevelFullVOToEntity(RemoteAcquisitionLevelFullVO source, AcquisitionLevel target, boolean copyIfNull)
          Copies the fields of RemoteAcquisitionLevelFullVO to the specified entity.
 AcquisitionLevel remoteAcquisitionLevelNaturalIdToEntity(RemoteAcquisitionLevelNaturalId remoteAcquisitionLevelNaturalId)
          Converts an instance of type RemoteAcquisitionLevelNaturalId to this DAO's entity.
 void remoteAcquisitionLevelNaturalIdToEntity(RemoteAcquisitionLevelNaturalId source, AcquisitionLevel target, boolean copyIfNull)
          Copies the fields of RemoteAcquisitionLevelNaturalId to the specified entity.
 ClusterAcquisitionLevel toClusterAcquisitionLevel(AcquisitionLevel entity)
          Converts this DAO's entity to an object of type ClusterAcquisitionLevel.
 void toClusterAcquisitionLevel(AcquisitionLevel source, ClusterAcquisitionLevel target)
          Copies the fields of the specified entity to the target value object.
 RemoteAcquisitionLevelFullVO toRemoteAcquisitionLevelFullVO(AcquisitionLevel entity)
          Converts this DAO's entity to an object of type RemoteAcquisitionLevelFullVO.
 void toRemoteAcquisitionLevelFullVO(AcquisitionLevel source, RemoteAcquisitionLevelFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteAcquisitionLevelNaturalId toRemoteAcquisitionLevelNaturalId(AcquisitionLevel entity)
          Converts this DAO's entity to an object of type RemoteAcquisitionLevelNaturalId.
 void toRemoteAcquisitionLevelNaturalId(AcquisitionLevel source, RemoteAcquisitionLevelNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.administration.programStrategy.AcquisitionLevelDaoBase
clusterAcquisitionLevelToEntityCollection, create, create, create, create, create, create, createFromClusterAcquisitionLevel, findAcquisitionLevelByCode, findAcquisitionLevelByCode, findAcquisitionLevelByCode, findAcquisitionLevelByCode, findAcquisitionLevelByNaturalId, findAcquisitionLevelByNaturalId, findAcquisitionLevelByNaturalId, findAcquisitionLevelByNaturalId, getAllAcquisitionLevel, getAllAcquisitionLevel, getAllAcquisitionLevel, getAllAcquisitionLevel, getAllAcquisitionLevel, getAllAcquisitionLevel, getAllAcquisitionLevel, getAllAcquisitionLevel, getAllClusterAcquisitionLevel, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteAcquisitionLevelFullVOToEntityCollection, remoteAcquisitionLevelNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, toClusterAcquisitionLevel, toClusterAcquisitionLevelArray, toClusterAcquisitionLevelCollection, toEntity, toRemoteAcquisitionLevelFullVO, toRemoteAcquisitionLevelFullVOArray, toRemoteAcquisitionLevelFullVOCollection, toRemoteAcquisitionLevelNaturalId, toRemoteAcquisitionLevelNaturalIdArray, toRemoteAcquisitionLevelNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcquisitionLevelDaoImpl

public AcquisitionLevelDaoImpl()
Method Detail

handleCreateFromClusterAcquisitionLevel

protected AcquisitionLevel handleCreateFromClusterAcquisitionLevel(ClusterAcquisitionLevel clusterAcquisitionLevel)
Description copied from class: AcquisitionLevelDaoBase
Performs the core logic for AcquisitionLevelDaoBase.createFromClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel)

Specified by:
handleCreateFromClusterAcquisitionLevel in class AcquisitionLevelDaoBase
See Also:
AcquisitionLevelDao.createFromClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel)

handleGetAllClusterAcquisitionLevel

protected ClusterAcquisitionLevel[] handleGetAllClusterAcquisitionLevel(java.lang.Integer userId,
                                                                        java.lang.Integer[] registrationLocationIds,
                                                                        java.lang.Integer pageNumber,
                                                                        java.lang.Integer pageSize)
Description copied from class: AcquisitionLevelDaoBase
Performs the core logic for AcquisitionLevelDaoBase.getAllClusterAcquisitionLevel(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterAcquisitionLevel in class AcquisitionLevelDaoBase
See Also:
AcquisitionLevelDao.getAllClusterAcquisitionLevel(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteAcquisitionLevelFullVO

public void toRemoteAcquisitionLevelFullVO(AcquisitionLevel source,
                                           RemoteAcquisitionLevelFullVO target)
Description copied from interface: AcquisitionLevelDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteAcquisitionLevelFullVO(), 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:
toRemoteAcquisitionLevelFullVO in interface AcquisitionLevelDao
Overrides:
toRemoteAcquisitionLevelFullVO in class AcquisitionLevelDaoBase
See Also:
AcquisitionLevelDao.toRemoteAcquisitionLevelFullVO(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelFullVO)

toRemoteAcquisitionLevelFullVO

public RemoteAcquisitionLevelFullVO toRemoteAcquisitionLevelFullVO(AcquisitionLevel entity)
Description copied from interface: AcquisitionLevelDao
Converts this DAO's entity to an object of type RemoteAcquisitionLevelFullVO.

Specified by:
toRemoteAcquisitionLevelFullVO in interface AcquisitionLevelDao
Overrides:
toRemoteAcquisitionLevelFullVO in class AcquisitionLevelDaoBase
See Also:
AcquisitionLevelDao.toRemoteAcquisitionLevelFullVO(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

remoteAcquisitionLevelFullVOToEntity

public AcquisitionLevel remoteAcquisitionLevelFullVOToEntity(RemoteAcquisitionLevelFullVO remoteAcquisitionLevelFullVO)
Description copied from interface: AcquisitionLevelDao
Converts an instance of type RemoteAcquisitionLevelFullVO to this DAO's entity.

See Also:
AcquisitionLevelDao.remoteAcquisitionLevelFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelFullVO)

remoteAcquisitionLevelFullVOToEntity

public void remoteAcquisitionLevelFullVOToEntity(RemoteAcquisitionLevelFullVO source,
                                                 AcquisitionLevel target,
                                                 boolean copyIfNull)
Description copied from interface: AcquisitionLevelDao
Copies the fields of RemoteAcquisitionLevelFullVO to the specified entity.

Specified by:
remoteAcquisitionLevelFullVOToEntity in interface AcquisitionLevelDao
Overrides:
remoteAcquisitionLevelFullVOToEntity in class AcquisitionLevelDaoBase
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.administration.programStrategy.AcquisitionLevelDao#remoteAcquisitionLevelFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelFullVO, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

toRemoteAcquisitionLevelNaturalId

public void toRemoteAcquisitionLevelNaturalId(AcquisitionLevel source,
                                              RemoteAcquisitionLevelNaturalId target)
Description copied from interface: AcquisitionLevelDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteAcquisitionLevelNaturalId(), 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:
toRemoteAcquisitionLevelNaturalId in interface AcquisitionLevelDao
Overrides:
toRemoteAcquisitionLevelNaturalId in class AcquisitionLevelDaoBase
See Also:
AcquisitionLevelDao.toRemoteAcquisitionLevelNaturalId(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelNaturalId)

toRemoteAcquisitionLevelNaturalId

public RemoteAcquisitionLevelNaturalId toRemoteAcquisitionLevelNaturalId(AcquisitionLevel entity)
Description copied from interface: AcquisitionLevelDao
Converts this DAO's entity to an object of type RemoteAcquisitionLevelNaturalId.

Specified by:
toRemoteAcquisitionLevelNaturalId in interface AcquisitionLevelDao
Overrides:
toRemoteAcquisitionLevelNaturalId in class AcquisitionLevelDaoBase
See Also:
AcquisitionLevelDao.toRemoteAcquisitionLevelNaturalId(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

remoteAcquisitionLevelNaturalIdToEntity

public AcquisitionLevel remoteAcquisitionLevelNaturalIdToEntity(RemoteAcquisitionLevelNaturalId remoteAcquisitionLevelNaturalId)
Description copied from interface: AcquisitionLevelDao
Converts an instance of type RemoteAcquisitionLevelNaturalId to this DAO's entity.

See Also:
AcquisitionLevelDao.remoteAcquisitionLevelNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelNaturalId)

remoteAcquisitionLevelNaturalIdToEntity

public void remoteAcquisitionLevelNaturalIdToEntity(RemoteAcquisitionLevelNaturalId source,
                                                    AcquisitionLevel target,
                                                    boolean copyIfNull)
Description copied from interface: AcquisitionLevelDao
Copies the fields of RemoteAcquisitionLevelNaturalId to the specified entity.

Specified by:
remoteAcquisitionLevelNaturalIdToEntity in interface AcquisitionLevelDao
Overrides:
remoteAcquisitionLevelNaturalIdToEntity in class AcquisitionLevelDaoBase
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.administration.programStrategy.AcquisitionLevelDao#remoteAcquisitionLevelNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAcquisitionLevelNaturalId, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

toClusterAcquisitionLevel

public void toClusterAcquisitionLevel(AcquisitionLevel source,
                                      ClusterAcquisitionLevel target)
Description copied from interface: AcquisitionLevelDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterAcquisitionLevel(), 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:
toClusterAcquisitionLevel in interface AcquisitionLevelDao
Overrides:
toClusterAcquisitionLevel in class AcquisitionLevelDaoBase
See Also:
AcquisitionLevelDao.toClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel, fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel)

toClusterAcquisitionLevel

public ClusterAcquisitionLevel toClusterAcquisitionLevel(AcquisitionLevel entity)
Description copied from interface: AcquisitionLevelDao
Converts this DAO's entity to an object of type ClusterAcquisitionLevel.

Specified by:
toClusterAcquisitionLevel in interface AcquisitionLevelDao
Overrides:
toClusterAcquisitionLevel in class AcquisitionLevelDaoBase
See Also:
AcquisitionLevelDao.toClusterAcquisitionLevel(fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)

clusterAcquisitionLevelToEntity

public AcquisitionLevel clusterAcquisitionLevelToEntity(ClusterAcquisitionLevel clusterAcquisitionLevel)
Description copied from interface: AcquisitionLevelDao
Converts an instance of type ClusterAcquisitionLevel to this DAO's entity.

See Also:
AcquisitionLevelDao.clusterAcquisitionLevelToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel)

clusterAcquisitionLevelToEntity

public void clusterAcquisitionLevelToEntity(ClusterAcquisitionLevel source,
                                            AcquisitionLevel target,
                                            boolean copyIfNull)
Description copied from interface: AcquisitionLevelDao
Copies the fields of ClusterAcquisitionLevel to the specified entity.

Specified by:
clusterAcquisitionLevelToEntity in interface AcquisitionLevelDao
Overrides:
clusterAcquisitionLevelToEntity in class AcquisitionLevelDaoBase
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.administration.programStrategy.AcquisitionLevelDao#clusterAcquisitionLevelToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAcquisitionLevel, fr.ifremer.allegro.administration.programStrategy.AcquisitionLevel)


Copyright © 2008-2010 IFREMER. All Rights Reserved.