fr.ifremer.allegro.administration.programStrategy
Class AppliedStrategyDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDaoBase
          extended by fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDaoImpl
All Implemented Interfaces:
AppliedStrategyDao

public class AppliedStrategyDaoImpl
extends AppliedStrategyDaoBase

See Also:
AppliedStrategy

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDao
TRANSFORM_CLUSTERAPPLIEDSTRATEGY, TRANSFORM_NONE, TRANSFORM_REMOTEAPPLIEDSTRATEGYFULLVO, TRANSFORM_REMOTEAPPLIEDSTRATEGYNATURALID
 
Constructor Summary
AppliedStrategyDaoImpl()
           
 
Method Summary
 AppliedStrategy clusterAppliedStrategyToEntity(ClusterAppliedStrategy clusterAppliedStrategy)
          Converts an instance of type ClusterAppliedStrategy to this DAO's entity.
 void clusterAppliedStrategyToEntity(ClusterAppliedStrategy source, AppliedStrategy target, boolean copyIfNull)
          Copies the fields of ClusterAppliedStrategy to the specified entity.
protected  AppliedStrategy handleCreateFromClusterAppliedStrategy(ClusterAppliedStrategy clusterAppliedStrategy)
          Performs the core logic for AppliedStrategyDaoBase.createFromClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy)
 AppliedStrategy remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVO)
          Converts an instance of type RemoteAppliedStrategyFullVO to this DAO's entity.
 void remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO source, AppliedStrategy target, boolean copyIfNull)
          Copies the fields of RemoteAppliedStrategyFullVO to the specified entity.
 AppliedStrategy remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId remoteAppliedStrategyNaturalId)
          Converts an instance of type RemoteAppliedStrategyNaturalId to this DAO's entity.
 void remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId source, AppliedStrategy target, boolean copyIfNull)
          Copies the fields of RemoteAppliedStrategyNaturalId to the specified entity.
 ClusterAppliedStrategy toClusterAppliedStrategy(AppliedStrategy entity)
          Converts this DAO's entity to an object of type ClusterAppliedStrategy.
 void toClusterAppliedStrategy(AppliedStrategy source, ClusterAppliedStrategy target)
          Copies the fields of the specified entity to the target value object.
 RemoteAppliedStrategyFullVO toRemoteAppliedStrategyFullVO(AppliedStrategy entity)
          Converts this DAO's entity to an object of type RemoteAppliedStrategyFullVO.
 void toRemoteAppliedStrategyFullVO(AppliedStrategy source, RemoteAppliedStrategyFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteAppliedStrategyNaturalId toRemoteAppliedStrategyNaturalId(AppliedStrategy entity)
          Converts this DAO's entity to an object of type RemoteAppliedStrategyNaturalId.
 void toRemoteAppliedStrategyNaturalId(AppliedStrategy source, RemoteAppliedStrategyNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.administration.programStrategy.AppliedStrategyDaoBase
clusterAppliedStrategyToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterAppliedStrategy, findAppliedStrategyById, findAppliedStrategyById, findAppliedStrategyById, findAppliedStrategyById, findAppliedStrategyByLocation, findAppliedStrategyByLocation, findAppliedStrategyByLocation, findAppliedStrategyByLocation, findAppliedStrategyByLocation, findAppliedStrategyByLocation, findAppliedStrategyByLocation, findAppliedStrategyByLocation, findAppliedStrategyByNaturalId, findAppliedStrategyByNaturalId, findAppliedStrategyByNaturalId, findAppliedStrategyByNaturalId, findAppliedStrategyByStrategy, findAppliedStrategyByStrategy, findAppliedStrategyByStrategy, findAppliedStrategyByStrategy, findAppliedStrategyByStrategy, findAppliedStrategyByStrategy, findAppliedStrategyByStrategy, findAppliedStrategyByStrategy, getAllAppliedStrategy, getAllAppliedStrategy, getAllAppliedStrategy, getAllAppliedStrategy, getAllAppliedStrategy, getAllAppliedStrategy, getAllAppliedStrategy, getAllAppliedStrategy, getAppliedPeriodDao, getBatchModelAppliedStrategyDao, getLocationDao, getPmfmAppliedStrategyDao, getPrincipal, getStrategyDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteAppliedStrategyFullVOToEntityCollection, remoteAppliedStrategyNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setAppliedPeriodDao, setBatchModelAppliedStrategyDao, setLocationDao, setPmfmAppliedStrategyDao, setStrategyDao, toClusterAppliedStrategy, toClusterAppliedStrategyArray, toClusterAppliedStrategyCollection, toEntity, toRemoteAppliedStrategyFullVO, toRemoteAppliedStrategyFullVOArray, toRemoteAppliedStrategyFullVOCollection, toRemoteAppliedStrategyNaturalId, toRemoteAppliedStrategyNaturalIdArray, toRemoteAppliedStrategyNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppliedStrategyDaoImpl

public AppliedStrategyDaoImpl()
Method Detail

handleCreateFromClusterAppliedStrategy

protected AppliedStrategy handleCreateFromClusterAppliedStrategy(ClusterAppliedStrategy clusterAppliedStrategy)
Description copied from class: AppliedStrategyDaoBase
Performs the core logic for AppliedStrategyDaoBase.createFromClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy)

Specified by:
handleCreateFromClusterAppliedStrategy in class AppliedStrategyDaoBase
See Also:
AppliedStrategyDao.createFromClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy)

toRemoteAppliedStrategyFullVO

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

toRemoteAppliedStrategyFullVO

public RemoteAppliedStrategyFullVO toRemoteAppliedStrategyFullVO(AppliedStrategy entity)
Description copied from interface: AppliedStrategyDao
Converts this DAO's entity to an object of type RemoteAppliedStrategyFullVO.

Specified by:
toRemoteAppliedStrategyFullVO in interface AppliedStrategyDao
Overrides:
toRemoteAppliedStrategyFullVO in class AppliedStrategyDaoBase
See Also:
AppliedStrategyDao.toRemoteAppliedStrategyFullVO(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)

remoteAppliedStrategyFullVOToEntity

public AppliedStrategy remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVO)
Description copied from interface: AppliedStrategyDao
Converts an instance of type RemoteAppliedStrategyFullVO to this DAO's entity.

See Also:
AppliedStrategyDao.remoteAppliedStrategyFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

remoteAppliedStrategyFullVOToEntity

public void remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO source,
                                                AppliedStrategy target,
                                                boolean copyIfNull)
Description copied from interface: AppliedStrategyDao
Copies the fields of RemoteAppliedStrategyFullVO to the specified entity.

Specified by:
remoteAppliedStrategyFullVOToEntity in interface AppliedStrategyDao
Overrides:
remoteAppliedStrategyFullVOToEntity in class AppliedStrategyDaoBase
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.AppliedStrategyDao#remoteAppliedStrategyFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)

toRemoteAppliedStrategyNaturalId

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

toRemoteAppliedStrategyNaturalId

public RemoteAppliedStrategyNaturalId toRemoteAppliedStrategyNaturalId(AppliedStrategy entity)
Description copied from interface: AppliedStrategyDao
Converts this DAO's entity to an object of type RemoteAppliedStrategyNaturalId.

Specified by:
toRemoteAppliedStrategyNaturalId in interface AppliedStrategyDao
Overrides:
toRemoteAppliedStrategyNaturalId in class AppliedStrategyDaoBase
See Also:
AppliedStrategyDao.toRemoteAppliedStrategyNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)

remoteAppliedStrategyNaturalIdToEntity

public AppliedStrategy remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId remoteAppliedStrategyNaturalId)
Description copied from interface: AppliedStrategyDao
Converts an instance of type RemoteAppliedStrategyNaturalId to this DAO's entity.

See Also:
AppliedStrategyDao.remoteAppliedStrategyNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyNaturalId)

remoteAppliedStrategyNaturalIdToEntity

public void remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId source,
                                                   AppliedStrategy target,
                                                   boolean copyIfNull)
Description copied from interface: AppliedStrategyDao
Copies the fields of RemoteAppliedStrategyNaturalId to the specified entity.

Specified by:
remoteAppliedStrategyNaturalIdToEntity in interface AppliedStrategyDao
Overrides:
remoteAppliedStrategyNaturalIdToEntity in class AppliedStrategyDaoBase
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.AppliedStrategyDao#remoteAppliedStrategyNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyNaturalId, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)

toClusterAppliedStrategy

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

toClusterAppliedStrategy

public ClusterAppliedStrategy toClusterAppliedStrategy(AppliedStrategy entity)
Description copied from interface: AppliedStrategyDao
Converts this DAO's entity to an object of type ClusterAppliedStrategy.

Specified by:
toClusterAppliedStrategy in interface AppliedStrategyDao
Overrides:
toClusterAppliedStrategy in class AppliedStrategyDaoBase
See Also:
AppliedStrategyDao.toClusterAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)

clusterAppliedStrategyToEntity

public AppliedStrategy clusterAppliedStrategyToEntity(ClusterAppliedStrategy clusterAppliedStrategy)
Description copied from interface: AppliedStrategyDao
Converts an instance of type ClusterAppliedStrategy to this DAO's entity.

See Also:
AppliedStrategyDao.clusterAppliedStrategyToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy)

clusterAppliedStrategyToEntity

public void clusterAppliedStrategyToEntity(ClusterAppliedStrategy source,
                                           AppliedStrategy target,
                                           boolean copyIfNull)
Description copied from interface: AppliedStrategyDao
Copies the fields of ClusterAppliedStrategy to the specified entity.

Specified by:
clusterAppliedStrategyToEntity in interface AppliedStrategyDao
Overrides:
clusterAppliedStrategyToEntity in class AppliedStrategyDaoBase
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.AppliedStrategyDao#clusterAppliedStrategyToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedStrategy, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy)


Copyright © 2008-2010 IFREMER. All Rights Reserved.