fr.ifremer.allegro.data.batch.generic.service
Class RemoteCatchBatchFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.batch.generic.service.RemoteCatchBatchFullServiceBase
All Implemented Interfaces:
RemoteCatchBatchFullService
Direct Known Subclasses:
RemoteCatchBatchFullServiceImpl

public abstract class RemoteCatchBatchFullServiceBase
extends java.lang.Object
implements RemoteCatchBatchFullService

Spring Service base class for fr.ifremer.allegro.data.batch.generic.service.RemoteCatchBatchFullService, provides access to all services and entities referenced by this service.

See Also:
RemoteCatchBatchFullService

Constructor Summary
RemoteCatchBatchFullServiceBase()
           
 
Method Summary
 RemoteCatchBatchFullVO addCatchBatch(RemoteCatchBatchFullVO catchBatch)
           
 ClusterCatchBatch addOrUpdateClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
           
 RemoteCatchBatchFullVO[] getAllCatchBatch()
           
 ClusterCatchBatch[] getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
protected  BatchDao getBatchDao()
          Gets the reference to batch's DAO.
 RemoteCatchBatchFullVO getCatchBatchByFishingOperationId(java.lang.Integer id)
           
 RemoteCatchBatchFullVO getCatchBatchById(java.lang.Integer id)
           
 RemoteCatchBatchFullVO[] getCatchBatchByIds(java.lang.Integer[] id)
           
 RemoteCatchBatchFullVO getCatchBatchByLandingId(java.lang.Integer id)
           
 RemoteCatchBatchFullVO getCatchBatchByNaturalId(RemoteCatchBatchNaturalId catchBatchNaturalId)
           
 RemoteCatchBatchFullVO[] getCatchBatchByParentBatchId(java.lang.Integer id)
           
 RemoteCatchBatchFullVO[] getCatchBatchByQualityFlagCode(java.lang.String code)
           
 RemoteCatchBatchFullVO getCatchBatchBySaleId(java.lang.Integer id)
           
protected  CatchBatchDao getCatchBatchDao()
          Gets the reference to catchBatch's DAO.
 RemoteCatchBatchNaturalId getCatchBatchNaturalIdById(java.lang.Integer id)
           
 RemoteCatchBatchNaturalId[] getCatchBatchNaturalIds()
           
 ClusterCatchBatch getClusterCatchBatchByIdentifiers(java.lang.Integer id)
           
protected  FishingOperationDao getFishingOperationDao()
          Gets the reference to fishingOperation's DAO.
protected  LandingDao getLandingDao()
          Gets the reference to landing'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.
protected  ProduceDao getProduceDao()
          Gets the reference to produce's DAO.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlag's DAO.
protected  QuantificationMeasurementDao getQuantificationMeasurementDao()
          Gets the reference to quantificationMeasurement's DAO.
protected  SaleDao getSaleDao()
          Gets the reference to sale's DAO.
protected abstract  RemoteCatchBatchFullVO handleAddCatchBatch(RemoteCatchBatchFullVO catchBatch)
          Performs the core logic for addCatchBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)
protected abstract  ClusterCatchBatch handleAddOrUpdateClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
          Performs the core logic for addOrUpdateClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)
protected abstract  RemoteCatchBatchFullVO[] handleGetAllCatchBatch()
          Performs the core logic for getAllCatchBatch()
protected abstract  ClusterCatchBatch[] handleGetAllClusterCatchBatchSinceDateSynchro(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 getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteCatchBatchFullVO handleGetCatchBatchByFishingOperationId(java.lang.Integer id)
          Performs the core logic for getCatchBatchByFishingOperationId(java.lang.Integer)
protected abstract  RemoteCatchBatchFullVO handleGetCatchBatchById(java.lang.Integer id)
          Performs the core logic for getCatchBatchById(java.lang.Integer)
protected abstract  RemoteCatchBatchFullVO[] handleGetCatchBatchByIds(java.lang.Integer[] id)
          Performs the core logic for getCatchBatchByIds(java.lang.Integer[])
protected abstract  RemoteCatchBatchFullVO handleGetCatchBatchByLandingId(java.lang.Integer id)
          Performs the core logic for getCatchBatchByLandingId(java.lang.Integer)
protected abstract  RemoteCatchBatchFullVO handleGetCatchBatchByNaturalId(RemoteCatchBatchNaturalId catchBatchNaturalId)
          Performs the core logic for getCatchBatchByNaturalId(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId)
protected abstract  RemoteCatchBatchFullVO[] handleGetCatchBatchByParentBatchId(java.lang.Integer id)
          Performs the core logic for getCatchBatchByParentBatchId(java.lang.Integer)
protected abstract  RemoteCatchBatchFullVO[] handleGetCatchBatchByQualityFlagCode(java.lang.String code)
          Performs the core logic for getCatchBatchByQualityFlagCode(java.lang.String)
protected abstract  RemoteCatchBatchFullVO handleGetCatchBatchBySaleId(java.lang.Integer id)
          Performs the core logic for getCatchBatchBySaleId(java.lang.Integer)
protected abstract  RemoteCatchBatchNaturalId handleGetCatchBatchNaturalIdById(java.lang.Integer id)
          Performs the core logic for getCatchBatchNaturalIdById(java.lang.Integer)
protected abstract  RemoteCatchBatchNaturalId[] handleGetCatchBatchNaturalIds()
          Performs the core logic for getCatchBatchNaturalIds()
protected abstract  ClusterCatchBatch handleGetClusterCatchBatchByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterCatchBatchByIdentifiers(java.lang.Integer)
protected abstract  boolean handleRemoteCatchBatchFullVOsAreEqual(RemoteCatchBatchFullVO remoteCatchBatchFullVOFirst, RemoteCatchBatchFullVO remoteCatchBatchFullVOSecond)
          Performs the core logic for remoteCatchBatchFullVOsAreEqual(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)
protected abstract  boolean handleRemoteCatchBatchFullVOsAreEqualOnIdentifiers(RemoteCatchBatchFullVO remoteCatchBatchFullVOFirst, RemoteCatchBatchFullVO remoteCatchBatchFullVOSecond)
          Performs the core logic for remoteCatchBatchFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)
protected abstract  void handleRemoveCatchBatch(RemoteCatchBatchFullVO catchBatch)
          Performs the core logic for removeCatchBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)
protected abstract  void handleUpdateCatchBatch(RemoteCatchBatchFullVO catchBatch)
          Performs the core logic for updateCatchBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)
 boolean remoteCatchBatchFullVOsAreEqual(RemoteCatchBatchFullVO remoteCatchBatchFullVOFirst, RemoteCatchBatchFullVO remoteCatchBatchFullVOSecond)
           
 boolean remoteCatchBatchFullVOsAreEqualOnIdentifiers(RemoteCatchBatchFullVO remoteCatchBatchFullVOFirst, RemoteCatchBatchFullVO remoteCatchBatchFullVOSecond)
           
 void removeCatchBatch(RemoteCatchBatchFullVO catchBatch)
           
 void setBatchDao(BatchDao batchDao)
          Sets the reference to batch's DAO.
 void setCatchBatchDao(CatchBatchDao catchBatchDao)
          Sets the reference to catchBatch's DAO.
 void setFishingOperationDao(FishingOperationDao fishingOperationDao)
          Sets the reference to fishingOperation's DAO.
 void setLandingDao(LandingDao landingDao)
          Sets the reference to landing's DAO.
 void setProduceDao(ProduceDao produceDao)
          Sets the reference to produce's DAO.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlag's DAO.
 void setQuantificationMeasurementDao(QuantificationMeasurementDao quantificationMeasurementDao)
          Sets the reference to quantificationMeasurement's DAO.
 void setSaleDao(SaleDao saleDao)
          Sets the reference to sale's DAO.
 void updateCatchBatch(RemoteCatchBatchFullVO catchBatch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteCatchBatchFullServiceBase

public RemoteCatchBatchFullServiceBase()
Method Detail

setCatchBatchDao

public void setCatchBatchDao(CatchBatchDao catchBatchDao)
Sets the reference to catchBatch's DAO.


getCatchBatchDao

protected CatchBatchDao getCatchBatchDao()
Gets the reference to catchBatch's DAO.


setFishingOperationDao

public void setFishingOperationDao(FishingOperationDao fishingOperationDao)
Sets the reference to fishingOperation's DAO.


getFishingOperationDao

protected FishingOperationDao getFishingOperationDao()
Gets the reference to fishingOperation's DAO.


setQualityFlagDao

public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlag's DAO.


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlag's DAO.


setLandingDao

public void setLandingDao(LandingDao landingDao)
Sets the reference to landing's DAO.


getLandingDao

protected LandingDao getLandingDao()
Gets the reference to landing's DAO.


setSaleDao

public void setSaleDao(SaleDao saleDao)
Sets the reference to sale's DAO.


getSaleDao

protected SaleDao getSaleDao()
Gets the reference to sale's DAO.


setQuantificationMeasurementDao

public void setQuantificationMeasurementDao(QuantificationMeasurementDao quantificationMeasurementDao)
Sets the reference to quantificationMeasurement's DAO.


getQuantificationMeasurementDao

protected QuantificationMeasurementDao getQuantificationMeasurementDao()
Gets the reference to quantificationMeasurement's DAO.


setBatchDao

public void setBatchDao(BatchDao batchDao)
Sets the reference to batch's DAO.


getBatchDao

protected BatchDao getBatchDao()
Gets the reference to batch's DAO.


setProduceDao

public void setProduceDao(ProduceDao produceDao)
Sets the reference to produce's DAO.


getProduceDao

protected ProduceDao getProduceDao()
Gets the reference to produce's DAO.


addCatchBatch

public RemoteCatchBatchFullVO addCatchBatch(RemoteCatchBatchFullVO catchBatch)
Specified by:
addCatchBatch in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.addCatchBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

handleAddCatchBatch

protected abstract RemoteCatchBatchFullVO handleAddCatchBatch(RemoteCatchBatchFullVO catchBatch)
                                                       throws java.lang.Exception
Performs the core logic for addCatchBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

Throws:
java.lang.Exception

updateCatchBatch

public void updateCatchBatch(RemoteCatchBatchFullVO catchBatch)
Specified by:
updateCatchBatch in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.updateCatchBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

handleUpdateCatchBatch

protected abstract void handleUpdateCatchBatch(RemoteCatchBatchFullVO catchBatch)
                                        throws java.lang.Exception
Performs the core logic for updateCatchBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

Throws:
java.lang.Exception

removeCatchBatch

public void removeCatchBatch(RemoteCatchBatchFullVO catchBatch)
Specified by:
removeCatchBatch in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.removeCatchBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

handleRemoveCatchBatch

protected abstract void handleRemoveCatchBatch(RemoteCatchBatchFullVO catchBatch)
                                        throws java.lang.Exception
Performs the core logic for removeCatchBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

Throws:
java.lang.Exception

getAllCatchBatch

public RemoteCatchBatchFullVO[] getAllCatchBatch()
Specified by:
getAllCatchBatch in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getAllCatchBatch()

handleGetAllCatchBatch

protected abstract RemoteCatchBatchFullVO[] handleGetAllCatchBatch()
                                                            throws java.lang.Exception
Performs the core logic for getAllCatchBatch()

Throws:
java.lang.Exception

getCatchBatchById

public RemoteCatchBatchFullVO getCatchBatchById(java.lang.Integer id)
Specified by:
getCatchBatchById in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchById(java.lang.Integer)

handleGetCatchBatchById

protected abstract RemoteCatchBatchFullVO handleGetCatchBatchById(java.lang.Integer id)
                                                           throws java.lang.Exception
Performs the core logic for getCatchBatchById(java.lang.Integer)

Throws:
java.lang.Exception

getCatchBatchByIds

public RemoteCatchBatchFullVO[] getCatchBatchByIds(java.lang.Integer[] id)
Specified by:
getCatchBatchByIds in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchByIds(java.lang.Integer[])

handleGetCatchBatchByIds

protected abstract RemoteCatchBatchFullVO[] handleGetCatchBatchByIds(java.lang.Integer[] id)
                                                              throws java.lang.Exception
Performs the core logic for getCatchBatchByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getCatchBatchByFishingOperationId

public RemoteCatchBatchFullVO getCatchBatchByFishingOperationId(java.lang.Integer id)
Specified by:
getCatchBatchByFishingOperationId in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchByFishingOperationId(java.lang.Integer)

handleGetCatchBatchByFishingOperationId

protected abstract RemoteCatchBatchFullVO handleGetCatchBatchByFishingOperationId(java.lang.Integer id)
                                                                           throws java.lang.Exception
Performs the core logic for getCatchBatchByFishingOperationId(java.lang.Integer)

Throws:
java.lang.Exception

getCatchBatchByQualityFlagCode

public RemoteCatchBatchFullVO[] getCatchBatchByQualityFlagCode(java.lang.String code)
Specified by:
getCatchBatchByQualityFlagCode in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchByQualityFlagCode(java.lang.String)

handleGetCatchBatchByQualityFlagCode

protected abstract RemoteCatchBatchFullVO[] handleGetCatchBatchByQualityFlagCode(java.lang.String code)
                                                                          throws java.lang.Exception
Performs the core logic for getCatchBatchByQualityFlagCode(java.lang.String)

Throws:
java.lang.Exception

getCatchBatchByLandingId

public RemoteCatchBatchFullVO getCatchBatchByLandingId(java.lang.Integer id)
Specified by:
getCatchBatchByLandingId in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchByLandingId(java.lang.Integer)

handleGetCatchBatchByLandingId

protected abstract RemoteCatchBatchFullVO handleGetCatchBatchByLandingId(java.lang.Integer id)
                                                                  throws java.lang.Exception
Performs the core logic for getCatchBatchByLandingId(java.lang.Integer)

Throws:
java.lang.Exception

getCatchBatchBySaleId

public RemoteCatchBatchFullVO getCatchBatchBySaleId(java.lang.Integer id)
Specified by:
getCatchBatchBySaleId in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchBySaleId(java.lang.Integer)

handleGetCatchBatchBySaleId

protected abstract RemoteCatchBatchFullVO handleGetCatchBatchBySaleId(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getCatchBatchBySaleId(java.lang.Integer)

Throws:
java.lang.Exception

getCatchBatchByParentBatchId

public RemoteCatchBatchFullVO[] getCatchBatchByParentBatchId(java.lang.Integer id)
Specified by:
getCatchBatchByParentBatchId in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchByParentBatchId(java.lang.Integer)

handleGetCatchBatchByParentBatchId

protected abstract RemoteCatchBatchFullVO[] handleGetCatchBatchByParentBatchId(java.lang.Integer id)
                                                                        throws java.lang.Exception
Performs the core logic for getCatchBatchByParentBatchId(java.lang.Integer)

Throws:
java.lang.Exception

remoteCatchBatchFullVOsAreEqualOnIdentifiers

public boolean remoteCatchBatchFullVOsAreEqualOnIdentifiers(RemoteCatchBatchFullVO remoteCatchBatchFullVOFirst,
                                                            RemoteCatchBatchFullVO remoteCatchBatchFullVOSecond)
Specified by:
remoteCatchBatchFullVOsAreEqualOnIdentifiers in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.remoteCatchBatchFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

handleRemoteCatchBatchFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteCatchBatchFullVOsAreEqualOnIdentifiers(RemoteCatchBatchFullVO remoteCatchBatchFullVOFirst,
                                                                              RemoteCatchBatchFullVO remoteCatchBatchFullVOSecond)
                                                                       throws java.lang.Exception
Performs the core logic for remoteCatchBatchFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

Throws:
java.lang.Exception

remoteCatchBatchFullVOsAreEqual

public boolean remoteCatchBatchFullVOsAreEqual(RemoteCatchBatchFullVO remoteCatchBatchFullVOFirst,
                                               RemoteCatchBatchFullVO remoteCatchBatchFullVOSecond)
Specified by:
remoteCatchBatchFullVOsAreEqual in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.remoteCatchBatchFullVOsAreEqual(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

handleRemoteCatchBatchFullVOsAreEqual

protected abstract boolean handleRemoteCatchBatchFullVOsAreEqual(RemoteCatchBatchFullVO remoteCatchBatchFullVOFirst,
                                                                 RemoteCatchBatchFullVO remoteCatchBatchFullVOSecond)
                                                          throws java.lang.Exception
Performs the core logic for remoteCatchBatchFullVOsAreEqual(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

Throws:
java.lang.Exception

getCatchBatchNaturalIds

public RemoteCatchBatchNaturalId[] getCatchBatchNaturalIds()
Specified by:
getCatchBatchNaturalIds in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchNaturalIds()

handleGetCatchBatchNaturalIds

protected abstract RemoteCatchBatchNaturalId[] handleGetCatchBatchNaturalIds()
                                                                      throws java.lang.Exception
Performs the core logic for getCatchBatchNaturalIds()

Throws:
java.lang.Exception

getCatchBatchByNaturalId

public RemoteCatchBatchFullVO getCatchBatchByNaturalId(RemoteCatchBatchNaturalId catchBatchNaturalId)
Specified by:
getCatchBatchByNaturalId in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchByNaturalId(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId)

handleGetCatchBatchByNaturalId

protected abstract RemoteCatchBatchFullVO handleGetCatchBatchByNaturalId(RemoteCatchBatchNaturalId catchBatchNaturalId)
                                                                  throws java.lang.Exception
Performs the core logic for getCatchBatchByNaturalId(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId)

Throws:
java.lang.Exception

getCatchBatchNaturalIdById

public RemoteCatchBatchNaturalId getCatchBatchNaturalIdById(java.lang.Integer id)
Specified by:
getCatchBatchNaturalIdById in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getCatchBatchNaturalIdById(java.lang.Integer)

handleGetCatchBatchNaturalIdById

protected abstract RemoteCatchBatchNaturalId handleGetCatchBatchNaturalIdById(java.lang.Integer id)
                                                                       throws java.lang.Exception
Performs the core logic for getCatchBatchNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getAllClusterCatchBatchSinceDateSynchro

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

handleGetAllClusterCatchBatchSinceDateSynchro

protected abstract ClusterCatchBatch[] handleGetAllClusterCatchBatchSinceDateSynchro(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 getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterCatchBatchByIdentifiers

public ClusterCatchBatch getClusterCatchBatchByIdentifiers(java.lang.Integer id)
Specified by:
getClusterCatchBatchByIdentifiers in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.getClusterCatchBatchByIdentifiers(java.lang.Integer)

handleGetClusterCatchBatchByIdentifiers

protected abstract ClusterCatchBatch handleGetClusterCatchBatchByIdentifiers(java.lang.Integer id)
                                                                      throws java.lang.Exception
Performs the core logic for getClusterCatchBatchByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterCatchBatch

public ClusterCatchBatch addOrUpdateClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
Specified by:
addOrUpdateClusterCatchBatch in interface RemoteCatchBatchFullService
See Also:
RemoteCatchBatchFullService.addOrUpdateClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)

handleAddOrUpdateClusterCatchBatch

protected abstract ClusterCatchBatch handleAddOrUpdateClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
                                                                 throws java.lang.Exception
Performs the core logic for addOrUpdateClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)

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.