fr.ifremer.allegro.referential.vessel.generic.service
Class RemoteVesselFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.vessel.generic.service.RemoteVesselFullServiceBase
All Implemented Interfaces:
RemoteVesselFullService
Direct Known Subclasses:
RemoteVesselFullServiceImpl

public abstract class RemoteVesselFullServiceBase
extends java.lang.Object
implements RemoteVesselFullService

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

See Also:
RemoteVesselFullService

Constructor Summary
RemoteVesselFullServiceBase()
           
 
Method Summary
 RemoteVesselFullVO[] getAllVessel()
           
 ClusterVessel getClusterVesselByIdentifiers(java.lang.String code)
           
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  RightToProduceDao getRightToProduceDao()
          Gets the reference to rightToProduce's DAO.
protected  StatusDao getStatusDao()
          Gets the reference to status's DAO.
 RemoteVesselFullVO getVesselByCode(java.lang.String code)
           
 RemoteVesselFullVO[] getVesselByCodes(java.lang.String[] code)
           
 RemoteVesselFullVO getVesselByNaturalId(RemoteVesselNaturalId vesselNaturalId)
           
 RemoteVesselFullVO[] getVesselByStatusCode(java.lang.String code)
           
 RemoteVesselFullVO[] getVesselByVesselTypeId(java.lang.Integer id)
           
protected  VesselDao getVesselDao()
          Gets the reference to vessel's DAO.
 RemoteVesselNaturalId getVesselNaturalIdByCode(java.lang.String code)
           
 RemoteVesselNaturalId[] getVesselNaturalIds()
           
protected  VesselOwnerPeriodDao getVesselOwnerPeriodDao()
          Gets the reference to vesselOwnerPeriod's DAO.
protected  VesselRegistrationPeriodDao getVesselRegistrationPeriodDao()
          Gets the reference to vesselRegistrationPeriod's DAO.
protected  VesselTypeDao getVesselTypeDao()
          Gets the reference to vesselType's DAO.
protected abstract  RemoteVesselFullVO[] handleGetAllVessel()
          Performs the core logic for getAllVessel()
protected abstract  ClusterVessel handleGetClusterVesselByIdentifiers(java.lang.String code)
          Performs the core logic for getClusterVesselByIdentifiers(java.lang.String)
protected abstract  RemoteVesselFullVO handleGetVesselByCode(java.lang.String code)
          Performs the core logic for getVesselByCode(java.lang.String)
protected abstract  RemoteVesselFullVO[] handleGetVesselByCodes(java.lang.String[] code)
          Performs the core logic for getVesselByCodes(java.lang.String[])
protected abstract  RemoteVesselFullVO handleGetVesselByNaturalId(RemoteVesselNaturalId vesselNaturalId)
          Performs the core logic for getVesselByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselNaturalId)
protected abstract  RemoteVesselFullVO[] handleGetVesselByStatusCode(java.lang.String code)
          Performs the core logic for getVesselByStatusCode(java.lang.String)
protected abstract  RemoteVesselFullVO[] handleGetVesselByVesselTypeId(java.lang.Integer id)
          Performs the core logic for getVesselByVesselTypeId(java.lang.Integer)
protected abstract  RemoteVesselNaturalId handleGetVesselNaturalIdByCode(java.lang.String code)
          Performs the core logic for getVesselNaturalIdByCode(java.lang.String)
protected abstract  RemoteVesselNaturalId[] handleGetVesselNaturalIds()
          Performs the core logic for getVesselNaturalIds()
protected abstract  boolean handleRemoteVesselFullVOsAreEqual(RemoteVesselFullVO remoteVesselFullVOFirst, RemoteVesselFullVO remoteVesselFullVOSecond)
          Performs the core logic for remoteVesselFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)
protected abstract  boolean handleRemoteVesselFullVOsAreEqualOnIdentifiers(RemoteVesselFullVO remoteVesselFullVOFirst, RemoteVesselFullVO remoteVesselFullVOSecond)
          Performs the core logic for remoteVesselFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)
protected abstract  void handleRemoveVessel(RemoteVesselFullVO vessel)
          Performs the core logic for removeVessel(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)
 boolean remoteVesselFullVOsAreEqual(RemoteVesselFullVO remoteVesselFullVOFirst, RemoteVesselFullVO remoteVesselFullVOSecond)
           
 boolean remoteVesselFullVOsAreEqualOnIdentifiers(RemoteVesselFullVO remoteVesselFullVOFirst, RemoteVesselFullVO remoteVesselFullVOSecond)
           
 void removeVessel(RemoteVesselFullVO vessel)
           
 void setRightToProduceDao(RightToProduceDao rightToProduceDao)
          Sets the reference to rightToProduce's DAO.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to status's DAO.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vessel's DAO.
 void setVesselOwnerPeriodDao(VesselOwnerPeriodDao vesselOwnerPeriodDao)
          Sets the reference to vesselOwnerPeriod's DAO.
 void setVesselRegistrationPeriodDao(VesselRegistrationPeriodDao vesselRegistrationPeriodDao)
          Sets the reference to vesselRegistrationPeriod's DAO.
 void setVesselTypeDao(VesselTypeDao vesselTypeDao)
          Sets the reference to vesselType's DAO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteVesselFullServiceBase

public RemoteVesselFullServiceBase()
Method Detail

setVesselDao

public void setVesselDao(VesselDao vesselDao)
Sets the reference to vessel's DAO.


getVesselDao

protected VesselDao getVesselDao()
Gets the reference to vessel's DAO.


setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to status's DAO.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to status's DAO.


setVesselTypeDao

public void setVesselTypeDao(VesselTypeDao vesselTypeDao)
Sets the reference to vesselType's DAO.


getVesselTypeDao

protected VesselTypeDao getVesselTypeDao()
Gets the reference to vesselType's DAO.


setRightToProduceDao

public void setRightToProduceDao(RightToProduceDao rightToProduceDao)
Sets the reference to rightToProduce's DAO.


getRightToProduceDao

protected RightToProduceDao getRightToProduceDao()
Gets the reference to rightToProduce'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.


setVesselRegistrationPeriodDao

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


getVesselRegistrationPeriodDao

protected VesselRegistrationPeriodDao getVesselRegistrationPeriodDao()
Gets the reference to vesselRegistrationPeriod's DAO.


removeVessel

public void removeVessel(RemoteVesselFullVO vessel)
Specified by:
removeVessel in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.removeVessel(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)

handleRemoveVessel

protected abstract void handleRemoveVessel(RemoteVesselFullVO vessel)
                                    throws java.lang.Exception
Performs the core logic for removeVessel(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)

Throws:
java.lang.Exception

getAllVessel

public RemoteVesselFullVO[] getAllVessel()
Specified by:
getAllVessel in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.getAllVessel()

handleGetAllVessel

protected abstract RemoteVesselFullVO[] handleGetAllVessel()
                                                    throws java.lang.Exception
Performs the core logic for getAllVessel()

Throws:
java.lang.Exception

getVesselByCode

public RemoteVesselFullVO getVesselByCode(java.lang.String code)
Specified by:
getVesselByCode in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.getVesselByCode(java.lang.String)

handleGetVesselByCode

protected abstract RemoteVesselFullVO handleGetVesselByCode(java.lang.String code)
                                                     throws java.lang.Exception
Performs the core logic for getVesselByCode(java.lang.String)

Throws:
java.lang.Exception

getVesselByCodes

public RemoteVesselFullVO[] getVesselByCodes(java.lang.String[] code)
Specified by:
getVesselByCodes in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.getVesselByCodes(java.lang.String[])

handleGetVesselByCodes

protected abstract RemoteVesselFullVO[] handleGetVesselByCodes(java.lang.String[] code)
                                                        throws java.lang.Exception
Performs the core logic for getVesselByCodes(java.lang.String[])

Throws:
java.lang.Exception

getVesselByStatusCode

public RemoteVesselFullVO[] getVesselByStatusCode(java.lang.String code)
Specified by:
getVesselByStatusCode in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.getVesselByStatusCode(java.lang.String)

handleGetVesselByStatusCode

protected abstract RemoteVesselFullVO[] handleGetVesselByStatusCode(java.lang.String code)
                                                             throws java.lang.Exception
Performs the core logic for getVesselByStatusCode(java.lang.String)

Throws:
java.lang.Exception

getVesselByVesselTypeId

public RemoteVesselFullVO[] getVesselByVesselTypeId(java.lang.Integer id)
Specified by:
getVesselByVesselTypeId in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.getVesselByVesselTypeId(java.lang.Integer)

handleGetVesselByVesselTypeId

protected abstract RemoteVesselFullVO[] handleGetVesselByVesselTypeId(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getVesselByVesselTypeId(java.lang.Integer)

Throws:
java.lang.Exception

remoteVesselFullVOsAreEqualOnIdentifiers

public boolean remoteVesselFullVOsAreEqualOnIdentifiers(RemoteVesselFullVO remoteVesselFullVOFirst,
                                                        RemoteVesselFullVO remoteVesselFullVOSecond)
Specified by:
remoteVesselFullVOsAreEqualOnIdentifiers in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.remoteVesselFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)

handleRemoteVesselFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteVesselFullVOsAreEqualOnIdentifiers(RemoteVesselFullVO remoteVesselFullVOFirst,
                                                                          RemoteVesselFullVO remoteVesselFullVOSecond)
                                                                   throws java.lang.Exception
Performs the core logic for remoteVesselFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)

Throws:
java.lang.Exception

remoteVesselFullVOsAreEqual

public boolean remoteVesselFullVOsAreEqual(RemoteVesselFullVO remoteVesselFullVOFirst,
                                           RemoteVesselFullVO remoteVesselFullVOSecond)
Specified by:
remoteVesselFullVOsAreEqual in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.remoteVesselFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)

handleRemoteVesselFullVOsAreEqual

protected abstract boolean handleRemoteVesselFullVOsAreEqual(RemoteVesselFullVO remoteVesselFullVOFirst,
                                                             RemoteVesselFullVO remoteVesselFullVOSecond)
                                                      throws java.lang.Exception
Performs the core logic for remoteVesselFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)

Throws:
java.lang.Exception

getVesselNaturalIds

public RemoteVesselNaturalId[] getVesselNaturalIds()
Specified by:
getVesselNaturalIds in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.getVesselNaturalIds()

handleGetVesselNaturalIds

protected abstract RemoteVesselNaturalId[] handleGetVesselNaturalIds()
                                                              throws java.lang.Exception
Performs the core logic for getVesselNaturalIds()

Throws:
java.lang.Exception

getVesselByNaturalId

public RemoteVesselFullVO getVesselByNaturalId(RemoteVesselNaturalId vesselNaturalId)
Specified by:
getVesselByNaturalId in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.getVesselByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselNaturalId)

handleGetVesselByNaturalId

protected abstract RemoteVesselFullVO handleGetVesselByNaturalId(RemoteVesselNaturalId vesselNaturalId)
                                                          throws java.lang.Exception
Performs the core logic for getVesselByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselNaturalId)

Throws:
java.lang.Exception

getVesselNaturalIdByCode

public RemoteVesselNaturalId getVesselNaturalIdByCode(java.lang.String code)
Specified by:
getVesselNaturalIdByCode in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.getVesselNaturalIdByCode(java.lang.String)

handleGetVesselNaturalIdByCode

protected abstract RemoteVesselNaturalId handleGetVesselNaturalIdByCode(java.lang.String code)
                                                                 throws java.lang.Exception
Performs the core logic for getVesselNaturalIdByCode(java.lang.String)

Throws:
java.lang.Exception

getClusterVesselByIdentifiers

public ClusterVessel getClusterVesselByIdentifiers(java.lang.String code)
Specified by:
getClusterVesselByIdentifiers in interface RemoteVesselFullService
See Also:
RemoteVesselFullService.getClusterVesselByIdentifiers(java.lang.String)

handleGetClusterVesselByIdentifiers

protected abstract ClusterVessel handleGetClusterVesselByIdentifiers(java.lang.String code)
                                                              throws java.lang.Exception
Performs the core logic for getClusterVesselByIdentifiers(java.lang.String)

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.