fr.ifremer.allegro.referential.pmfm
Class FractionDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.pmfm.FractionDaoBase
          extended by fr.ifremer.allegro.referential.pmfm.FractionDaoImpl
All Implemented Interfaces:
FractionDao

public class FractionDaoImpl
extends FractionDaoBase

See Also:
Fraction

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.FractionDao
TRANSFORM_CLUSTERFRACTION, TRANSFORM_NONE, TRANSFORM_REMOTEFRACTIONFULLVO, TRANSFORM_REMOTEFRACTIONNATURALID
 
Constructor Summary
FractionDaoImpl()
           
 
Method Summary
 Fraction clusterFractionToEntity(ClusterFraction clusterFraction)
          Converts an instance of type ClusterFraction to this DAO's entity.
 void clusterFractionToEntity(ClusterFraction source, Fraction target, boolean copyIfNull)
          Copies the fields of ClusterFraction to the specified entity.
protected  Fraction handleCreateFromClusterFraction(ClusterFraction clusterFraction)
          Performs the core logic for FractionDaoBase.createFromClusterFraction(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterFraction)
protected  ClusterFraction[] handleGetAllClusterFractionSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for FractionDaoBase.getAllClusterFractionSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Fraction remoteFractionFullVOToEntity(RemoteFractionFullVO remoteFractionFullVO)
          Converts an instance of type RemoteFractionFullVO to this DAO's entity.
 void remoteFractionFullVOToEntity(RemoteFractionFullVO source, Fraction target, boolean copyIfNull)
          Copies the fields of RemoteFractionFullVO to the specified entity.
 Fraction remoteFractionNaturalIdToEntity(RemoteFractionNaturalId remoteFractionNaturalId)
          Converts an instance of type RemoteFractionNaturalId to this DAO's entity.
 void remoteFractionNaturalIdToEntity(RemoteFractionNaturalId source, Fraction target, boolean copyIfNull)
          Copies the fields of RemoteFractionNaturalId to the specified entity.
 ClusterFraction toClusterFraction(Fraction entity)
          Converts this DAO's entity to an object of type ClusterFraction.
 void toClusterFraction(Fraction source, ClusterFraction target)
          Copies the fields of the specified entity to the target value object.
 RemoteFractionFullVO toRemoteFractionFullVO(Fraction entity)
          Converts this DAO's entity to an object of type RemoteFractionFullVO.
 void toRemoteFractionFullVO(Fraction source, RemoteFractionFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteFractionNaturalId toRemoteFractionNaturalId(Fraction entity)
          Converts this DAO's entity to an object of type RemoteFractionNaturalId.
 void toRemoteFractionNaturalId(Fraction source, RemoteFractionNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.pmfm.FractionDaoBase
clusterFractionToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterFraction, findFractionById, findFractionById, findFractionById, findFractionById, findFractionByNaturalId, findFractionByNaturalId, findFractionByNaturalId, findFractionByNaturalId, findFractionByStatus, findFractionByStatus, findFractionByStatus, findFractionByStatus, findFractionByStatus, findFractionByStatus, findFractionByStatus, findFractionByStatus, getAllClusterFractionSinceDateSynchro, getAllFraction, getAllFraction, getAllFraction, getAllFraction, getAllFraction, getAllFraction, getAllFraction, getAllFraction, getAllFractionSinceDateSynchro, getAllFractionSinceDateSynchro, getAllFractionSinceDateSynchro, getAllFractionSinceDateSynchro, getAllFractionSinceDateSynchro, getAllFractionSinceDateSynchro, getAllFractionSinceDateSynchro, getAllFractionSinceDateSynchro, getMatrixDao, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteFractionFullVOToEntityCollection, remoteFractionNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setMatrixDao, setStatusDao, toClusterFraction, toClusterFractionArray, toClusterFractionCollection, toEntity, toRemoteFractionFullVO, toRemoteFractionFullVOArray, toRemoteFractionFullVOCollection, toRemoteFractionNaturalId, toRemoteFractionNaturalIdArray, toRemoteFractionNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FractionDaoImpl

public FractionDaoImpl()
Method Detail

handleCreateFromClusterFraction

protected Fraction handleCreateFromClusterFraction(ClusterFraction clusterFraction)
Description copied from class: FractionDaoBase
Performs the core logic for FractionDaoBase.createFromClusterFraction(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterFraction)

Specified by:
handleCreateFromClusterFraction in class FractionDaoBase
See Also:
FractionDao.createFromClusterFraction(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterFraction)

handleGetAllClusterFractionSinceDateSynchro

protected ClusterFraction[] handleGetAllClusterFractionSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                        java.lang.Integer userId,
                                                                        java.lang.Integer[] registrationLocationIds,
                                                                        java.lang.Integer pageNumber,
                                                                        java.lang.Integer pageSize)
Description copied from class: FractionDaoBase
Performs the core logic for FractionDaoBase.getAllClusterFractionSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterFractionSinceDateSynchro in class FractionDaoBase
See Also:
FractionDao.getAllClusterFractionSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteFractionFullVO

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

toRemoteFractionFullVO

public RemoteFractionFullVO toRemoteFractionFullVO(Fraction entity)
Description copied from interface: FractionDao
Converts this DAO's entity to an object of type RemoteFractionFullVO.

Specified by:
toRemoteFractionFullVO in interface FractionDao
Overrides:
toRemoteFractionFullVO in class FractionDaoBase
See Also:
FractionDao.toRemoteFractionFullVO(fr.ifremer.allegro.referential.pmfm.Fraction)

remoteFractionFullVOToEntity

public Fraction remoteFractionFullVOToEntity(RemoteFractionFullVO remoteFractionFullVO)
Description copied from interface: FractionDao
Converts an instance of type RemoteFractionFullVO to this DAO's entity.

See Also:
FractionDao.remoteFractionFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteFractionFullVO)

remoteFractionFullVOToEntity

public void remoteFractionFullVOToEntity(RemoteFractionFullVO source,
                                         Fraction target,
                                         boolean copyIfNull)
Description copied from interface: FractionDao
Copies the fields of RemoteFractionFullVO to the specified entity.

Specified by:
remoteFractionFullVOToEntity in interface FractionDao
Overrides:
remoteFractionFullVOToEntity in class FractionDaoBase
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.pmfm.FractionDao#remoteFractionFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteFractionFullVO, fr.ifremer.allegro.referential.pmfm.Fraction)

toRemoteFractionNaturalId

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

toRemoteFractionNaturalId

public RemoteFractionNaturalId toRemoteFractionNaturalId(Fraction entity)
Description copied from interface: FractionDao
Converts this DAO's entity to an object of type RemoteFractionNaturalId.

Specified by:
toRemoteFractionNaturalId in interface FractionDao
Overrides:
toRemoteFractionNaturalId in class FractionDaoBase
See Also:
FractionDao.toRemoteFractionNaturalId(fr.ifremer.allegro.referential.pmfm.Fraction)

remoteFractionNaturalIdToEntity

public Fraction remoteFractionNaturalIdToEntity(RemoteFractionNaturalId remoteFractionNaturalId)
Description copied from interface: FractionDao
Converts an instance of type RemoteFractionNaturalId to this DAO's entity.

See Also:
FractionDao.remoteFractionNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteFractionNaturalId)

remoteFractionNaturalIdToEntity

public void remoteFractionNaturalIdToEntity(RemoteFractionNaturalId source,
                                            Fraction target,
                                            boolean copyIfNull)
Description copied from interface: FractionDao
Copies the fields of RemoteFractionNaturalId to the specified entity.

Specified by:
remoteFractionNaturalIdToEntity in interface FractionDao
Overrides:
remoteFractionNaturalIdToEntity in class FractionDaoBase
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.pmfm.FractionDao#remoteFractionNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteFractionNaturalId, fr.ifremer.allegro.referential.pmfm.Fraction)

toClusterFraction

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

toClusterFraction

public ClusterFraction toClusterFraction(Fraction entity)
Description copied from interface: FractionDao
Converts this DAO's entity to an object of type ClusterFraction.

Specified by:
toClusterFraction in interface FractionDao
Overrides:
toClusterFraction in class FractionDaoBase
See Also:
FractionDao.toClusterFraction(fr.ifremer.allegro.referential.pmfm.Fraction)

clusterFractionToEntity

public Fraction clusterFractionToEntity(ClusterFraction clusterFraction)
Description copied from interface: FractionDao
Converts an instance of type ClusterFraction to this DAO's entity.

See Also:
FractionDao.clusterFractionToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterFraction)

clusterFractionToEntity

public void clusterFractionToEntity(ClusterFraction source,
                                    Fraction target,
                                    boolean copyIfNull)
Description copied from interface: FractionDao
Copies the fields of ClusterFraction to the specified entity.

Specified by:
clusterFractionToEntity in interface FractionDao
Overrides:
clusterFractionToEntity in class FractionDaoBase
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.pmfm.FractionDao#clusterFractionToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterFraction, fr.ifremer.allegro.referential.pmfm.Fraction)


Copyright © 2008-2010 IFREMER. All Rights Reserved.