fr.ifremer.allegro.data.vessel.specific.service
Class RemoteCompetenceZoneFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.vessel.specific.service.RemoteCompetenceZoneFullServiceBase
All Implemented Interfaces:
RemoteCompetenceZoneFullService
Direct Known Subclasses:
RemoteCompetenceZoneFullServiceImpl

public abstract class RemoteCompetenceZoneFullServiceBase
extends java.lang.Object
implements RemoteCompetenceZoneFullService

Spring Service base class for fr.ifremer.allegro.data.vessel.specific.service.RemoteCompetenceZoneFullService, provides access to all services and entities referenced by this service.

See Also:
RemoteCompetenceZoneFullService

Constructor Summary
RemoteCompetenceZoneFullServiceBase()
           
 
Method Summary
 java.lang.Object getAllVesselOwnersByCompetenceZonesSinceDateSynchro(java.lang.Integer[] locationIds, java.sql.Timestamp updateDate)
           
protected  FishingVesselDao getFishingVesselDao()
          Gets the reference to fishingVessel's DAO.
 java.lang.Object getFishingVesselsByCompetenceZones(java.lang.Integer[] locationIds)
           
protected  LocationDao getLocationDao()
          Gets the reference to location's DAO.
protected  ManagedDataDao getManagedDataDao()
          Gets the reference to managedData'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  VesselManagePeriodDao getVesselManagePeriodDao()
          Gets the reference to vesselManagePeriod's DAO.
protected  VesselOwnerDao getVesselOwnerDao()
          Gets the reference to vesselOwner's DAO.
protected  VesselOwnerPeriodDao getVesselOwnerPeriodDao()
          Gets the reference to vesselOwnerPeriod's DAO.
protected  VesselRegistrationPeriodDao getVesselRegistrationPeriodDao()
          Gets the reference to vesselRegistrationPeriod's DAO.
protected abstract  java.lang.Object handleGetAllVesselOwnersByCompetenceZonesSinceDateSynchro(java.lang.Integer[] locationIds, java.sql.Timestamp updateDate)
          Performs the core logic for getAllVesselOwnersByCompetenceZonesSinceDateSynchro(java.lang.Integer[], java.sql.Timestamp)
protected abstract  java.lang.Object handleGetFishingVesselsByCompetenceZones(java.lang.Integer[] locationIds)
          Performs the core logic for getFishingVesselsByCompetenceZones(java.lang.Integer[])
 void setFishingVesselDao(FishingVesselDao fishingVesselDao)
          Sets the reference to fishingVessel's DAO.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to location's DAO.
 void setManagedDataDao(ManagedDataDao managedDataDao)
          Sets the reference to managedData's DAO.
 void setVesselManagePeriodDao(VesselManagePeriodDao vesselManagePeriodDao)
          Sets the reference to vesselManagePeriod's DAO.
 void setVesselOwnerDao(VesselOwnerDao vesselOwnerDao)
          Sets the reference to vesselOwner's DAO.
 void setVesselOwnerPeriodDao(VesselOwnerPeriodDao vesselOwnerPeriodDao)
          Sets the reference to vesselOwnerPeriod's DAO.
 void setVesselRegistrationPeriodDao(VesselRegistrationPeriodDao vesselRegistrationPeriodDao)
          Sets the reference to vesselRegistrationPeriod's DAO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteCompetenceZoneFullServiceBase

public RemoteCompetenceZoneFullServiceBase()
Method Detail

setFishingVesselDao

public void setFishingVesselDao(FishingVesselDao fishingVesselDao)
Sets the reference to fishingVessel's DAO.


getFishingVesselDao

protected FishingVesselDao getFishingVesselDao()
Gets the reference to fishingVessel's DAO.


setVesselRegistrationPeriodDao

public void setVesselRegistrationPeriodDao(VesselRegistrationPeriodDao vesselRegistrationPeriodDao)
Sets the reference to vesselRegistrationPeriod's DAO.


getVesselRegistrationPeriodDao

protected VesselRegistrationPeriodDao getVesselRegistrationPeriodDao()
Gets the reference to vesselRegistrationPeriod'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.


setManagedDataDao

public void setManagedDataDao(ManagedDataDao managedDataDao)
Sets the reference to managedData's DAO.


getManagedDataDao

protected ManagedDataDao getManagedDataDao()
Gets the reference to managedData's DAO.


setVesselManagePeriodDao

public void setVesselManagePeriodDao(VesselManagePeriodDao vesselManagePeriodDao)
Sets the reference to vesselManagePeriod's DAO.


getVesselManagePeriodDao

protected VesselManagePeriodDao getVesselManagePeriodDao()
Gets the reference to vesselManagePeriod's DAO.


setVesselOwnerPeriodDao

public void setVesselOwnerPeriodDao(VesselOwnerPeriodDao vesselOwnerPeriodDao)
Sets the reference to vesselOwnerPeriod's DAO.


getVesselOwnerPeriodDao

protected VesselOwnerPeriodDao getVesselOwnerPeriodDao()
Gets the reference to vesselOwnerPeriod's DAO.


setVesselOwnerDao

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


getVesselOwnerDao

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


getFishingVesselsByCompetenceZones

public java.lang.Object getFishingVesselsByCompetenceZones(java.lang.Integer[] locationIds)
Specified by:
getFishingVesselsByCompetenceZones in interface RemoteCompetenceZoneFullService
See Also:
RemoteCompetenceZoneFullService.getFishingVesselsByCompetenceZones(java.lang.Integer[])

handleGetFishingVesselsByCompetenceZones

protected abstract java.lang.Object handleGetFishingVesselsByCompetenceZones(java.lang.Integer[] locationIds)
                                                                      throws java.lang.Exception
Performs the core logic for getFishingVesselsByCompetenceZones(java.lang.Integer[])

Throws:
java.lang.Exception

getAllVesselOwnersByCompetenceZonesSinceDateSynchro

public java.lang.Object getAllVesselOwnersByCompetenceZonesSinceDateSynchro(java.lang.Integer[] locationIds,
                                                                            java.sql.Timestamp updateDate)
Specified by:
getAllVesselOwnersByCompetenceZonesSinceDateSynchro in interface RemoteCompetenceZoneFullService
See Also:
RemoteCompetenceZoneFullService.getAllVesselOwnersByCompetenceZonesSinceDateSynchro(java.lang.Integer[], java.sql.Timestamp)

handleGetAllVesselOwnersByCompetenceZonesSinceDateSynchro

protected abstract java.lang.Object handleGetAllVesselOwnersByCompetenceZonesSinceDateSynchro(java.lang.Integer[] locationIds,
                                                                                              java.sql.Timestamp updateDate)
                                                                                       throws java.lang.Exception
Performs the core logic for getAllVesselOwnersByCompetenceZonesSinceDateSynchro(java.lang.Integer[], java.sql.Timestamp)

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.