fr.ifremer.allegro.referential.regulation
Class RightToProduceDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.regulation.RightToProduceDaoBase
          extended by fr.ifremer.allegro.referential.regulation.RightToProduceDaoImpl
All Implemented Interfaces:
RightToProduceDao

public class RightToProduceDaoImpl
extends RightToProduceDaoBase

See Also:
RightToProduce

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.regulation.RightToProduceDao
TRANSFORM_CLUSTERRIGHTTOPRODUCE, TRANSFORM_NONE, TRANSFORM_REMOTERIGHTTOPRODUCEFULLVO, TRANSFORM_REMOTERIGHTTOPRODUCENATURALID
 
Constructor Summary
RightToProduceDaoImpl()
           
 
Method Summary
 RightToProduce clusterRightToProduceToEntity(ClusterRightToProduce clusterRightToProduce)
          Converts an instance of type ClusterRightToProduce to this DAO's entity.
 void clusterRightToProduceToEntity(ClusterRightToProduce source, RightToProduce target, boolean copyIfNull)
          Copies the fields of ClusterRightToProduce to the specified entity.
protected  RightToProduce handleCreateFromClusterRightToProduce(ClusterRightToProduce clusterRightToProduce)
          Performs the core logic for RightToProduceDaoBase.createFromClusterRightToProduce(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)
protected  ClusterRightToProduce[] handleGetAllClusterRightToProduceSinceDateSynchro(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 RightToProduceDaoBase.getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 RightToProduce remoteRightToProduceFullVOToEntity(RemoteRightToProduceFullVO remoteRightToProduceFullVO)
          Converts an instance of type RemoteRightToProduceFullVO to this DAO's entity.
 void remoteRightToProduceFullVOToEntity(RemoteRightToProduceFullVO source, RightToProduce target, boolean copyIfNull)
          Copies the fields of RemoteRightToProduceFullVO to the specified entity.
 RightToProduce remoteRightToProduceNaturalIdToEntity(RemoteRightToProduceNaturalId remoteRightToProduceNaturalId)
          Converts an instance of type RemoteRightToProduceNaturalId to this DAO's entity.
 void remoteRightToProduceNaturalIdToEntity(RemoteRightToProduceNaturalId source, RightToProduce target, boolean copyIfNull)
          Copies the fields of RemoteRightToProduceNaturalId to the specified entity.
 ClusterRightToProduce toClusterRightToProduce(RightToProduce entity)
          Converts this DAO's entity to an object of type ClusterRightToProduce.
 void toClusterRightToProduce(RightToProduce source, ClusterRightToProduce target)
          Copies the fields of the specified entity to the target value object.
 RemoteRightToProduceFullVO toRemoteRightToProduceFullVO(RightToProduce entity)
          Converts this DAO's entity to an object of type RemoteRightToProduceFullVO.
 void toRemoteRightToProduceFullVO(RightToProduce source, RemoteRightToProduceFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteRightToProduceNaturalId toRemoteRightToProduceNaturalId(RightToProduce entity)
          Converts this DAO's entity to an object of type RemoteRightToProduceNaturalId.
 void toRemoteRightToProduceNaturalId(RightToProduce source, RemoteRightToProduceNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.regulation.RightToProduceDaoBase
clusterRightToProduceToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterRightToProduce, findRightToProduceByCorpus, findRightToProduceByCorpus, findRightToProduceByCorpus, findRightToProduceByCorpus, findRightToProduceById, findRightToProduceById, findRightToProduceById, findRightToProduceById, findRightToProduceByNaturalId, findRightToProduceByNaturalId, findRightToProduceByNaturalId, findRightToProduceByNaturalId, getAllClusterRightToProduceSinceDateSynchro, getAllRightToProduce, getAllRightToProduce, getAllRightToProduce, getAllRightToProduce, getAllRightToProduce, getAllRightToProduce, getAllRightToProduce, getAllRightToProduce, getAllRightToProduceSinceDateSynchro, getAllRightToProduceSinceDateSynchro, getAllRightToProduceSinceDateSynchro, getAllRightToProduceSinceDateSynchro, getAllRightToProduceSinceDateSynchro, getAllRightToProduceSinceDateSynchro, getAllRightToProduceSinceDateSynchro, getAllRightToProduceSinceDateSynchro, getCorpusDao, getFisheryDao, getPrincipal, getVesselDao, getVesselOwnerDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteRightToProduceFullVOToEntityCollection, remoteRightToProduceNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setCorpusDao, setFisheryDao, setVesselDao, setVesselOwnerDao, toClusterRightToProduce, toClusterRightToProduceArray, toClusterRightToProduceCollection, toEntity, toRemoteRightToProduceFullVO, toRemoteRightToProduceFullVOArray, toRemoteRightToProduceFullVOCollection, toRemoteRightToProduceNaturalId, toRemoteRightToProduceNaturalIdArray, toRemoteRightToProduceNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RightToProduceDaoImpl

public RightToProduceDaoImpl()
Method Detail

handleCreateFromClusterRightToProduce

protected RightToProduce handleCreateFromClusterRightToProduce(ClusterRightToProduce clusterRightToProduce)
Description copied from class: RightToProduceDaoBase
Performs the core logic for RightToProduceDaoBase.createFromClusterRightToProduce(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)

Specified by:
handleCreateFromClusterRightToProduce in class RightToProduceDaoBase
See Also:
RightToProduceDao.createFromClusterRightToProduce(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)

handleGetAllClusterRightToProduceSinceDateSynchro

protected ClusterRightToProduce[] handleGetAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                    java.lang.Integer userId,
                                                                                    java.lang.Integer[] registrationLocationIds,
                                                                                    java.lang.Integer pageNumber,
                                                                                    java.lang.Integer pageSize)
Description copied from class: RightToProduceDaoBase
Performs the core logic for RightToProduceDaoBase.getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterRightToProduceSinceDateSynchro in class RightToProduceDaoBase
See Also:
RightToProduceDao.getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteRightToProduceFullVO

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

toRemoteRightToProduceFullVO

public RemoteRightToProduceFullVO toRemoteRightToProduceFullVO(RightToProduce entity)
Description copied from interface: RightToProduceDao
Converts this DAO's entity to an object of type RemoteRightToProduceFullVO.

Specified by:
toRemoteRightToProduceFullVO in interface RightToProduceDao
Overrides:
toRemoteRightToProduceFullVO in class RightToProduceDaoBase
See Also:
RightToProduceDao.toRemoteRightToProduceFullVO(fr.ifremer.allegro.referential.regulation.RightToProduce)

remoteRightToProduceFullVOToEntity

public RightToProduce remoteRightToProduceFullVOToEntity(RemoteRightToProduceFullVO remoteRightToProduceFullVO)
Description copied from interface: RightToProduceDao
Converts an instance of type RemoteRightToProduceFullVO to this DAO's entity.

See Also:
RightToProduceDao.remoteRightToProduceFullVOToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

remoteRightToProduceFullVOToEntity

public void remoteRightToProduceFullVOToEntity(RemoteRightToProduceFullVO source,
                                               RightToProduce target,
                                               boolean copyIfNull)
Description copied from interface: RightToProduceDao
Copies the fields of RemoteRightToProduceFullVO to the specified entity.

Specified by:
remoteRightToProduceFullVOToEntity in interface RightToProduceDao
Overrides:
remoteRightToProduceFullVOToEntity in class RightToProduceDaoBase
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.regulation.RightToProduceDao#remoteRightToProduceFullVOToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO, fr.ifremer.allegro.referential.regulation.RightToProduce)

toRemoteRightToProduceNaturalId

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

toRemoteRightToProduceNaturalId

public RemoteRightToProduceNaturalId toRemoteRightToProduceNaturalId(RightToProduce entity)
Description copied from interface: RightToProduceDao
Converts this DAO's entity to an object of type RemoteRightToProduceNaturalId.

Specified by:
toRemoteRightToProduceNaturalId in interface RightToProduceDao
Overrides:
toRemoteRightToProduceNaturalId in class RightToProduceDaoBase
See Also:
RightToProduceDao.toRemoteRightToProduceNaturalId(fr.ifremer.allegro.referential.regulation.RightToProduce)

remoteRightToProduceNaturalIdToEntity

public RightToProduce remoteRightToProduceNaturalIdToEntity(RemoteRightToProduceNaturalId remoteRightToProduceNaturalId)
Description copied from interface: RightToProduceDao
Converts an instance of type RemoteRightToProduceNaturalId to this DAO's entity.

See Also:
RightToProduceDao.remoteRightToProduceNaturalIdToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceNaturalId)

remoteRightToProduceNaturalIdToEntity

public void remoteRightToProduceNaturalIdToEntity(RemoteRightToProduceNaturalId source,
                                                  RightToProduce target,
                                                  boolean copyIfNull)
Description copied from interface: RightToProduceDao
Copies the fields of RemoteRightToProduceNaturalId to the specified entity.

Specified by:
remoteRightToProduceNaturalIdToEntity in interface RightToProduceDao
Overrides:
remoteRightToProduceNaturalIdToEntity in class RightToProduceDaoBase
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.regulation.RightToProduceDao#remoteRightToProduceNaturalIdToEntity(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceNaturalId, fr.ifremer.allegro.referential.regulation.RightToProduce)

toClusterRightToProduce

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

toClusterRightToProduce

public ClusterRightToProduce toClusterRightToProduce(RightToProduce entity)
Description copied from interface: RightToProduceDao
Converts this DAO's entity to an object of type ClusterRightToProduce.

Specified by:
toClusterRightToProduce in interface RightToProduceDao
Overrides:
toClusterRightToProduce in class RightToProduceDaoBase
See Also:
RightToProduceDao.toClusterRightToProduce(fr.ifremer.allegro.referential.regulation.RightToProduce)

clusterRightToProduceToEntity

public RightToProduce clusterRightToProduceToEntity(ClusterRightToProduce clusterRightToProduce)
Description copied from interface: RightToProduceDao
Converts an instance of type ClusterRightToProduce to this DAO's entity.

See Also:
RightToProduceDao.clusterRightToProduceToEntity(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)

clusterRightToProduceToEntity

public void clusterRightToProduceToEntity(ClusterRightToProduce source,
                                          RightToProduce target,
                                          boolean copyIfNull)
Description copied from interface: RightToProduceDao
Copies the fields of ClusterRightToProduce to the specified entity.

Specified by:
clusterRightToProduceToEntity in interface RightToProduceDao
Overrides:
clusterRightToProduceToEntity in class RightToProduceDaoBase
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.regulation.RightToProduceDao#clusterRightToProduceToEntity(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce, fr.ifremer.allegro.referential.regulation.RightToProduce)


Copyright © 2008-2010 IFREMER. All Rights Reserved.