fr.ifremer.allegro.data.vessel.position.generic.service
Class RemoteVesselPositionFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.vessel.position.generic.service.RemoteVesselPositionFullServiceBase
All Implemented Interfaces:
RemoteVesselPositionFullService
Direct Known Subclasses:
RemoteVesselPositionFullServiceImpl

public abstract class RemoteVesselPositionFullServiceBase
extends java.lang.Object
implements RemoteVesselPositionFullService

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

See Also:
RemoteVesselPositionFullService

Constructor Summary
RemoteVesselPositionFullServiceBase()
           
 
Method Summary
 RemoteVesselPositionFullVO addVesselPosition(RemoteVesselPositionFullVO vesselPosition)
           
 RemoteVesselPositionFullVO[] getAllVesselPosition()
           
 ClusterVesselPosition getClusterVesselPositionByIdentifiers(java.lang.Long id)
           
protected  DepartmentDao getDepartmentDao()
          Gets the reference to department'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  OperationDao getOperationDao()
          Gets the reference to operation'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.
protected  VesselDao getVesselDao()
          Gets the reference to vessel's DAO.
 RemoteVesselPositionFullVO getVesselPositionById(java.lang.Long id)
           
 RemoteVesselPositionFullVO[] getVesselPositionByIds(java.lang.Long[] id)
           
 RemoteVesselPositionFullVO getVesselPositionByNaturalId(RemoteVesselPositionNaturalId vesselPositionNaturalId)
           
 RemoteVesselPositionFullVO[] getVesselPositionByOperationId(java.lang.Integer id)
           
 RemoteVesselPositionFullVO[] getVesselPositionByProgramCode(java.lang.String code)
           
 RemoteVesselPositionFullVO[] getVesselPositionByQualityFlagCode(java.lang.String code)
           
 RemoteVesselPositionFullVO[] getVesselPositionByRecorderDepartmentId(java.lang.Integer id)
           
 RemoteVesselPositionFullVO[] getVesselPositionByVesselCode(java.lang.String code)
           
protected  VesselPositionDao getVesselPositionDao()
          Gets the reference to vesselPosition's DAO.
protected  VesselPositionMeasurementDao getVesselPositionMeasurementDao()
          Gets the reference to vesselPositionMeasurement's DAO.
 RemoteVesselPositionNaturalId getVesselPositionNaturalIdById(java.lang.Long id)
           
 RemoteVesselPositionNaturalId[] getVesselPositionNaturalIds()
           
protected abstract  RemoteVesselPositionFullVO handleAddVesselPosition(RemoteVesselPositionFullVO vesselPosition)
          Performs the core logic for addVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)
protected abstract  RemoteVesselPositionFullVO[] handleGetAllVesselPosition()
          Performs the core logic for getAllVesselPosition()
protected abstract  ClusterVesselPosition handleGetClusterVesselPositionByIdentifiers(java.lang.Long id)
          Performs the core logic for getClusterVesselPositionByIdentifiers(java.lang.Long)
protected abstract  RemoteVesselPositionFullVO handleGetVesselPositionById(java.lang.Long id)
          Performs the core logic for getVesselPositionById(java.lang.Long)
protected abstract  RemoteVesselPositionFullVO[] handleGetVesselPositionByIds(java.lang.Long[] id)
          Performs the core logic for getVesselPositionByIds(java.lang.Long[])
protected abstract  RemoteVesselPositionFullVO handleGetVesselPositionByNaturalId(RemoteVesselPositionNaturalId vesselPositionNaturalId)
          Performs the core logic for getVesselPositionByNaturalId(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionNaturalId)
protected abstract  RemoteVesselPositionFullVO[] handleGetVesselPositionByOperationId(java.lang.Integer id)
          Performs the core logic for getVesselPositionByOperationId(java.lang.Integer)
protected abstract  RemoteVesselPositionFullVO[] handleGetVesselPositionByProgramCode(java.lang.String code)
          Performs the core logic for getVesselPositionByProgramCode(java.lang.String)
protected abstract  RemoteVesselPositionFullVO[] handleGetVesselPositionByQualityFlagCode(java.lang.String code)
          Performs the core logic for getVesselPositionByQualityFlagCode(java.lang.String)
protected abstract  RemoteVesselPositionFullVO[] handleGetVesselPositionByRecorderDepartmentId(java.lang.Integer id)
          Performs the core logic for getVesselPositionByRecorderDepartmentId(java.lang.Integer)
protected abstract  RemoteVesselPositionFullVO[] handleGetVesselPositionByVesselCode(java.lang.String code)
          Performs the core logic for getVesselPositionByVesselCode(java.lang.String)
protected abstract  RemoteVesselPositionNaturalId handleGetVesselPositionNaturalIdById(java.lang.Long id)
          Performs the core logic for getVesselPositionNaturalIdById(java.lang.Long)
protected abstract  RemoteVesselPositionNaturalId[] handleGetVesselPositionNaturalIds()
          Performs the core logic for getVesselPositionNaturalIds()
protected abstract  boolean handleRemoteVesselPositionFullVOsAreEqual(RemoteVesselPositionFullVO remoteVesselPositionFullVOFirst, RemoteVesselPositionFullVO remoteVesselPositionFullVOSecond)
          Performs the core logic for remoteVesselPositionFullVOsAreEqual(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO, fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)
protected abstract  boolean handleRemoteVesselPositionFullVOsAreEqualOnIdentifiers(RemoteVesselPositionFullVO remoteVesselPositionFullVOFirst, RemoteVesselPositionFullVO remoteVesselPositionFullVOSecond)
          Performs the core logic for remoteVesselPositionFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO, fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)
protected abstract  void handleRemoveVesselPosition(RemoteVesselPositionFullVO vesselPosition)
          Performs the core logic for removeVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)
protected abstract  void handleUpdateVesselPosition(RemoteVesselPositionFullVO vesselPosition)
          Performs the core logic for updateVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)
 boolean remoteVesselPositionFullVOsAreEqual(RemoteVesselPositionFullVO remoteVesselPositionFullVOFirst, RemoteVesselPositionFullVO remoteVesselPositionFullVOSecond)
           
 boolean remoteVesselPositionFullVOsAreEqualOnIdentifiers(RemoteVesselPositionFullVO remoteVesselPositionFullVOFirst, RemoteVesselPositionFullVO remoteVesselPositionFullVOSecond)
           
 void removeVesselPosition(RemoteVesselPositionFullVO vesselPosition)
           
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to department's DAO.
 void setOperationDao(OperationDao operationDao)
          Sets the reference to operation'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 setVesselDao(VesselDao vesselDao)
          Sets the reference to vessel's DAO.
 void setVesselPositionDao(VesselPositionDao vesselPositionDao)
          Sets the reference to vesselPosition's DAO.
 void setVesselPositionMeasurementDao(VesselPositionMeasurementDao vesselPositionMeasurementDao)
          Sets the reference to vesselPositionMeasurement's DAO.
 void updateVesselPosition(RemoteVesselPositionFullVO vesselPosition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteVesselPositionFullServiceBase

public RemoteVesselPositionFullServiceBase()
Method Detail

setVesselPositionDao

public void setVesselPositionDao(VesselPositionDao vesselPositionDao)
Sets the reference to vesselPosition's DAO.


getVesselPositionDao

protected VesselPositionDao getVesselPositionDao()
Gets the reference to vesselPosition'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.


setQualityFlagDao

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


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlag'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.


setOperationDao

public void setOperationDao(OperationDao operationDao)
Sets the reference to operation's DAO.


getOperationDao

protected OperationDao getOperationDao()
Gets the reference to operation's DAO.


setVesselPositionMeasurementDao

public void setVesselPositionMeasurementDao(VesselPositionMeasurementDao vesselPositionMeasurementDao)
Sets the reference to vesselPositionMeasurement's DAO.


getVesselPositionMeasurementDao

protected VesselPositionMeasurementDao getVesselPositionMeasurementDao()
Gets the reference to vesselPositionMeasurement's DAO.


addVesselPosition

public RemoteVesselPositionFullVO addVesselPosition(RemoteVesselPositionFullVO vesselPosition)
Specified by:
addVesselPosition in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.addVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

handleAddVesselPosition

protected abstract RemoteVesselPositionFullVO handleAddVesselPosition(RemoteVesselPositionFullVO vesselPosition)
                                                               throws java.lang.Exception
Performs the core logic for addVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

Throws:
java.lang.Exception

updateVesselPosition

public void updateVesselPosition(RemoteVesselPositionFullVO vesselPosition)
Specified by:
updateVesselPosition in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.updateVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

handleUpdateVesselPosition

protected abstract void handleUpdateVesselPosition(RemoteVesselPositionFullVO vesselPosition)
                                            throws java.lang.Exception
Performs the core logic for updateVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

Throws:
java.lang.Exception

removeVesselPosition

public void removeVesselPosition(RemoteVesselPositionFullVO vesselPosition)
Specified by:
removeVesselPosition in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.removeVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

handleRemoveVesselPosition

protected abstract void handleRemoveVesselPosition(RemoteVesselPositionFullVO vesselPosition)
                                            throws java.lang.Exception
Performs the core logic for removeVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

Throws:
java.lang.Exception

getAllVesselPosition

public RemoteVesselPositionFullVO[] getAllVesselPosition()
Specified by:
getAllVesselPosition in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getAllVesselPosition()

handleGetAllVesselPosition

protected abstract RemoteVesselPositionFullVO[] handleGetAllVesselPosition()
                                                                    throws java.lang.Exception
Performs the core logic for getAllVesselPosition()

Throws:
java.lang.Exception

getVesselPositionById

public RemoteVesselPositionFullVO getVesselPositionById(java.lang.Long id)
Specified by:
getVesselPositionById in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionById(java.lang.Long)

handleGetVesselPositionById

protected abstract RemoteVesselPositionFullVO handleGetVesselPositionById(java.lang.Long id)
                                                                   throws java.lang.Exception
Performs the core logic for getVesselPositionById(java.lang.Long)

Throws:
java.lang.Exception

getVesselPositionByIds

public RemoteVesselPositionFullVO[] getVesselPositionByIds(java.lang.Long[] id)
Specified by:
getVesselPositionByIds in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionByIds(java.lang.Long[])

handleGetVesselPositionByIds

protected abstract RemoteVesselPositionFullVO[] handleGetVesselPositionByIds(java.lang.Long[] id)
                                                                      throws java.lang.Exception
Performs the core logic for getVesselPositionByIds(java.lang.Long[])

Throws:
java.lang.Exception

getVesselPositionByVesselCode

public RemoteVesselPositionFullVO[] getVesselPositionByVesselCode(java.lang.String code)
Specified by:
getVesselPositionByVesselCode in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionByVesselCode(java.lang.String)

handleGetVesselPositionByVesselCode

protected abstract RemoteVesselPositionFullVO[] handleGetVesselPositionByVesselCode(java.lang.String code)
                                                                             throws java.lang.Exception
Performs the core logic for getVesselPositionByVesselCode(java.lang.String)

Throws:
java.lang.Exception

getVesselPositionByQualityFlagCode

public RemoteVesselPositionFullVO[] getVesselPositionByQualityFlagCode(java.lang.String code)
Specified by:
getVesselPositionByQualityFlagCode in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionByQualityFlagCode(java.lang.String)

handleGetVesselPositionByQualityFlagCode

protected abstract RemoteVesselPositionFullVO[] handleGetVesselPositionByQualityFlagCode(java.lang.String code)
                                                                                  throws java.lang.Exception
Performs the core logic for getVesselPositionByQualityFlagCode(java.lang.String)

Throws:
java.lang.Exception

getVesselPositionByProgramCode

public RemoteVesselPositionFullVO[] getVesselPositionByProgramCode(java.lang.String code)
Specified by:
getVesselPositionByProgramCode in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionByProgramCode(java.lang.String)

handleGetVesselPositionByProgramCode

protected abstract RemoteVesselPositionFullVO[] handleGetVesselPositionByProgramCode(java.lang.String code)
                                                                              throws java.lang.Exception
Performs the core logic for getVesselPositionByProgramCode(java.lang.String)

Throws:
java.lang.Exception

getVesselPositionByRecorderDepartmentId

public RemoteVesselPositionFullVO[] getVesselPositionByRecorderDepartmentId(java.lang.Integer id)
Specified by:
getVesselPositionByRecorderDepartmentId in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionByRecorderDepartmentId(java.lang.Integer)

handleGetVesselPositionByRecorderDepartmentId

protected abstract RemoteVesselPositionFullVO[] handleGetVesselPositionByRecorderDepartmentId(java.lang.Integer id)
                                                                                       throws java.lang.Exception
Performs the core logic for getVesselPositionByRecorderDepartmentId(java.lang.Integer)

Throws:
java.lang.Exception

getVesselPositionByOperationId

public RemoteVesselPositionFullVO[] getVesselPositionByOperationId(java.lang.Integer id)
Specified by:
getVesselPositionByOperationId in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionByOperationId(java.lang.Integer)

handleGetVesselPositionByOperationId

protected abstract RemoteVesselPositionFullVO[] handleGetVesselPositionByOperationId(java.lang.Integer id)
                                                                              throws java.lang.Exception
Performs the core logic for getVesselPositionByOperationId(java.lang.Integer)

Throws:
java.lang.Exception

remoteVesselPositionFullVOsAreEqualOnIdentifiers

public boolean remoteVesselPositionFullVOsAreEqualOnIdentifiers(RemoteVesselPositionFullVO remoteVesselPositionFullVOFirst,
                                                                RemoteVesselPositionFullVO remoteVesselPositionFullVOSecond)
Specified by:
remoteVesselPositionFullVOsAreEqualOnIdentifiers in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.remoteVesselPositionFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO, fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

handleRemoteVesselPositionFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteVesselPositionFullVOsAreEqualOnIdentifiers(RemoteVesselPositionFullVO remoteVesselPositionFullVOFirst,
                                                                                  RemoteVesselPositionFullVO remoteVesselPositionFullVOSecond)
                                                                           throws java.lang.Exception
Performs the core logic for remoteVesselPositionFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO, fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

Throws:
java.lang.Exception

remoteVesselPositionFullVOsAreEqual

public boolean remoteVesselPositionFullVOsAreEqual(RemoteVesselPositionFullVO remoteVesselPositionFullVOFirst,
                                                   RemoteVesselPositionFullVO remoteVesselPositionFullVOSecond)
Specified by:
remoteVesselPositionFullVOsAreEqual in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.remoteVesselPositionFullVOsAreEqual(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO, fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

handleRemoteVesselPositionFullVOsAreEqual

protected abstract boolean handleRemoteVesselPositionFullVOsAreEqual(RemoteVesselPositionFullVO remoteVesselPositionFullVOFirst,
                                                                     RemoteVesselPositionFullVO remoteVesselPositionFullVOSecond)
                                                              throws java.lang.Exception
Performs the core logic for remoteVesselPositionFullVOsAreEqual(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO, fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

Throws:
java.lang.Exception

getVesselPositionNaturalIds

public RemoteVesselPositionNaturalId[] getVesselPositionNaturalIds()
Specified by:
getVesselPositionNaturalIds in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionNaturalIds()

handleGetVesselPositionNaturalIds

protected abstract RemoteVesselPositionNaturalId[] handleGetVesselPositionNaturalIds()
                                                                              throws java.lang.Exception
Performs the core logic for getVesselPositionNaturalIds()

Throws:
java.lang.Exception

getVesselPositionByNaturalId

public RemoteVesselPositionFullVO getVesselPositionByNaturalId(RemoteVesselPositionNaturalId vesselPositionNaturalId)
Specified by:
getVesselPositionByNaturalId in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionByNaturalId(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionNaturalId)

handleGetVesselPositionByNaturalId

protected abstract RemoteVesselPositionFullVO handleGetVesselPositionByNaturalId(RemoteVesselPositionNaturalId vesselPositionNaturalId)
                                                                          throws java.lang.Exception
Performs the core logic for getVesselPositionByNaturalId(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionNaturalId)

Throws:
java.lang.Exception

getVesselPositionNaturalIdById

public RemoteVesselPositionNaturalId getVesselPositionNaturalIdById(java.lang.Long id)
Specified by:
getVesselPositionNaturalIdById in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getVesselPositionNaturalIdById(java.lang.Long)

handleGetVesselPositionNaturalIdById

protected abstract RemoteVesselPositionNaturalId handleGetVesselPositionNaturalIdById(java.lang.Long id)
                                                                               throws java.lang.Exception
Performs the core logic for getVesselPositionNaturalIdById(java.lang.Long)

Throws:
java.lang.Exception

getClusterVesselPositionByIdentifiers

public ClusterVesselPosition getClusterVesselPositionByIdentifiers(java.lang.Long id)
Specified by:
getClusterVesselPositionByIdentifiers in interface RemoteVesselPositionFullService
See Also:
RemoteVesselPositionFullService.getClusterVesselPositionByIdentifiers(java.lang.Long)

handleGetClusterVesselPositionByIdentifiers

protected abstract ClusterVesselPosition handleGetClusterVesselPositionByIdentifiers(java.lang.Long id)
                                                                              throws java.lang.Exception
Performs the core logic for getClusterVesselPositionByIdentifiers(java.lang.Long)

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.