fr.ifremer.allegro.administration.programStrategy
Class AppliedPeriodDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.administration.programStrategy.AppliedPeriodDaoBase
          extended by fr.ifremer.allegro.administration.programStrategy.AppliedPeriodDaoImpl
All Implemented Interfaces:
AppliedPeriodDao

public class AppliedPeriodDaoImpl
extends AppliedPeriodDaoBase

See Also:
AppliedPeriod

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.administration.programStrategy.AppliedPeriodDao
TRANSFORM_CLUSTERAPPLIEDPERIOD, TRANSFORM_NONE, TRANSFORM_REMOTEAPPLIEDPERIODFULLVO, TRANSFORM_REMOTEAPPLIEDPERIODNATURALID
 
Constructor Summary
AppliedPeriodDaoImpl()
           
 
Method Summary
 AppliedPeriod clusterAppliedPeriodToEntity(ClusterAppliedPeriod clusterAppliedPeriod)
          Converts an instance of type ClusterAppliedPeriod to this DAO's entity.
 void clusterAppliedPeriodToEntity(ClusterAppliedPeriod source, AppliedPeriod target, boolean copyIfNull)
          Copies the fields of ClusterAppliedPeriod to the specified entity.
protected  AppliedPeriod handleCreateFromClusterAppliedPeriod(ClusterAppliedPeriod clusterAppliedPeriod)
          Performs the core logic for AppliedPeriodDaoBase.createFromClusterAppliedPeriod(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedPeriod)
 AppliedPeriod remoteAppliedPeriodFullVOToEntity(RemoteAppliedPeriodFullVO remoteAppliedPeriodFullVO)
          Converts an instance of type RemoteAppliedPeriodFullVO to this DAO's entity.
 void remoteAppliedPeriodFullVOToEntity(RemoteAppliedPeriodFullVO source, AppliedPeriod target, boolean copyIfNull)
          Copies the fields of RemoteAppliedPeriodFullVO to the specified entity.
 AppliedPeriod remoteAppliedPeriodNaturalIdToEntity(RemoteAppliedPeriodNaturalId remoteAppliedPeriodNaturalId)
          Converts an instance of type RemoteAppliedPeriodNaturalId to this DAO's entity.
 void remoteAppliedPeriodNaturalIdToEntity(RemoteAppliedPeriodNaturalId source, AppliedPeriod target, boolean copyIfNull)
          Copies the fields of RemoteAppliedPeriodNaturalId to the specified entity.
 ClusterAppliedPeriod toClusterAppliedPeriod(AppliedPeriod entity)
          Converts this DAO's entity to an object of type ClusterAppliedPeriod.
 void toClusterAppliedPeriod(AppliedPeriod source, ClusterAppliedPeriod target)
          Copies the fields of the specified entity to the target value object.
 RemoteAppliedPeriodFullVO toRemoteAppliedPeriodFullVO(AppliedPeriod entity)
          Converts this DAO's entity to an object of type RemoteAppliedPeriodFullVO.
 void toRemoteAppliedPeriodFullVO(AppliedPeriod source, RemoteAppliedPeriodFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteAppliedPeriodNaturalId toRemoteAppliedPeriodNaturalId(AppliedPeriod entity)
          Converts this DAO's entity to an object of type RemoteAppliedPeriodNaturalId.
 void toRemoteAppliedPeriodNaturalId(AppliedPeriod source, RemoteAppliedPeriodNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.administration.programStrategy.AppliedPeriodDaoBase
clusterAppliedPeriodToEntityCollection, create, create, create, create, create, create, createFromClusterAppliedPeriod, findAppliedPeriodByAppliedStrategy, findAppliedPeriodByAppliedStrategy, findAppliedPeriodByAppliedStrategy, findAppliedPeriodByAppliedStrategy, findAppliedPeriodByAppliedStrategy, findAppliedPeriodByAppliedStrategy, findAppliedPeriodByAppliedStrategy, findAppliedPeriodByAppliedStrategy, findAppliedPeriodByIdentifiers, findAppliedPeriodByIdentifiers, findAppliedPeriodByIdentifiers, findAppliedPeriodByIdentifiers, findAppliedPeriodByNaturalId, findAppliedPeriodByNaturalId, findAppliedPeriodByNaturalId, findAppliedPeriodByNaturalId, findAppliedPeriodByStartDate, findAppliedPeriodByStartDate, findAppliedPeriodByStartDate, findAppliedPeriodByStartDate, findAppliedPeriodByStartDate, findAppliedPeriodByStartDate, findAppliedPeriodByStartDate, findAppliedPeriodByStartDate, getAllAppliedPeriod, getAllAppliedPeriod, getAllAppliedPeriod, getAllAppliedPeriod, getAllAppliedPeriod, getAllAppliedPeriod, getAllAppliedPeriod, getAllAppliedPeriod, getAppliedStrategyDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteAppliedPeriodFullVOToEntityCollection, remoteAppliedPeriodNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setAppliedStrategyDao, toClusterAppliedPeriod, toClusterAppliedPeriodArray, toClusterAppliedPeriodCollection, toEntity, toRemoteAppliedPeriodFullVO, toRemoteAppliedPeriodFullVOArray, toRemoteAppliedPeriodFullVOCollection, toRemoteAppliedPeriodNaturalId, toRemoteAppliedPeriodNaturalIdArray, toRemoteAppliedPeriodNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppliedPeriodDaoImpl

public AppliedPeriodDaoImpl()
Method Detail

handleCreateFromClusterAppliedPeriod

protected AppliedPeriod handleCreateFromClusterAppliedPeriod(ClusterAppliedPeriod clusterAppliedPeriod)
Description copied from class: AppliedPeriodDaoBase
Performs the core logic for AppliedPeriodDaoBase.createFromClusterAppliedPeriod(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedPeriod)

Specified by:
handleCreateFromClusterAppliedPeriod in class AppliedPeriodDaoBase
See Also:
AppliedPeriodDao.createFromClusterAppliedPeriod(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedPeriod)

toRemoteAppliedPeriodFullVO

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

toRemoteAppliedPeriodFullVO

public RemoteAppliedPeriodFullVO toRemoteAppliedPeriodFullVO(AppliedPeriod entity)
Description copied from interface: AppliedPeriodDao
Converts this DAO's entity to an object of type RemoteAppliedPeriodFullVO.

Specified by:
toRemoteAppliedPeriodFullVO in interface AppliedPeriodDao
Overrides:
toRemoteAppliedPeriodFullVO in class AppliedPeriodDaoBase
See Also:
AppliedPeriodDao.toRemoteAppliedPeriodFullVO(fr.ifremer.allegro.administration.programStrategy.AppliedPeriod)

remoteAppliedPeriodFullVOToEntity

public AppliedPeriod remoteAppliedPeriodFullVOToEntity(RemoteAppliedPeriodFullVO remoteAppliedPeriodFullVO)
Description copied from interface: AppliedPeriodDao
Converts an instance of type RemoteAppliedPeriodFullVO to this DAO's entity.

See Also:
AppliedPeriodDao.remoteAppliedPeriodFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedPeriodFullVO)

remoteAppliedPeriodFullVOToEntity

public void remoteAppliedPeriodFullVOToEntity(RemoteAppliedPeriodFullVO source,
                                              AppliedPeriod target,
                                              boolean copyIfNull)
Description copied from interface: AppliedPeriodDao
Copies the fields of RemoteAppliedPeriodFullVO to the specified entity.

Specified by:
remoteAppliedPeriodFullVOToEntity in interface AppliedPeriodDao
Overrides:
remoteAppliedPeriodFullVOToEntity in class AppliedPeriodDaoBase
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.AppliedPeriodDao#remoteAppliedPeriodFullVOToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedPeriodFullVO, fr.ifremer.allegro.administration.programStrategy.AppliedPeriod)

toRemoteAppliedPeriodNaturalId

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

toRemoteAppliedPeriodNaturalId

public RemoteAppliedPeriodNaturalId toRemoteAppliedPeriodNaturalId(AppliedPeriod entity)
Description copied from interface: AppliedPeriodDao
Converts this DAO's entity to an object of type RemoteAppliedPeriodNaturalId.

Specified by:
toRemoteAppliedPeriodNaturalId in interface AppliedPeriodDao
Overrides:
toRemoteAppliedPeriodNaturalId in class AppliedPeriodDaoBase
See Also:
AppliedPeriodDao.toRemoteAppliedPeriodNaturalId(fr.ifremer.allegro.administration.programStrategy.AppliedPeriod)

remoteAppliedPeriodNaturalIdToEntity

public AppliedPeriod remoteAppliedPeriodNaturalIdToEntity(RemoteAppliedPeriodNaturalId remoteAppliedPeriodNaturalId)
Description copied from interface: AppliedPeriodDao
Converts an instance of type RemoteAppliedPeriodNaturalId to this DAO's entity.

See Also:
AppliedPeriodDao.remoteAppliedPeriodNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedPeriodNaturalId)

remoteAppliedPeriodNaturalIdToEntity

public void remoteAppliedPeriodNaturalIdToEntity(RemoteAppliedPeriodNaturalId source,
                                                 AppliedPeriod target,
                                                 boolean copyIfNull)
Description copied from interface: AppliedPeriodDao
Copies the fields of RemoteAppliedPeriodNaturalId to the specified entity.

Specified by:
remoteAppliedPeriodNaturalIdToEntity in interface AppliedPeriodDao
Overrides:
remoteAppliedPeriodNaturalIdToEntity in class AppliedPeriodDaoBase
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.AppliedPeriodDao#remoteAppliedPeriodNaturalIdToEntity(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedPeriodNaturalId, fr.ifremer.allegro.administration.programStrategy.AppliedPeriod)

toClusterAppliedPeriod

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

toClusterAppliedPeriod

public ClusterAppliedPeriod toClusterAppliedPeriod(AppliedPeriod entity)
Description copied from interface: AppliedPeriodDao
Converts this DAO's entity to an object of type ClusterAppliedPeriod.

Specified by:
toClusterAppliedPeriod in interface AppliedPeriodDao
Overrides:
toClusterAppliedPeriod in class AppliedPeriodDaoBase
See Also:
AppliedPeriodDao.toClusterAppliedPeriod(fr.ifremer.allegro.administration.programStrategy.AppliedPeriod)

clusterAppliedPeriodToEntity

public AppliedPeriod clusterAppliedPeriodToEntity(ClusterAppliedPeriod clusterAppliedPeriod)
Description copied from interface: AppliedPeriodDao
Converts an instance of type ClusterAppliedPeriod to this DAO's entity.

See Also:
AppliedPeriodDao.clusterAppliedPeriodToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedPeriod)

clusterAppliedPeriodToEntity

public void clusterAppliedPeriodToEntity(ClusterAppliedPeriod source,
                                         AppliedPeriod target,
                                         boolean copyIfNull)
Description copied from interface: AppliedPeriodDao
Copies the fields of ClusterAppliedPeriod to the specified entity.

Specified by:
clusterAppliedPeriodToEntity in interface AppliedPeriodDao
Overrides:
clusterAppliedPeriodToEntity in class AppliedPeriodDaoBase
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.AppliedPeriodDao#clusterAppliedPeriodToEntity(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterAppliedPeriod, fr.ifremer.allegro.administration.programStrategy.AppliedPeriod)


Copyright © 2008-2010 IFREMER. All Rights Reserved.