fr.ifremer.allegro.data.survey.landing.generic.service
Class RemoteLandingFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.survey.landing.generic.service.RemoteLandingFullServiceBase
All Implemented Interfaces:
RemoteLandingFullService
Direct Known Subclasses:
RemoteLandingFullServiceImpl

public abstract class RemoteLandingFullServiceBase
extends java.lang.Object
implements RemoteLandingFullService

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

See Also:
RemoteLandingFullService

Constructor Summary
RemoteLandingFullServiceBase()
           
 
Method Summary
 RemoteLandingFullVO addLanding(RemoteLandingFullVO landing)
           
 ClusterLanding addOrUpdateClusterLanding(ClusterLanding clusterLanding)
           
 ClusterLanding[] getAllClusterLandingSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteLandingFullVO[] getAllLanding()
           
protected  CatchBatchDao getCatchBatchDao()
          Gets the reference to catchBatch's DAO.
 ClusterLanding getClusterLandingByIdentifiers(java.lang.Integer id)
           
protected  DepartmentDao getDepartmentDao()
          Gets the reference to department's DAO.
protected  FishingTripDao getFishingTripDao()
          Gets the reference to fishingTrip's DAO.
 RemoteLandingFullVO getLandingByCatchBatchId(java.lang.Integer id)
           
 RemoteLandingFullVO[] getLandingByFishingTripId(java.lang.Integer id)
           
 RemoteLandingFullVO getLandingById(java.lang.Integer id)
           
 RemoteLandingFullVO[] getLandingByIds(java.lang.Integer[] id)
           
 RemoteLandingFullVO[] getLandingByLandingLocationId(java.lang.Integer id)
           
 RemoteLandingFullVO getLandingByNaturalId(RemoteLandingNaturalId landingNaturalId)
           
 RemoteLandingFullVO[] getLandingByProgramCode(java.lang.String code)
           
 RemoteLandingFullVO[] getLandingByQualityFlagCode(java.lang.String code)
           
 RemoteLandingFullVO[] getLandingByRecorderDepartmentId(java.lang.Integer id)
           
 RemoteLandingFullVO[] getLandingByRecorderPersonId(java.lang.Integer id)
           
 RemoteLandingFullVO[] getLandingByVesselCode(java.lang.String code)
           
protected  LandingDao getLandingDao()
          Gets the reference to landing's DAO.
protected  LandingMeasurementDao getLandingMeasurementDao()
          Gets the reference to landingMeasurement's DAO.
 RemoteLandingNaturalId getLandingNaturalIdById(java.lang.Integer id)
           
 RemoteLandingNaturalId[] getLandingNaturalIds()
           
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  ProduceDao getProduceDao()
          Gets the reference to produce's DAO.
protected  ProgramDao getProgramDao()
          Gets the reference to program's DAO.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlag's DAO.
protected  SaleDao getSaleDao()
          Gets the reference to sale's DAO.
protected  SurveyMeasurementDao getSurveyMeasurementDao()
          Gets the reference to surveyMeasurement's DAO.
protected  VesselDao getVesselDao()
          Gets the reference to vessel's DAO.
protected abstract  RemoteLandingFullVO handleAddLanding(RemoteLandingFullVO landing)
          Performs the core logic for addLanding(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)
protected abstract  ClusterLanding handleAddOrUpdateClusterLanding(ClusterLanding clusterLanding)
          Performs the core logic for addOrUpdateClusterLanding(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterLanding)
protected abstract  ClusterLanding[] handleGetAllClusterLandingSinceDateSynchro(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 getAllClusterLandingSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteLandingFullVO[] handleGetAllLanding()
          Performs the core logic for getAllLanding()
protected abstract  ClusterLanding handleGetClusterLandingByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterLandingByIdentifiers(java.lang.Integer)
protected abstract  RemoteLandingFullVO handleGetLandingByCatchBatchId(java.lang.Integer id)
          Performs the core logic for getLandingByCatchBatchId(java.lang.Integer)
protected abstract  RemoteLandingFullVO[] handleGetLandingByFishingTripId(java.lang.Integer id)
          Performs the core logic for getLandingByFishingTripId(java.lang.Integer)
protected abstract  RemoteLandingFullVO handleGetLandingById(java.lang.Integer id)
          Performs the core logic for getLandingById(java.lang.Integer)
protected abstract  RemoteLandingFullVO[] handleGetLandingByIds(java.lang.Integer[] id)
          Performs the core logic for getLandingByIds(java.lang.Integer[])
protected abstract  RemoteLandingFullVO[] handleGetLandingByLandingLocationId(java.lang.Integer id)
          Performs the core logic for getLandingByLandingLocationId(java.lang.Integer)
protected abstract  RemoteLandingFullVO handleGetLandingByNaturalId(RemoteLandingNaturalId landingNaturalId)
          Performs the core logic for getLandingByNaturalId(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingNaturalId)
protected abstract  RemoteLandingFullVO[] handleGetLandingByProgramCode(java.lang.String code)
          Performs the core logic for getLandingByProgramCode(java.lang.String)
protected abstract  RemoteLandingFullVO[] handleGetLandingByQualityFlagCode(java.lang.String code)
          Performs the core logic for getLandingByQualityFlagCode(java.lang.String)
protected abstract  RemoteLandingFullVO[] handleGetLandingByRecorderDepartmentId(java.lang.Integer id)
          Performs the core logic for getLandingByRecorderDepartmentId(java.lang.Integer)
protected abstract  RemoteLandingFullVO[] handleGetLandingByRecorderPersonId(java.lang.Integer id)
          Performs the core logic for getLandingByRecorderPersonId(java.lang.Integer)
protected abstract  RemoteLandingFullVO[] handleGetLandingByVesselCode(java.lang.String code)
          Performs the core logic for getLandingByVesselCode(java.lang.String)
protected abstract  RemoteLandingNaturalId handleGetLandingNaturalIdById(java.lang.Integer id)
          Performs the core logic for getLandingNaturalIdById(java.lang.Integer)
protected abstract  RemoteLandingNaturalId[] handleGetLandingNaturalIds()
          Performs the core logic for getLandingNaturalIds()
protected abstract  boolean handleRemoteLandingFullVOsAreEqual(RemoteLandingFullVO remoteLandingFullVOFirst, RemoteLandingFullVO remoteLandingFullVOSecond)
          Performs the core logic for remoteLandingFullVOsAreEqual(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO, fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)
protected abstract  boolean handleRemoteLandingFullVOsAreEqualOnIdentifiers(RemoteLandingFullVO remoteLandingFullVOFirst, RemoteLandingFullVO remoteLandingFullVOSecond)
          Performs the core logic for remoteLandingFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO, fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)
protected abstract  void handleRemoveLanding(RemoteLandingFullVO landing)
          Performs the core logic for removeLanding(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)
protected abstract  void handleUpdateLanding(RemoteLandingFullVO landing)
          Performs the core logic for updateLanding(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)
 boolean remoteLandingFullVOsAreEqual(RemoteLandingFullVO remoteLandingFullVOFirst, RemoteLandingFullVO remoteLandingFullVOSecond)
           
 boolean remoteLandingFullVOsAreEqualOnIdentifiers(RemoteLandingFullVO remoteLandingFullVOFirst, RemoteLandingFullVO remoteLandingFullVOSecond)
           
 void removeLanding(RemoteLandingFullVO landing)
           
 void setCatchBatchDao(CatchBatchDao catchBatchDao)
          Sets the reference to catchBatch'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 setLandingMeasurementDao(LandingMeasurementDao landingMeasurementDao)
          Sets the reference to landingMeasurement'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 setProduceDao(ProduceDao produceDao)
          Sets the reference to produce'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 setSurveyMeasurementDao(SurveyMeasurementDao surveyMeasurementDao)
          Sets the reference to surveyMeasurement's DAO.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vessel's DAO.
 void updateLanding(RemoteLandingFullVO landing)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteLandingFullServiceBase

public RemoteLandingFullServiceBase()
Method Detail

setLandingDao

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


getLandingDao

protected LandingDao getLandingDao()
Gets the reference to landing'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.


setProduceDao

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


getProduceDao

protected ProduceDao getProduceDao()
Gets the reference to produce'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.


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.


setSaleDao

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


getSaleDao

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


setLandingMeasurementDao

public void setLandingMeasurementDao(LandingMeasurementDao landingMeasurementDao)
Sets the reference to landingMeasurement's DAO.


getLandingMeasurementDao

protected LandingMeasurementDao getLandingMeasurementDao()
Gets the reference to landingMeasurement'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.


addLanding

public RemoteLandingFullVO addLanding(RemoteLandingFullVO landing)
Specified by:
addLanding in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.addLanding(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

handleAddLanding

protected abstract RemoteLandingFullVO handleAddLanding(RemoteLandingFullVO landing)
                                                 throws java.lang.Exception
Performs the core logic for addLanding(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

Throws:
java.lang.Exception

updateLanding

public void updateLanding(RemoteLandingFullVO landing)
Specified by:
updateLanding in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.updateLanding(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

handleUpdateLanding

protected abstract void handleUpdateLanding(RemoteLandingFullVO landing)
                                     throws java.lang.Exception
Performs the core logic for updateLanding(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

Throws:
java.lang.Exception

removeLanding

public void removeLanding(RemoteLandingFullVO landing)
Specified by:
removeLanding in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.removeLanding(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

handleRemoveLanding

protected abstract void handleRemoveLanding(RemoteLandingFullVO landing)
                                     throws java.lang.Exception
Performs the core logic for removeLanding(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

Throws:
java.lang.Exception

getAllLanding

public RemoteLandingFullVO[] getAllLanding()
Specified by:
getAllLanding in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getAllLanding()

handleGetAllLanding

protected abstract RemoteLandingFullVO[] handleGetAllLanding()
                                                      throws java.lang.Exception
Performs the core logic for getAllLanding()

Throws:
java.lang.Exception

getLandingById

public RemoteLandingFullVO getLandingById(java.lang.Integer id)
Specified by:
getLandingById in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingById(java.lang.Integer)

handleGetLandingById

protected abstract RemoteLandingFullVO handleGetLandingById(java.lang.Integer id)
                                                     throws java.lang.Exception
Performs the core logic for getLandingById(java.lang.Integer)

Throws:
java.lang.Exception

getLandingByIds

public RemoteLandingFullVO[] getLandingByIds(java.lang.Integer[] id)
Specified by:
getLandingByIds in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByIds(java.lang.Integer[])

handleGetLandingByIds

protected abstract RemoteLandingFullVO[] handleGetLandingByIds(java.lang.Integer[] id)
                                                        throws java.lang.Exception
Performs the core logic for getLandingByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getLandingByLandingLocationId

public RemoteLandingFullVO[] getLandingByLandingLocationId(java.lang.Integer id)
Specified by:
getLandingByLandingLocationId in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByLandingLocationId(java.lang.Integer)

handleGetLandingByLandingLocationId

protected abstract RemoteLandingFullVO[] handleGetLandingByLandingLocationId(java.lang.Integer id)
                                                                      throws java.lang.Exception
Performs the core logic for getLandingByLandingLocationId(java.lang.Integer)

Throws:
java.lang.Exception

getLandingByVesselCode

public RemoteLandingFullVO[] getLandingByVesselCode(java.lang.String code)
Specified by:
getLandingByVesselCode in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByVesselCode(java.lang.String)

handleGetLandingByVesselCode

protected abstract RemoteLandingFullVO[] handleGetLandingByVesselCode(java.lang.String code)
                                                               throws java.lang.Exception
Performs the core logic for getLandingByVesselCode(java.lang.String)

Throws:
java.lang.Exception

getLandingByFishingTripId

public RemoteLandingFullVO[] getLandingByFishingTripId(java.lang.Integer id)
Specified by:
getLandingByFishingTripId in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByFishingTripId(java.lang.Integer)

handleGetLandingByFishingTripId

protected abstract RemoteLandingFullVO[] handleGetLandingByFishingTripId(java.lang.Integer id)
                                                                  throws java.lang.Exception
Performs the core logic for getLandingByFishingTripId(java.lang.Integer)

Throws:
java.lang.Exception

getLandingByProgramCode

public RemoteLandingFullVO[] getLandingByProgramCode(java.lang.String code)
Specified by:
getLandingByProgramCode in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByProgramCode(java.lang.String)

handleGetLandingByProgramCode

protected abstract RemoteLandingFullVO[] handleGetLandingByProgramCode(java.lang.String code)
                                                                throws java.lang.Exception
Performs the core logic for getLandingByProgramCode(java.lang.String)

Throws:
java.lang.Exception

getLandingByRecorderDepartmentId

public RemoteLandingFullVO[] getLandingByRecorderDepartmentId(java.lang.Integer id)
Specified by:
getLandingByRecorderDepartmentId in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByRecorderDepartmentId(java.lang.Integer)

handleGetLandingByRecorderDepartmentId

protected abstract RemoteLandingFullVO[] handleGetLandingByRecorderDepartmentId(java.lang.Integer id)
                                                                         throws java.lang.Exception
Performs the core logic for getLandingByRecorderDepartmentId(java.lang.Integer)

Throws:
java.lang.Exception

getLandingByQualityFlagCode

public RemoteLandingFullVO[] getLandingByQualityFlagCode(java.lang.String code)
Specified by:
getLandingByQualityFlagCode in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByQualityFlagCode(java.lang.String)

handleGetLandingByQualityFlagCode

protected abstract RemoteLandingFullVO[] handleGetLandingByQualityFlagCode(java.lang.String code)
                                                                    throws java.lang.Exception
Performs the core logic for getLandingByQualityFlagCode(java.lang.String)

Throws:
java.lang.Exception

getLandingByCatchBatchId

public RemoteLandingFullVO getLandingByCatchBatchId(java.lang.Integer id)
Specified by:
getLandingByCatchBatchId in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByCatchBatchId(java.lang.Integer)

handleGetLandingByCatchBatchId

protected abstract RemoteLandingFullVO handleGetLandingByCatchBatchId(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getLandingByCatchBatchId(java.lang.Integer)

Throws:
java.lang.Exception

getLandingByRecorderPersonId

public RemoteLandingFullVO[] getLandingByRecorderPersonId(java.lang.Integer id)
Specified by:
getLandingByRecorderPersonId in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByRecorderPersonId(java.lang.Integer)

handleGetLandingByRecorderPersonId

protected abstract RemoteLandingFullVO[] handleGetLandingByRecorderPersonId(java.lang.Integer id)
                                                                     throws java.lang.Exception
Performs the core logic for getLandingByRecorderPersonId(java.lang.Integer)

Throws:
java.lang.Exception

remoteLandingFullVOsAreEqualOnIdentifiers

public boolean remoteLandingFullVOsAreEqualOnIdentifiers(RemoteLandingFullVO remoteLandingFullVOFirst,
                                                         RemoteLandingFullVO remoteLandingFullVOSecond)
Specified by:
remoteLandingFullVOsAreEqualOnIdentifiers in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.remoteLandingFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO, fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

handleRemoteLandingFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteLandingFullVOsAreEqualOnIdentifiers(RemoteLandingFullVO remoteLandingFullVOFirst,
                                                                           RemoteLandingFullVO remoteLandingFullVOSecond)
                                                                    throws java.lang.Exception
Performs the core logic for remoteLandingFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO, fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

Throws:
java.lang.Exception

remoteLandingFullVOsAreEqual

public boolean remoteLandingFullVOsAreEqual(RemoteLandingFullVO remoteLandingFullVOFirst,
                                            RemoteLandingFullVO remoteLandingFullVOSecond)
Specified by:
remoteLandingFullVOsAreEqual in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.remoteLandingFullVOsAreEqual(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO, fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

handleRemoteLandingFullVOsAreEqual

protected abstract boolean handleRemoteLandingFullVOsAreEqual(RemoteLandingFullVO remoteLandingFullVOFirst,
                                                              RemoteLandingFullVO remoteLandingFullVOSecond)
                                                       throws java.lang.Exception
Performs the core logic for remoteLandingFullVOsAreEqual(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO, fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

Throws:
java.lang.Exception

getLandingNaturalIds

public RemoteLandingNaturalId[] getLandingNaturalIds()
Specified by:
getLandingNaturalIds in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingNaturalIds()

handleGetLandingNaturalIds

protected abstract RemoteLandingNaturalId[] handleGetLandingNaturalIds()
                                                                throws java.lang.Exception
Performs the core logic for getLandingNaturalIds()

Throws:
java.lang.Exception

getLandingByNaturalId

public RemoteLandingFullVO getLandingByNaturalId(RemoteLandingNaturalId landingNaturalId)
Specified by:
getLandingByNaturalId in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingByNaturalId(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingNaturalId)

handleGetLandingByNaturalId

protected abstract RemoteLandingFullVO handleGetLandingByNaturalId(RemoteLandingNaturalId landingNaturalId)
                                                            throws java.lang.Exception
Performs the core logic for getLandingByNaturalId(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingNaturalId)

Throws:
java.lang.Exception

getLandingNaturalIdById

public RemoteLandingNaturalId getLandingNaturalIdById(java.lang.Integer id)
Specified by:
getLandingNaturalIdById in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getLandingNaturalIdById(java.lang.Integer)

handleGetLandingNaturalIdById

protected abstract RemoteLandingNaturalId handleGetLandingNaturalIdById(java.lang.Integer id)
                                                                 throws java.lang.Exception
Performs the core logic for getLandingNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getAllClusterLandingSinceDateSynchro

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

handleGetAllClusterLandingSinceDateSynchro

protected abstract ClusterLanding[] handleGetAllClusterLandingSinceDateSynchro(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 getAllClusterLandingSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterLandingByIdentifiers

public ClusterLanding getClusterLandingByIdentifiers(java.lang.Integer id)
Specified by:
getClusterLandingByIdentifiers in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.getClusterLandingByIdentifiers(java.lang.Integer)

handleGetClusterLandingByIdentifiers

protected abstract ClusterLanding handleGetClusterLandingByIdentifiers(java.lang.Integer id)
                                                                throws java.lang.Exception
Performs the core logic for getClusterLandingByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterLanding

public ClusterLanding addOrUpdateClusterLanding(ClusterLanding clusterLanding)
Specified by:
addOrUpdateClusterLanding in interface RemoteLandingFullService
See Also:
RemoteLandingFullService.addOrUpdateClusterLanding(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterLanding)

handleAddOrUpdateClusterLanding

protected abstract ClusterLanding handleAddOrUpdateClusterLanding(ClusterLanding clusterLanding)
                                                           throws java.lang.Exception
Performs the core logic for addOrUpdateClusterLanding(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterLanding)

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.