fr.ifremer.allegro.data.produce.generic.service
Class RemoteProduceFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.produce.generic.service.RemoteProduceFullServiceBase
All Implemented Interfaces:
RemoteProduceFullService
Direct Known Subclasses:
RemoteProduceFullServiceImpl

public abstract class RemoteProduceFullServiceBase
extends java.lang.Object
implements RemoteProduceFullService

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

See Also:
RemoteProduceFullService

Constructor Summary
RemoteProduceFullServiceBase()
           
 
Method Summary
 ClusterProduce addOrUpdateClusterProduce(ClusterProduce clusterProduce)
           
 RemoteProduceFullVO addProduce(RemoteProduceFullVO produce)
           
 ClusterProduce[] getAllClusterProduce(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteProduceFullVO[] getAllProduce()
           
protected  BatchDao getBatchDao()
          Gets the reference to batch's DAO.
 ClusterProduce getClusterProduceByIdentifiers(java.lang.Integer id)
           
protected  FishingAreaDao getFishingAreaDao()
          Gets the reference to fishingArea's DAO.
protected  FishingOperationDao getFishingOperationDao()
          Gets the reference to fishingOperation's DAO.
protected  GearDao getGearDao()
          Gets the reference to gear'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.
 RemoteProduceFullVO[] getProduceByBatchId(java.lang.Integer id)
           
 RemoteProduceFullVO[] getProduceByFishingOperationId(java.lang.Integer id)
           
 RemoteProduceFullVO[] getProduceByGearId(java.lang.Integer id)
           
 RemoteProduceFullVO getProduceById(java.lang.Integer id)
           
 RemoteProduceFullVO[] getProduceByIds(java.lang.Integer[] id)
           
 RemoteProduceFullVO[] getProduceByLandingId(java.lang.Integer id)
           
 RemoteProduceFullVO getProduceByNaturalId(RemoteProduceNaturalId produceNaturalId)
           
 RemoteProduceFullVO[] getProduceByOtherTaxonGroupId(java.lang.Integer id)
           
 RemoteProduceFullVO[] getProduceByQualityFlagCode(java.lang.String code)
           
 RemoteProduceFullVO[] getProduceByTaxonGroupId(java.lang.Integer id)
           
 RemoteProduceFullVO[] getProduceByTransshipmentId(java.lang.Integer id)
           
protected  ProduceDao getProduceDao()
          Gets the reference to produce's DAO.
 RemoteProduceNaturalId getProduceNaturalIdById(java.lang.Integer id)
           
 RemoteProduceNaturalId[] getProduceNaturalIds()
           
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlag's DAO.
protected  QuantificationMeasurementDao getQuantificationMeasurementDao()
          Gets the reference to quantificationMeasurement's DAO.
protected  SortingMeasurementDao getSortingMeasurementDao()
          Gets the reference to sortingMeasurement's DAO.
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroup's DAO.
protected  TransshipmentDao getTransshipmentDao()
          Gets the reference to transshipment's DAO.
protected abstract  ClusterProduce handleAddOrUpdateClusterProduce(ClusterProduce clusterProduce)
          Performs the core logic for addOrUpdateClusterProduce(fr.ifremer.allegro.data.produce.generic.cluster.ClusterProduce)
protected abstract  RemoteProduceFullVO handleAddProduce(RemoteProduceFullVO produce)
          Performs the core logic for addProduce(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)
protected abstract  ClusterProduce[] handleGetAllClusterProduce(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterProduce(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteProduceFullVO[] handleGetAllProduce()
          Performs the core logic for getAllProduce()
protected abstract  ClusterProduce handleGetClusterProduceByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterProduceByIdentifiers(java.lang.Integer)
protected abstract  RemoteProduceFullVO[] handleGetProduceByBatchId(java.lang.Integer id)
          Performs the core logic for getProduceByBatchId(java.lang.Integer)
protected abstract  RemoteProduceFullVO[] handleGetProduceByFishingOperationId(java.lang.Integer id)
          Performs the core logic for getProduceByFishingOperationId(java.lang.Integer)
protected abstract  RemoteProduceFullVO[] handleGetProduceByGearId(java.lang.Integer id)
          Performs the core logic for getProduceByGearId(java.lang.Integer)
protected abstract  RemoteProduceFullVO handleGetProduceById(java.lang.Integer id)
          Performs the core logic for getProduceById(java.lang.Integer)
protected abstract  RemoteProduceFullVO[] handleGetProduceByIds(java.lang.Integer[] id)
          Performs the core logic for getProduceByIds(java.lang.Integer[])
protected abstract  RemoteProduceFullVO[] handleGetProduceByLandingId(java.lang.Integer id)
          Performs the core logic for getProduceByLandingId(java.lang.Integer)
protected abstract  RemoteProduceFullVO handleGetProduceByNaturalId(RemoteProduceNaturalId produceNaturalId)
          Performs the core logic for getProduceByNaturalId(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceNaturalId)
protected abstract  RemoteProduceFullVO[] handleGetProduceByOtherTaxonGroupId(java.lang.Integer id)
          Performs the core logic for getProduceByOtherTaxonGroupId(java.lang.Integer)
protected abstract  RemoteProduceFullVO[] handleGetProduceByQualityFlagCode(java.lang.String code)
          Performs the core logic for getProduceByQualityFlagCode(java.lang.String)
protected abstract  RemoteProduceFullVO[] handleGetProduceByTaxonGroupId(java.lang.Integer id)
          Performs the core logic for getProduceByTaxonGroupId(java.lang.Integer)
protected abstract  RemoteProduceFullVO[] handleGetProduceByTransshipmentId(java.lang.Integer id)
          Performs the core logic for getProduceByTransshipmentId(java.lang.Integer)
protected abstract  RemoteProduceNaturalId handleGetProduceNaturalIdById(java.lang.Integer id)
          Performs the core logic for getProduceNaturalIdById(java.lang.Integer)
protected abstract  RemoteProduceNaturalId[] handleGetProduceNaturalIds()
          Performs the core logic for getProduceNaturalIds()
protected abstract  boolean handleRemoteProduceFullVOsAreEqual(RemoteProduceFullVO remoteProduceFullVOFirst, RemoteProduceFullVO remoteProduceFullVOSecond)
          Performs the core logic for remoteProduceFullVOsAreEqual(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO, fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)
protected abstract  boolean handleRemoteProduceFullVOsAreEqualOnIdentifiers(RemoteProduceFullVO remoteProduceFullVOFirst, RemoteProduceFullVO remoteProduceFullVOSecond)
          Performs the core logic for remoteProduceFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO, fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)
protected abstract  void handleRemoveProduce(RemoteProduceFullVO produce)
          Performs the core logic for removeProduce(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)
protected abstract  void handleUpdateProduce(RemoteProduceFullVO produce)
          Performs the core logic for updateProduce(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)
 boolean remoteProduceFullVOsAreEqual(RemoteProduceFullVO remoteProduceFullVOFirst, RemoteProduceFullVO remoteProduceFullVOSecond)
           
 boolean remoteProduceFullVOsAreEqualOnIdentifiers(RemoteProduceFullVO remoteProduceFullVOFirst, RemoteProduceFullVO remoteProduceFullVOSecond)
           
 void removeProduce(RemoteProduceFullVO produce)
           
 void setBatchDao(BatchDao batchDao)
          Sets the reference to batch's DAO.
 void setFishingAreaDao(FishingAreaDao fishingAreaDao)
          Sets the reference to fishingArea's DAO.
 void setFishingOperationDao(FishingOperationDao fishingOperationDao)
          Sets the reference to fishingOperation's DAO.
 void setGearDao(GearDao gearDao)
          Sets the reference to gear'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 setSortingMeasurementDao(SortingMeasurementDao sortingMeasurementDao)
          Sets the reference to sortingMeasurement's DAO.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroup's DAO.
 void setTransshipmentDao(TransshipmentDao transshipmentDao)
          Sets the reference to transshipment's DAO.
 void updateProduce(RemoteProduceFullVO produce)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProduceFullServiceBase

public RemoteProduceFullServiceBase()
Method Detail

setProduceDao

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


getProduceDao

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


setTaxonGroupDao

public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroup's DAO.


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroup'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.


setLandingDao

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


getLandingDao

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


setGearDao

public void setGearDao(GearDao gearDao)
Sets the reference to gear's DAO.


getGearDao

protected GearDao getGearDao()
Gets the reference to gear's DAO.


setTransshipmentDao

public void setTransshipmentDao(TransshipmentDao transshipmentDao)
Sets the reference to transshipment's DAO.


getTransshipmentDao

protected TransshipmentDao getTransshipmentDao()
Gets the reference to transshipment'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.


setFishingOperationDao

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


getFishingOperationDao

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


setSortingMeasurementDao

public void setSortingMeasurementDao(SortingMeasurementDao sortingMeasurementDao)
Sets the reference to sortingMeasurement's DAO.


getSortingMeasurementDao

protected SortingMeasurementDao getSortingMeasurementDao()
Gets the reference to sortingMeasurement's DAO.


setFishingAreaDao

public void setFishingAreaDao(FishingAreaDao fishingAreaDao)
Sets the reference to fishingArea's DAO.


getFishingAreaDao

protected FishingAreaDao getFishingAreaDao()
Gets the reference to fishingArea'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.


addProduce

public RemoteProduceFullVO addProduce(RemoteProduceFullVO produce)
Specified by:
addProduce in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.addProduce(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

handleAddProduce

protected abstract RemoteProduceFullVO handleAddProduce(RemoteProduceFullVO produce)
                                                 throws java.lang.Exception
Performs the core logic for addProduce(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

Throws:
java.lang.Exception

updateProduce

public void updateProduce(RemoteProduceFullVO produce)
Specified by:
updateProduce in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.updateProduce(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

handleUpdateProduce

protected abstract void handleUpdateProduce(RemoteProduceFullVO produce)
                                     throws java.lang.Exception
Performs the core logic for updateProduce(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

Throws:
java.lang.Exception

removeProduce

public void removeProduce(RemoteProduceFullVO produce)
Specified by:
removeProduce in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.removeProduce(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

handleRemoveProduce

protected abstract void handleRemoveProduce(RemoteProduceFullVO produce)
                                     throws java.lang.Exception
Performs the core logic for removeProduce(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

Throws:
java.lang.Exception

getAllProduce

public RemoteProduceFullVO[] getAllProduce()
Specified by:
getAllProduce in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getAllProduce()

handleGetAllProduce

protected abstract RemoteProduceFullVO[] handleGetAllProduce()
                                                      throws java.lang.Exception
Performs the core logic for getAllProduce()

Throws:
java.lang.Exception

getProduceById

public RemoteProduceFullVO getProduceById(java.lang.Integer id)
Specified by:
getProduceById in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceById(java.lang.Integer)

handleGetProduceById

protected abstract RemoteProduceFullVO handleGetProduceById(java.lang.Integer id)
                                                     throws java.lang.Exception
Performs the core logic for getProduceById(java.lang.Integer)

Throws:
java.lang.Exception

getProduceByIds

public RemoteProduceFullVO[] getProduceByIds(java.lang.Integer[] id)
Specified by:
getProduceByIds in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByIds(java.lang.Integer[])

handleGetProduceByIds

protected abstract RemoteProduceFullVO[] handleGetProduceByIds(java.lang.Integer[] id)
                                                        throws java.lang.Exception
Performs the core logic for getProduceByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getProduceByOtherTaxonGroupId

public RemoteProduceFullVO[] getProduceByOtherTaxonGroupId(java.lang.Integer id)
Specified by:
getProduceByOtherTaxonGroupId in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByOtherTaxonGroupId(java.lang.Integer)

handleGetProduceByOtherTaxonGroupId

protected abstract RemoteProduceFullVO[] handleGetProduceByOtherTaxonGroupId(java.lang.Integer id)
                                                                      throws java.lang.Exception
Performs the core logic for getProduceByOtherTaxonGroupId(java.lang.Integer)

Throws:
java.lang.Exception

getProduceByTaxonGroupId

public RemoteProduceFullVO[] getProduceByTaxonGroupId(java.lang.Integer id)
Specified by:
getProduceByTaxonGroupId in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByTaxonGroupId(java.lang.Integer)

handleGetProduceByTaxonGroupId

protected abstract RemoteProduceFullVO[] handleGetProduceByTaxonGroupId(java.lang.Integer id)
                                                                 throws java.lang.Exception
Performs the core logic for getProduceByTaxonGroupId(java.lang.Integer)

Throws:
java.lang.Exception

getProduceByLandingId

public RemoteProduceFullVO[] getProduceByLandingId(java.lang.Integer id)
Specified by:
getProduceByLandingId in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByLandingId(java.lang.Integer)

handleGetProduceByLandingId

protected abstract RemoteProduceFullVO[] handleGetProduceByLandingId(java.lang.Integer id)
                                                              throws java.lang.Exception
Performs the core logic for getProduceByLandingId(java.lang.Integer)

Throws:
java.lang.Exception

getProduceByGearId

public RemoteProduceFullVO[] getProduceByGearId(java.lang.Integer id)
Specified by:
getProduceByGearId in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByGearId(java.lang.Integer)

handleGetProduceByGearId

protected abstract RemoteProduceFullVO[] handleGetProduceByGearId(java.lang.Integer id)
                                                           throws java.lang.Exception
Performs the core logic for getProduceByGearId(java.lang.Integer)

Throws:
java.lang.Exception

getProduceByTransshipmentId

public RemoteProduceFullVO[] getProduceByTransshipmentId(java.lang.Integer id)
Specified by:
getProduceByTransshipmentId in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByTransshipmentId(java.lang.Integer)

handleGetProduceByTransshipmentId

protected abstract RemoteProduceFullVO[] handleGetProduceByTransshipmentId(java.lang.Integer id)
                                                                    throws java.lang.Exception
Performs the core logic for getProduceByTransshipmentId(java.lang.Integer)

Throws:
java.lang.Exception

getProduceByBatchId

public RemoteProduceFullVO[] getProduceByBatchId(java.lang.Integer id)
Specified by:
getProduceByBatchId in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByBatchId(java.lang.Integer)

handleGetProduceByBatchId

protected abstract RemoteProduceFullVO[] handleGetProduceByBatchId(java.lang.Integer id)
                                                            throws java.lang.Exception
Performs the core logic for getProduceByBatchId(java.lang.Integer)

Throws:
java.lang.Exception

getProduceByFishingOperationId

public RemoteProduceFullVO[] getProduceByFishingOperationId(java.lang.Integer id)
Specified by:
getProduceByFishingOperationId in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByFishingOperationId(java.lang.Integer)

handleGetProduceByFishingOperationId

protected abstract RemoteProduceFullVO[] handleGetProduceByFishingOperationId(java.lang.Integer id)
                                                                       throws java.lang.Exception
Performs the core logic for getProduceByFishingOperationId(java.lang.Integer)

Throws:
java.lang.Exception

getProduceByQualityFlagCode

public RemoteProduceFullVO[] getProduceByQualityFlagCode(java.lang.String code)
Specified by:
getProduceByQualityFlagCode in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByQualityFlagCode(java.lang.String)

handleGetProduceByQualityFlagCode

protected abstract RemoteProduceFullVO[] handleGetProduceByQualityFlagCode(java.lang.String code)
                                                                    throws java.lang.Exception
Performs the core logic for getProduceByQualityFlagCode(java.lang.String)

Throws:
java.lang.Exception

remoteProduceFullVOsAreEqualOnIdentifiers

public boolean remoteProduceFullVOsAreEqualOnIdentifiers(RemoteProduceFullVO remoteProduceFullVOFirst,
                                                         RemoteProduceFullVO remoteProduceFullVOSecond)
Specified by:
remoteProduceFullVOsAreEqualOnIdentifiers in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.remoteProduceFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO, fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

handleRemoteProduceFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteProduceFullVOsAreEqualOnIdentifiers(RemoteProduceFullVO remoteProduceFullVOFirst,
                                                                           RemoteProduceFullVO remoteProduceFullVOSecond)
                                                                    throws java.lang.Exception
Performs the core logic for remoteProduceFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO, fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

Throws:
java.lang.Exception

remoteProduceFullVOsAreEqual

public boolean remoteProduceFullVOsAreEqual(RemoteProduceFullVO remoteProduceFullVOFirst,
                                            RemoteProduceFullVO remoteProduceFullVOSecond)
Specified by:
remoteProduceFullVOsAreEqual in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.remoteProduceFullVOsAreEqual(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO, fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

handleRemoteProduceFullVOsAreEqual

protected abstract boolean handleRemoteProduceFullVOsAreEqual(RemoteProduceFullVO remoteProduceFullVOFirst,
                                                              RemoteProduceFullVO remoteProduceFullVOSecond)
                                                       throws java.lang.Exception
Performs the core logic for remoteProduceFullVOsAreEqual(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO, fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

Throws:
java.lang.Exception

getProduceNaturalIds

public RemoteProduceNaturalId[] getProduceNaturalIds()
Specified by:
getProduceNaturalIds in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceNaturalIds()

handleGetProduceNaturalIds

protected abstract RemoteProduceNaturalId[] handleGetProduceNaturalIds()
                                                                throws java.lang.Exception
Performs the core logic for getProduceNaturalIds()

Throws:
java.lang.Exception

getProduceByNaturalId

public RemoteProduceFullVO getProduceByNaturalId(RemoteProduceNaturalId produceNaturalId)
Specified by:
getProduceByNaturalId in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceByNaturalId(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceNaturalId)

handleGetProduceByNaturalId

protected abstract RemoteProduceFullVO handleGetProduceByNaturalId(RemoteProduceNaturalId produceNaturalId)
                                                            throws java.lang.Exception
Performs the core logic for getProduceByNaturalId(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceNaturalId)

Throws:
java.lang.Exception

getProduceNaturalIdById

public RemoteProduceNaturalId getProduceNaturalIdById(java.lang.Integer id)
Specified by:
getProduceNaturalIdById in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getProduceNaturalIdById(java.lang.Integer)

handleGetProduceNaturalIdById

protected abstract RemoteProduceNaturalId handleGetProduceNaturalIdById(java.lang.Integer id)
                                                                 throws java.lang.Exception
Performs the core logic for getProduceNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getAllClusterProduce

public ClusterProduce[] getAllClusterProduce(java.lang.Integer userId,
                                             java.lang.Integer[] registrationLocationIds,
                                             java.lang.Integer pageNumber,
                                             java.lang.Integer pageSize)
Specified by:
getAllClusterProduce in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getAllClusterProduce(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterProduce

protected abstract ClusterProduce[] handleGetAllClusterProduce(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 getAllClusterProduce(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterProduceByIdentifiers

public ClusterProduce getClusterProduceByIdentifiers(java.lang.Integer id)
Specified by:
getClusterProduceByIdentifiers in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.getClusterProduceByIdentifiers(java.lang.Integer)

handleGetClusterProduceByIdentifiers

protected abstract ClusterProduce handleGetClusterProduceByIdentifiers(java.lang.Integer id)
                                                                throws java.lang.Exception
Performs the core logic for getClusterProduceByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterProduce

public ClusterProduce addOrUpdateClusterProduce(ClusterProduce clusterProduce)
Specified by:
addOrUpdateClusterProduce in interface RemoteProduceFullService
See Also:
RemoteProduceFullService.addOrUpdateClusterProduce(fr.ifremer.allegro.data.produce.generic.cluster.ClusterProduce)

handleAddOrUpdateClusterProduce

protected abstract ClusterProduce handleAddOrUpdateClusterProduce(ClusterProduce clusterProduce)
                                                           throws java.lang.Exception
Performs the core logic for addOrUpdateClusterProduce(fr.ifremer.allegro.data.produce.generic.cluster.ClusterProduce)

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.