fr.ifremer.allegro.data.survey.sale.generic.service
Class RemoteSaleFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.survey.sale.generic.service.RemoteSaleFullServiceBase
All Implemented Interfaces:
RemoteSaleFullService
Direct Known Subclasses:
RemoteSaleFullServiceImpl

public abstract class RemoteSaleFullServiceBase
extends java.lang.Object
implements RemoteSaleFullService

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

See Also:
RemoteSaleFullService

Constructor Summary
RemoteSaleFullServiceBase()
           
 
Method Summary
 ClusterSale addOrUpdateClusterSale(ClusterSale clusterSale)
           
 RemoteSaleFullVO addSale(RemoteSaleFullVO sale)
           
 ClusterSale[] getAllClusterSaleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteSaleFullVO[] getAllSale()
           
protected  CatchBatchDao getCatchBatchDao()
          Gets the reference to catchBatch's DAO.
 ClusterSale getClusterSaleByIdentifiers(java.lang.Integer id)
           
protected  DeclaredDocumentReferenceDao getDeclaredDocumentReferenceDao()
          Gets the reference to declaredDocumentReference's DAO.
protected  DepartmentDao getDepartmentDao()
          Gets the reference to department's DAO.
protected  FishingTripDao getFishingTripDao()
          Gets the reference to fishingTrip's DAO.
protected  LandingDao getLandingDao()
          Gets the reference to landing's DAO.
protected  LocationDao getLocationDao()
          Gets the reference to location'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  PersonDao getPersonDao()
          Gets the reference to person's DAO.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ProgramDao getProgramDao()
          Gets the reference to program's DAO.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlag's DAO.
 RemoteSaleFullVO getSaleByCatchBatchId(java.lang.Integer id)
           
 RemoteSaleFullVO[] getSaleByDeclaredDocumentReferenceId(java.lang.Integer id)
           
 RemoteSaleFullVO[] getSaleByFishingTripId(java.lang.Integer id)
           
 RemoteSaleFullVO getSaleById(java.lang.Integer id)
           
 RemoteSaleFullVO[] getSaleByIds(java.lang.Integer[] id)
           
 RemoteSaleFullVO[] getSaleByLandingId(java.lang.Integer id)
           
 RemoteSaleFullVO getSaleByNaturalId(RemoteSaleNaturalId saleNaturalId)
           
 RemoteSaleFullVO[] getSaleByProgramCode(java.lang.String code)
           
 RemoteSaleFullVO[] getSaleByQualityFlagCode(java.lang.String code)
           
 RemoteSaleFullVO[] getSaleByRecorderDepartmentId(java.lang.Integer id)
           
 RemoteSaleFullVO[] getSaleByRecorderPersonId(java.lang.Integer id)
           
 RemoteSaleFullVO[] getSaleBySaleLocationId(java.lang.Integer id)
           
 RemoteSaleFullVO[] getSaleBySaleTypeId(java.lang.Integer id)
           
 RemoteSaleFullVO[] getSaleByVesselCode(java.lang.String code)
           
protected  SaleDao getSaleDao()
          Gets the reference to sale's DAO.
protected  SaleMeasurementDao getSaleMeasurementDao()
          Gets the reference to saleMeasurement's DAO.
 RemoteSaleNaturalId getSaleNaturalIdById(java.lang.Integer id)
           
 RemoteSaleNaturalId[] getSaleNaturalIds()
           
protected  SaleProduceDao getSaleProduceDao()
          Gets the reference to saleProduce's DAO.
protected  SaleTypeDao getSaleTypeDao()
          Gets the reference to saleType's DAO.
protected  SurveyMeasurementDao getSurveyMeasurementDao()
          Gets the reference to surveyMeasurement's DAO.
protected  VesselDao getVesselDao()
          Gets the reference to vessel's DAO.
protected abstract  ClusterSale handleAddOrUpdateClusterSale(ClusterSale clusterSale)
          Performs the core logic for addOrUpdateClusterSale(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)
protected abstract  RemoteSaleFullVO handleAddSale(RemoteSaleFullVO sale)
          Performs the core logic for addSale(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)
protected abstract  ClusterSale[] handleGetAllClusterSaleSinceDateSynchro(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 getAllClusterSaleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteSaleFullVO[] handleGetAllSale()
          Performs the core logic for getAllSale()
protected abstract  ClusterSale handleGetClusterSaleByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterSaleByIdentifiers(java.lang.Integer)
protected abstract  RemoteSaleFullVO handleGetSaleByCatchBatchId(java.lang.Integer id)
          Performs the core logic for getSaleByCatchBatchId(java.lang.Integer)
protected abstract  RemoteSaleFullVO[] handleGetSaleByDeclaredDocumentReferenceId(java.lang.Integer id)
          Performs the core logic for getSaleByDeclaredDocumentReferenceId(java.lang.Integer)
protected abstract  RemoteSaleFullVO[] handleGetSaleByFishingTripId(java.lang.Integer id)
          Performs the core logic for getSaleByFishingTripId(java.lang.Integer)
protected abstract  RemoteSaleFullVO handleGetSaleById(java.lang.Integer id)
          Performs the core logic for getSaleById(java.lang.Integer)
protected abstract  RemoteSaleFullVO[] handleGetSaleByIds(java.lang.Integer[] id)
          Performs the core logic for getSaleByIds(java.lang.Integer[])
protected abstract  RemoteSaleFullVO[] handleGetSaleByLandingId(java.lang.Integer id)
          Performs the core logic for getSaleByLandingId(java.lang.Integer)
protected abstract  RemoteSaleFullVO handleGetSaleByNaturalId(RemoteSaleNaturalId saleNaturalId)
          Performs the core logic for getSaleByNaturalId(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleNaturalId)
protected abstract  RemoteSaleFullVO[] handleGetSaleByProgramCode(java.lang.String code)
          Performs the core logic for getSaleByProgramCode(java.lang.String)
protected abstract  RemoteSaleFullVO[] handleGetSaleByQualityFlagCode(java.lang.String code)
          Performs the core logic for getSaleByQualityFlagCode(java.lang.String)
protected abstract  RemoteSaleFullVO[] handleGetSaleByRecorderDepartmentId(java.lang.Integer id)
          Performs the core logic for getSaleByRecorderDepartmentId(java.lang.Integer)
protected abstract  RemoteSaleFullVO[] handleGetSaleByRecorderPersonId(java.lang.Integer id)
          Performs the core logic for getSaleByRecorderPersonId(java.lang.Integer)
protected abstract  RemoteSaleFullVO[] handleGetSaleBySaleLocationId(java.lang.Integer id)
          Performs the core logic for getSaleBySaleLocationId(java.lang.Integer)
protected abstract  RemoteSaleFullVO[] handleGetSaleBySaleTypeId(java.lang.Integer id)
          Performs the core logic for getSaleBySaleTypeId(java.lang.Integer)
protected abstract  RemoteSaleFullVO[] handleGetSaleByVesselCode(java.lang.String code)
          Performs the core logic for getSaleByVesselCode(java.lang.String)
protected abstract  RemoteSaleNaturalId handleGetSaleNaturalIdById(java.lang.Integer id)
          Performs the core logic for getSaleNaturalIdById(java.lang.Integer)
protected abstract  RemoteSaleNaturalId[] handleGetSaleNaturalIds()
          Performs the core logic for getSaleNaturalIds()
protected abstract  boolean handleRemoteSaleFullVOsAreEqual(RemoteSaleFullVO remoteSaleFullVOFirst, RemoteSaleFullVO remoteSaleFullVOSecond)
          Performs the core logic for remoteSaleFullVOsAreEqual(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)
protected abstract  boolean handleRemoteSaleFullVOsAreEqualOnIdentifiers(RemoteSaleFullVO remoteSaleFullVOFirst, RemoteSaleFullVO remoteSaleFullVOSecond)
          Performs the core logic for remoteSaleFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)
protected abstract  void handleRemoveSale(RemoteSaleFullVO sale)
          Performs the core logic for removeSale(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)
protected abstract  void handleUpdateSale(RemoteSaleFullVO sale)
          Performs the core logic for updateSale(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)
 boolean remoteSaleFullVOsAreEqual(RemoteSaleFullVO remoteSaleFullVOFirst, RemoteSaleFullVO remoteSaleFullVOSecond)
           
 boolean remoteSaleFullVOsAreEqualOnIdentifiers(RemoteSaleFullVO remoteSaleFullVOFirst, RemoteSaleFullVO remoteSaleFullVOSecond)
           
 void removeSale(RemoteSaleFullVO sale)
           
 void setCatchBatchDao(CatchBatchDao catchBatchDao)
          Sets the reference to catchBatch's DAO.
 void setDeclaredDocumentReferenceDao(DeclaredDocumentReferenceDao declaredDocumentReferenceDao)
          Sets the reference to declaredDocumentReference's DAO.
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to department's DAO.
 void setFishingTripDao(FishingTripDao fishingTripDao)
          Sets the reference to fishingTrip's DAO.
 void setLandingDao(LandingDao landingDao)
          Sets the reference to landing's DAO.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to location's DAO.
 void setPersonDao(PersonDao personDao)
          Sets the reference to person's DAO.
 void setProgramDao(ProgramDao programDao)
          Sets the reference to program's DAO.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlag's DAO.
 void setSaleDao(SaleDao saleDao)
          Sets the reference to sale's DAO.
 void setSaleMeasurementDao(SaleMeasurementDao saleMeasurementDao)
          Sets the reference to saleMeasurement's DAO.
 void setSaleProduceDao(SaleProduceDao saleProduceDao)
          Sets the reference to saleProduce's DAO.
 void setSaleTypeDao(SaleTypeDao saleTypeDao)
          Sets the reference to saleType's DAO.
 void setSurveyMeasurementDao(SurveyMeasurementDao surveyMeasurementDao)
          Sets the reference to surveyMeasurement's DAO.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vessel's DAO.
 void updateSale(RemoteSaleFullVO sale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteSaleFullServiceBase

public RemoteSaleFullServiceBase()
Method Detail

setSaleDao

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


getSaleDao

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


setLocationDao

public void setLocationDao(LocationDao locationDao)
Sets the reference to location's DAO.


getLocationDao

protected LocationDao getLocationDao()
Gets the reference to location'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.


setFishingTripDao

public void setFishingTripDao(FishingTripDao fishingTripDao)
Sets the reference to fishingTrip's DAO.


getFishingTripDao

protected FishingTripDao getFishingTripDao()
Gets the reference to fishingTrip's DAO.


setDeclaredDocumentReferenceDao

public void setDeclaredDocumentReferenceDao(DeclaredDocumentReferenceDao declaredDocumentReferenceDao)
Sets the reference to declaredDocumentReference's DAO.


getDeclaredDocumentReferenceDao

protected DeclaredDocumentReferenceDao getDeclaredDocumentReferenceDao()
Gets the reference to declaredDocumentReference's DAO.


setSaleMeasurementDao

public void setSaleMeasurementDao(SaleMeasurementDao saleMeasurementDao)
Sets the reference to saleMeasurement's DAO.


getSaleMeasurementDao

protected SaleMeasurementDao getSaleMeasurementDao()
Gets the reference to saleMeasurement's DAO.


setSaleTypeDao

public void setSaleTypeDao(SaleTypeDao saleTypeDao)
Sets the reference to saleType's DAO.


getSaleTypeDao

protected SaleTypeDao getSaleTypeDao()
Gets the reference to saleType's DAO.


setSaleProduceDao

public void setSaleProduceDao(SaleProduceDao saleProduceDao)
Sets the reference to saleProduce's DAO.


getSaleProduceDao

protected SaleProduceDao getSaleProduceDao()
Gets the reference to saleProduce'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.


setProgramDao

public void setProgramDao(ProgramDao programDao)
Sets the reference to program's DAO.


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to program's DAO.


setDepartmentDao

public void setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to department's DAO.


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to department'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.


setCatchBatchDao

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


getCatchBatchDao

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


setSurveyMeasurementDao

public void setSurveyMeasurementDao(SurveyMeasurementDao surveyMeasurementDao)
Sets the reference to surveyMeasurement's DAO.


getSurveyMeasurementDao

protected SurveyMeasurementDao getSurveyMeasurementDao()
Gets the reference to surveyMeasurement's DAO.


setPersonDao

public void setPersonDao(PersonDao personDao)
Sets the reference to person's DAO.


getPersonDao

protected PersonDao getPersonDao()
Gets the reference to person's DAO.


addSale

public RemoteSaleFullVO addSale(RemoteSaleFullVO sale)
Specified by:
addSale in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.addSale(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

handleAddSale

protected abstract RemoteSaleFullVO handleAddSale(RemoteSaleFullVO sale)
                                           throws java.lang.Exception
Performs the core logic for addSale(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

Throws:
java.lang.Exception

updateSale

public void updateSale(RemoteSaleFullVO sale)
Specified by:
updateSale in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.updateSale(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

handleUpdateSale

protected abstract void handleUpdateSale(RemoteSaleFullVO sale)
                                  throws java.lang.Exception
Performs the core logic for updateSale(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

Throws:
java.lang.Exception

removeSale

public void removeSale(RemoteSaleFullVO sale)
Specified by:
removeSale in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.removeSale(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

handleRemoveSale

protected abstract void handleRemoveSale(RemoteSaleFullVO sale)
                                  throws java.lang.Exception
Performs the core logic for removeSale(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

Throws:
java.lang.Exception

getAllSale

public RemoteSaleFullVO[] getAllSale()
Specified by:
getAllSale in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getAllSale()

handleGetAllSale

protected abstract RemoteSaleFullVO[] handleGetAllSale()
                                                throws java.lang.Exception
Performs the core logic for getAllSale()

Throws:
java.lang.Exception

getSaleById

public RemoteSaleFullVO getSaleById(java.lang.Integer id)
Specified by:
getSaleById in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleById(java.lang.Integer)

handleGetSaleById

protected abstract RemoteSaleFullVO handleGetSaleById(java.lang.Integer id)
                                               throws java.lang.Exception
Performs the core logic for getSaleById(java.lang.Integer)

Throws:
java.lang.Exception

getSaleByIds

public RemoteSaleFullVO[] getSaleByIds(java.lang.Integer[] id)
Specified by:
getSaleByIds in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByIds(java.lang.Integer[])

handleGetSaleByIds

protected abstract RemoteSaleFullVO[] handleGetSaleByIds(java.lang.Integer[] id)
                                                  throws java.lang.Exception
Performs the core logic for getSaleByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getSaleBySaleLocationId

public RemoteSaleFullVO[] getSaleBySaleLocationId(java.lang.Integer id)
Specified by:
getSaleBySaleLocationId in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleBySaleLocationId(java.lang.Integer)

handleGetSaleBySaleLocationId

protected abstract RemoteSaleFullVO[] handleGetSaleBySaleLocationId(java.lang.Integer id)
                                                             throws java.lang.Exception
Performs the core logic for getSaleBySaleLocationId(java.lang.Integer)

Throws:
java.lang.Exception

getSaleByVesselCode

public RemoteSaleFullVO[] getSaleByVesselCode(java.lang.String code)
Specified by:
getSaleByVesselCode in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByVesselCode(java.lang.String)

handleGetSaleByVesselCode

protected abstract RemoteSaleFullVO[] handleGetSaleByVesselCode(java.lang.String code)
                                                         throws java.lang.Exception
Performs the core logic for getSaleByVesselCode(java.lang.String)

Throws:
java.lang.Exception

getSaleByFishingTripId

public RemoteSaleFullVO[] getSaleByFishingTripId(java.lang.Integer id)
Specified by:
getSaleByFishingTripId in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByFishingTripId(java.lang.Integer)

handleGetSaleByFishingTripId

protected abstract RemoteSaleFullVO[] handleGetSaleByFishingTripId(java.lang.Integer id)
                                                            throws java.lang.Exception
Performs the core logic for getSaleByFishingTripId(java.lang.Integer)

Throws:
java.lang.Exception

getSaleByDeclaredDocumentReferenceId

public RemoteSaleFullVO[] getSaleByDeclaredDocumentReferenceId(java.lang.Integer id)
Specified by:
getSaleByDeclaredDocumentReferenceId in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByDeclaredDocumentReferenceId(java.lang.Integer)

handleGetSaleByDeclaredDocumentReferenceId

protected abstract RemoteSaleFullVO[] handleGetSaleByDeclaredDocumentReferenceId(java.lang.Integer id)
                                                                          throws java.lang.Exception
Performs the core logic for getSaleByDeclaredDocumentReferenceId(java.lang.Integer)

Throws:
java.lang.Exception

getSaleBySaleTypeId

public RemoteSaleFullVO[] getSaleBySaleTypeId(java.lang.Integer id)
Specified by:
getSaleBySaleTypeId in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleBySaleTypeId(java.lang.Integer)

handleGetSaleBySaleTypeId

protected abstract RemoteSaleFullVO[] handleGetSaleBySaleTypeId(java.lang.Integer id)
                                                         throws java.lang.Exception
Performs the core logic for getSaleBySaleTypeId(java.lang.Integer)

Throws:
java.lang.Exception

getSaleByLandingId

public RemoteSaleFullVO[] getSaleByLandingId(java.lang.Integer id)
Specified by:
getSaleByLandingId in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByLandingId(java.lang.Integer)

handleGetSaleByLandingId

protected abstract RemoteSaleFullVO[] handleGetSaleByLandingId(java.lang.Integer id)
                                                        throws java.lang.Exception
Performs the core logic for getSaleByLandingId(java.lang.Integer)

Throws:
java.lang.Exception

getSaleByProgramCode

public RemoteSaleFullVO[] getSaleByProgramCode(java.lang.String code)
Specified by:
getSaleByProgramCode in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByProgramCode(java.lang.String)

handleGetSaleByProgramCode

protected abstract RemoteSaleFullVO[] handleGetSaleByProgramCode(java.lang.String code)
                                                          throws java.lang.Exception
Performs the core logic for getSaleByProgramCode(java.lang.String)

Throws:
java.lang.Exception

getSaleByRecorderDepartmentId

public RemoteSaleFullVO[] getSaleByRecorderDepartmentId(java.lang.Integer id)
Specified by:
getSaleByRecorderDepartmentId in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByRecorderDepartmentId(java.lang.Integer)

handleGetSaleByRecorderDepartmentId

protected abstract RemoteSaleFullVO[] handleGetSaleByRecorderDepartmentId(java.lang.Integer id)
                                                                   throws java.lang.Exception
Performs the core logic for getSaleByRecorderDepartmentId(java.lang.Integer)

Throws:
java.lang.Exception

getSaleByQualityFlagCode

public RemoteSaleFullVO[] getSaleByQualityFlagCode(java.lang.String code)
Specified by:
getSaleByQualityFlagCode in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByQualityFlagCode(java.lang.String)

handleGetSaleByQualityFlagCode

protected abstract RemoteSaleFullVO[] handleGetSaleByQualityFlagCode(java.lang.String code)
                                                              throws java.lang.Exception
Performs the core logic for getSaleByQualityFlagCode(java.lang.String)

Throws:
java.lang.Exception

getSaleByCatchBatchId

public RemoteSaleFullVO getSaleByCatchBatchId(java.lang.Integer id)
Specified by:
getSaleByCatchBatchId in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByCatchBatchId(java.lang.Integer)

handleGetSaleByCatchBatchId

protected abstract RemoteSaleFullVO handleGetSaleByCatchBatchId(java.lang.Integer id)
                                                         throws java.lang.Exception
Performs the core logic for getSaleByCatchBatchId(java.lang.Integer)

Throws:
java.lang.Exception

getSaleByRecorderPersonId

public RemoteSaleFullVO[] getSaleByRecorderPersonId(java.lang.Integer id)
Specified by:
getSaleByRecorderPersonId in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByRecorderPersonId(java.lang.Integer)

handleGetSaleByRecorderPersonId

protected abstract RemoteSaleFullVO[] handleGetSaleByRecorderPersonId(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getSaleByRecorderPersonId(java.lang.Integer)

Throws:
java.lang.Exception

remoteSaleFullVOsAreEqualOnIdentifiers

public boolean remoteSaleFullVOsAreEqualOnIdentifiers(RemoteSaleFullVO remoteSaleFullVOFirst,
                                                      RemoteSaleFullVO remoteSaleFullVOSecond)
Specified by:
remoteSaleFullVOsAreEqualOnIdentifiers in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.remoteSaleFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

handleRemoteSaleFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteSaleFullVOsAreEqualOnIdentifiers(RemoteSaleFullVO remoteSaleFullVOFirst,
                                                                        RemoteSaleFullVO remoteSaleFullVOSecond)
                                                                 throws java.lang.Exception
Performs the core logic for remoteSaleFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

Throws:
java.lang.Exception

remoteSaleFullVOsAreEqual

public boolean remoteSaleFullVOsAreEqual(RemoteSaleFullVO remoteSaleFullVOFirst,
                                         RemoteSaleFullVO remoteSaleFullVOSecond)
Specified by:
remoteSaleFullVOsAreEqual in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.remoteSaleFullVOsAreEqual(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

handleRemoteSaleFullVOsAreEqual

protected abstract boolean handleRemoteSaleFullVOsAreEqual(RemoteSaleFullVO remoteSaleFullVOFirst,
                                                           RemoteSaleFullVO remoteSaleFullVOSecond)
                                                    throws java.lang.Exception
Performs the core logic for remoteSaleFullVOsAreEqual(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

Throws:
java.lang.Exception

getSaleNaturalIds

public RemoteSaleNaturalId[] getSaleNaturalIds()
Specified by:
getSaleNaturalIds in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleNaturalIds()

handleGetSaleNaturalIds

protected abstract RemoteSaleNaturalId[] handleGetSaleNaturalIds()
                                                          throws java.lang.Exception
Performs the core logic for getSaleNaturalIds()

Throws:
java.lang.Exception

getSaleByNaturalId

public RemoteSaleFullVO getSaleByNaturalId(RemoteSaleNaturalId saleNaturalId)
Specified by:
getSaleByNaturalId in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleByNaturalId(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleNaturalId)

handleGetSaleByNaturalId

protected abstract RemoteSaleFullVO handleGetSaleByNaturalId(RemoteSaleNaturalId saleNaturalId)
                                                      throws java.lang.Exception
Performs the core logic for getSaleByNaturalId(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleNaturalId)

Throws:
java.lang.Exception

getSaleNaturalIdById

public RemoteSaleNaturalId getSaleNaturalIdById(java.lang.Integer id)
Specified by:
getSaleNaturalIdById in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getSaleNaturalIdById(java.lang.Integer)

handleGetSaleNaturalIdById

protected abstract RemoteSaleNaturalId handleGetSaleNaturalIdById(java.lang.Integer id)
                                                           throws java.lang.Exception
Performs the core logic for getSaleNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getAllClusterSaleSinceDateSynchro

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

handleGetAllClusterSaleSinceDateSynchro

protected abstract ClusterSale[] handleGetAllClusterSaleSinceDateSynchro(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 getAllClusterSaleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterSaleByIdentifiers

public ClusterSale getClusterSaleByIdentifiers(java.lang.Integer id)
Specified by:
getClusterSaleByIdentifiers in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.getClusterSaleByIdentifiers(java.lang.Integer)

handleGetClusterSaleByIdentifiers

protected abstract ClusterSale handleGetClusterSaleByIdentifiers(java.lang.Integer id)
                                                          throws java.lang.Exception
Performs the core logic for getClusterSaleByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterSale

public ClusterSale addOrUpdateClusterSale(ClusterSale clusterSale)
Specified by:
addOrUpdateClusterSale in interface RemoteSaleFullService
See Also:
RemoteSaleFullService.addOrUpdateClusterSale(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)

handleAddOrUpdateClusterSale

protected abstract ClusterSale handleAddOrUpdateClusterSale(ClusterSale clusterSale)
                                                     throws java.lang.Exception
Performs the core logic for addOrUpdateClusterSale(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)

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.