fr.ifremer.allegro.referential.regulation.generic.service
Class RemoteRightToProduceFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.regulation.generic.service.RemoteRightToProduceFullServiceBase
All Implemented Interfaces:
RemoteRightToProduceFullService
Direct Known Subclasses:
RemoteRightToProduceFullServiceImpl

public abstract class RemoteRightToProduceFullServiceBase
extends java.lang.Object
implements RemoteRightToProduceFullService

Spring Service base class for fr.ifremer.allegro.referential.regulation.generic.service.RemoteRightToProduceFullService, provides access to all services and entities referenced by this service.

See Also:
RemoteRightToProduceFullService

Constructor Summary
RemoteRightToProduceFullServiceBase()
           
 
Method Summary
 ClusterRightToProduce addOrUpdateClusterRightToProduce(ClusterRightToProduce clusterRightToProduce)
           
 RemoteRightToProduceFullVO addRightToProduce(RemoteRightToProduceFullVO rightToProduce)
           
 ClusterRightToProduce[] getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteRightToProduceFullVO[] getAllRightToProduce()
           
 ClusterRightToProduce getClusterRightToProduceByIdentifiers(java.lang.Integer id)
           
protected  CorpusDao getCorpusDao()
          Gets the reference to corpus's DAO.
protected  FisheryDao getFisheryDao()
          Gets the reference to fishery's DAO.
protected  java.lang.String getMessage(java.lang.String key)
          Gets the message having the given key in the underlying message bundle.
protected  java.lang.String getMessage(java.lang.String key, java.lang.Object[] arguments)
          Gets the message having the given key and arguments in the underlying message bundle.
protected  java.lang.String getMessage(java.lang.String key, java.lang.Object[] arguments, java.util.Locale locale)
          Gets the message having the given key using the given arguments for the given locale.
protected  org.springframework.context.MessageSource getMessages()
          Gets the message source available to this service.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
 RemoteRightToProduceFullVO getRightToProduceByCorpusId(java.lang.Integer id)
           
 RemoteRightToProduceFullVO getRightToProduceById(java.lang.Integer id)
           
 RemoteRightToProduceFullVO[] getRightToProduceByIds(java.lang.Integer[] id)
           
 RemoteRightToProduceFullVO getRightToProduceByNaturalId(RemoteRightToProduceNaturalId rightToProduceNaturalId)
           
protected  RightToProduceDao getRightToProduceDao()
          Gets the reference to rightToProduce's DAO.
 RemoteRightToProduceNaturalId getRightToProduceNaturalIdById(java.lang.Integer id)
           
 RemoteRightToProduceNaturalId[] getRightToProduceNaturalIds()
           
protected  VesselDao getVesselDao()
          Gets the reference to vessel's DAO.
protected  VesselOwnerDao getVesselOwnerDao()
          Gets the reference to vesselOwner's DAO.
protected abstract  ClusterRightToProduce handleAddOrUpdateClusterRightToProduce(ClusterRightToProduce clusterRightToProduce)
          Performs the core logic for addOrUpdateClusterRightToProduce(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)
protected abstract  RemoteRightToProduceFullVO handleAddRightToProduce(RemoteRightToProduceFullVO rightToProduce)
          Performs the core logic for addRightToProduce(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)
protected abstract  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 getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteRightToProduceFullVO[] handleGetAllRightToProduce()
          Performs the core logic for getAllRightToProduce()
protected abstract  ClusterRightToProduce handleGetClusterRightToProduceByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterRightToProduceByIdentifiers(java.lang.Integer)
protected abstract  RemoteRightToProduceFullVO handleGetRightToProduceByCorpusId(java.lang.Integer id)
          Performs the core logic for getRightToProduceByCorpusId(java.lang.Integer)
protected abstract  RemoteRightToProduceFullVO handleGetRightToProduceById(java.lang.Integer id)
          Performs the core logic for getRightToProduceById(java.lang.Integer)
protected abstract  RemoteRightToProduceFullVO[] handleGetRightToProduceByIds(java.lang.Integer[] id)
          Performs the core logic for getRightToProduceByIds(java.lang.Integer[])
protected abstract  RemoteRightToProduceFullVO handleGetRightToProduceByNaturalId(RemoteRightToProduceNaturalId rightToProduceNaturalId)
          Performs the core logic for getRightToProduceByNaturalId(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceNaturalId)
protected abstract  RemoteRightToProduceNaturalId handleGetRightToProduceNaturalIdById(java.lang.Integer id)
          Performs the core logic for getRightToProduceNaturalIdById(java.lang.Integer)
protected abstract  RemoteRightToProduceNaturalId[] handleGetRightToProduceNaturalIds()
          Performs the core logic for getRightToProduceNaturalIds()
protected abstract  boolean handleRemoteRightToProduceFullVOsAreEqual(RemoteRightToProduceFullVO remoteRightToProduceFullVOFirst, RemoteRightToProduceFullVO remoteRightToProduceFullVOSecond)
          Performs the core logic for remoteRightToProduceFullVOsAreEqual(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)
protected abstract  boolean handleRemoteRightToProduceFullVOsAreEqualOnIdentifiers(RemoteRightToProduceFullVO remoteRightToProduceFullVOFirst, RemoteRightToProduceFullVO remoteRightToProduceFullVOSecond)
          Performs the core logic for remoteRightToProduceFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)
protected abstract  void handleRemoveRightToProduce(RemoteRightToProduceFullVO rightToProduce)
          Performs the core logic for removeRightToProduce(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)
protected abstract  void handleUpdateRightToProduce(RemoteRightToProduceFullVO rightToProduce)
          Performs the core logic for updateRightToProduce(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)
 boolean remoteRightToProduceFullVOsAreEqual(RemoteRightToProduceFullVO remoteRightToProduceFullVOFirst, RemoteRightToProduceFullVO remoteRightToProduceFullVOSecond)
           
 boolean remoteRightToProduceFullVOsAreEqualOnIdentifiers(RemoteRightToProduceFullVO remoteRightToProduceFullVOFirst, RemoteRightToProduceFullVO remoteRightToProduceFullVOSecond)
           
 void removeRightToProduce(RemoteRightToProduceFullVO rightToProduce)
           
 void setCorpusDao(CorpusDao corpusDao)
          Sets the reference to corpus's DAO.
 void setFisheryDao(FisheryDao fisheryDao)
          Sets the reference to fishery's DAO.
 void setRightToProduceDao(RightToProduceDao rightToProduceDao)
          Sets the reference to rightToProduce's DAO.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vessel's DAO.
 void setVesselOwnerDao(VesselOwnerDao vesselOwnerDao)
          Sets the reference to vesselOwner's DAO.
 void updateRightToProduce(RemoteRightToProduceFullVO rightToProduce)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteRightToProduceFullServiceBase

public RemoteRightToProduceFullServiceBase()
Method Detail

setRightToProduceDao

public void setRightToProduceDao(RightToProduceDao rightToProduceDao)
Sets the reference to rightToProduce's DAO.


getRightToProduceDao

protected RightToProduceDao getRightToProduceDao()
Gets the reference to rightToProduce's DAO.


setCorpusDao

public void setCorpusDao(CorpusDao corpusDao)
Sets the reference to corpus's DAO.


getCorpusDao

protected CorpusDao getCorpusDao()
Gets the reference to corpus's DAO.


setFisheryDao

public void setFisheryDao(FisheryDao fisheryDao)
Sets the reference to fishery's DAO.


getFisheryDao

protected FisheryDao getFisheryDao()
Gets the reference to fishery's DAO.


setVesselDao

public void setVesselDao(VesselDao vesselDao)
Sets the reference to vessel's DAO.


getVesselDao

protected VesselDao getVesselDao()
Gets the reference to vessel's DAO.


setVesselOwnerDao

public void setVesselOwnerDao(VesselOwnerDao vesselOwnerDao)
Sets the reference to vesselOwner's DAO.


getVesselOwnerDao

protected VesselOwnerDao getVesselOwnerDao()
Gets the reference to vesselOwner's DAO.


addRightToProduce

public RemoteRightToProduceFullVO addRightToProduce(RemoteRightToProduceFullVO rightToProduce)
Specified by:
addRightToProduce in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.addRightToProduce(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

handleAddRightToProduce

protected abstract RemoteRightToProduceFullVO handleAddRightToProduce(RemoteRightToProduceFullVO rightToProduce)
                                                               throws java.lang.Exception
Performs the core logic for addRightToProduce(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

Throws:
java.lang.Exception

updateRightToProduce

public void updateRightToProduce(RemoteRightToProduceFullVO rightToProduce)
Specified by:
updateRightToProduce in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.updateRightToProduce(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

handleUpdateRightToProduce

protected abstract void handleUpdateRightToProduce(RemoteRightToProduceFullVO rightToProduce)
                                            throws java.lang.Exception
Performs the core logic for updateRightToProduce(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

Throws:
java.lang.Exception

removeRightToProduce

public void removeRightToProduce(RemoteRightToProduceFullVO rightToProduce)
Specified by:
removeRightToProduce in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.removeRightToProduce(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

handleRemoveRightToProduce

protected abstract void handleRemoveRightToProduce(RemoteRightToProduceFullVO rightToProduce)
                                            throws java.lang.Exception
Performs the core logic for removeRightToProduce(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

Throws:
java.lang.Exception

getAllRightToProduce

public RemoteRightToProduceFullVO[] getAllRightToProduce()
Specified by:
getAllRightToProduce in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.getAllRightToProduce()

handleGetAllRightToProduce

protected abstract RemoteRightToProduceFullVO[] handleGetAllRightToProduce()
                                                                    throws java.lang.Exception
Performs the core logic for getAllRightToProduce()

Throws:
java.lang.Exception

getRightToProduceById

public RemoteRightToProduceFullVO getRightToProduceById(java.lang.Integer id)
Specified by:
getRightToProduceById in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.getRightToProduceById(java.lang.Integer)

handleGetRightToProduceById

protected abstract RemoteRightToProduceFullVO handleGetRightToProduceById(java.lang.Integer id)
                                                                   throws java.lang.Exception
Performs the core logic for getRightToProduceById(java.lang.Integer)

Throws:
java.lang.Exception

getRightToProduceByIds

public RemoteRightToProduceFullVO[] getRightToProduceByIds(java.lang.Integer[] id)
Specified by:
getRightToProduceByIds in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.getRightToProduceByIds(java.lang.Integer[])

handleGetRightToProduceByIds

protected abstract RemoteRightToProduceFullVO[] handleGetRightToProduceByIds(java.lang.Integer[] id)
                                                                      throws java.lang.Exception
Performs the core logic for getRightToProduceByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getRightToProduceByCorpusId

public RemoteRightToProduceFullVO getRightToProduceByCorpusId(java.lang.Integer id)
Specified by:
getRightToProduceByCorpusId in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.getRightToProduceByCorpusId(java.lang.Integer)

handleGetRightToProduceByCorpusId

protected abstract RemoteRightToProduceFullVO handleGetRightToProduceByCorpusId(java.lang.Integer id)
                                                                         throws java.lang.Exception
Performs the core logic for getRightToProduceByCorpusId(java.lang.Integer)

Throws:
java.lang.Exception

remoteRightToProduceFullVOsAreEqualOnIdentifiers

public boolean remoteRightToProduceFullVOsAreEqualOnIdentifiers(RemoteRightToProduceFullVO remoteRightToProduceFullVOFirst,
                                                                RemoteRightToProduceFullVO remoteRightToProduceFullVOSecond)
Specified by:
remoteRightToProduceFullVOsAreEqualOnIdentifiers in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.remoteRightToProduceFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

handleRemoteRightToProduceFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteRightToProduceFullVOsAreEqualOnIdentifiers(RemoteRightToProduceFullVO remoteRightToProduceFullVOFirst,
                                                                                  RemoteRightToProduceFullVO remoteRightToProduceFullVOSecond)
                                                                           throws java.lang.Exception
Performs the core logic for remoteRightToProduceFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

Throws:
java.lang.Exception

remoteRightToProduceFullVOsAreEqual

public boolean remoteRightToProduceFullVOsAreEqual(RemoteRightToProduceFullVO remoteRightToProduceFullVOFirst,
                                                   RemoteRightToProduceFullVO remoteRightToProduceFullVOSecond)
Specified by:
remoteRightToProduceFullVOsAreEqual in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.remoteRightToProduceFullVOsAreEqual(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

handleRemoteRightToProduceFullVOsAreEqual

protected abstract boolean handleRemoteRightToProduceFullVOsAreEqual(RemoteRightToProduceFullVO remoteRightToProduceFullVOFirst,
                                                                     RemoteRightToProduceFullVO remoteRightToProduceFullVOSecond)
                                                              throws java.lang.Exception
Performs the core logic for remoteRightToProduceFullVOsAreEqual(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceFullVO)

Throws:
java.lang.Exception

getRightToProduceNaturalIds

public RemoteRightToProduceNaturalId[] getRightToProduceNaturalIds()
Specified by:
getRightToProduceNaturalIds in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.getRightToProduceNaturalIds()

handleGetRightToProduceNaturalIds

protected abstract RemoteRightToProduceNaturalId[] handleGetRightToProduceNaturalIds()
                                                                              throws java.lang.Exception
Performs the core logic for getRightToProduceNaturalIds()

Throws:
java.lang.Exception

getRightToProduceByNaturalId

public RemoteRightToProduceFullVO getRightToProduceByNaturalId(RemoteRightToProduceNaturalId rightToProduceNaturalId)
Specified by:
getRightToProduceByNaturalId in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.getRightToProduceByNaturalId(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceNaturalId)

handleGetRightToProduceByNaturalId

protected abstract RemoteRightToProduceFullVO handleGetRightToProduceByNaturalId(RemoteRightToProduceNaturalId rightToProduceNaturalId)
                                                                          throws java.lang.Exception
Performs the core logic for getRightToProduceByNaturalId(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteRightToProduceNaturalId)

Throws:
java.lang.Exception

getRightToProduceNaturalIdById

public RemoteRightToProduceNaturalId getRightToProduceNaturalIdById(java.lang.Integer id)
Specified by:
getRightToProduceNaturalIdById in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.getRightToProduceNaturalIdById(java.lang.Integer)

handleGetRightToProduceNaturalIdById

protected abstract RemoteRightToProduceNaturalId handleGetRightToProduceNaturalIdById(java.lang.Integer id)
                                                                               throws java.lang.Exception
Performs the core logic for getRightToProduceNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterRightToProduce

public ClusterRightToProduce addOrUpdateClusterRightToProduce(ClusterRightToProduce clusterRightToProduce)
Specified by:
addOrUpdateClusterRightToProduce in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.addOrUpdateClusterRightToProduce(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)

handleAddOrUpdateClusterRightToProduce

protected abstract ClusterRightToProduce handleAddOrUpdateClusterRightToProduce(ClusterRightToProduce clusterRightToProduce)
                                                                         throws java.lang.Exception
Performs the core logic for addOrUpdateClusterRightToProduce(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterRightToProduce)

Throws:
java.lang.Exception

getAllClusterRightToProduceSinceDateSynchro

public ClusterRightToProduce[] getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                           java.lang.Integer userId,
                                                                           java.lang.Integer[] registrationLocationIds,
                                                                           java.lang.Integer pageNumber,
                                                                           java.lang.Integer pageSize)
Specified by:
getAllClusterRightToProduceSinceDateSynchro in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterRightToProduceSinceDateSynchro

protected abstract ClusterRightToProduce[] handleGetAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                             java.lang.Integer userId,
                                                                                             java.lang.Integer[] registrationLocationIds,
                                                                                             java.lang.Integer pageNumber,
                                                                                             java.lang.Integer pageSize)
                                                                                      throws java.lang.Exception
Performs the core logic for getAllClusterRightToProduceSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterRightToProduceByIdentifiers

public ClusterRightToProduce getClusterRightToProduceByIdentifiers(java.lang.Integer id)
Specified by:
getClusterRightToProduceByIdentifiers in interface RemoteRightToProduceFullService
See Also:
RemoteRightToProduceFullService.getClusterRightToProduceByIdentifiers(java.lang.Integer)

handleGetClusterRightToProduceByIdentifiers

protected abstract ClusterRightToProduce handleGetClusterRightToProduceByIdentifiers(java.lang.Integer id)
                                                                              throws java.lang.Exception
Performs the core logic for getClusterRightToProduceByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

getMessages

protected org.springframework.context.MessageSource getMessages()
Gets the message source available to this service.


getMessage

protected java.lang.String getMessage(java.lang.String key)
Gets the message having the given key in the underlying message bundle.

Parameters:
key - the key of the message in the messages.properties message bundle.

getMessage

protected java.lang.String getMessage(java.lang.String key,
                                      java.lang.Object[] arguments)
Gets the message having the given key and arguments in the underlying message bundle.

Parameters:
key - the key of the message in the messages.properties message bundle.
arguments - any arguments to substitute when resolving the message.

getMessage

protected java.lang.String getMessage(java.lang.String key,
                                      java.lang.Object[] arguments,
                                      java.util.Locale locale)
Gets the message having the given key using the given arguments for the given locale.

Parameters:
key - the key of the message in the messages.properties message bundle.
arguments - any arguments to substitute when resolving the message.
locale - the locale of the messages to retrieve.


Copyright © 2008-2010 IFREMER. All Rights Reserved.