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

java.lang.Object
  extended by fr.ifremer.allegro.referential.vessel.generic.service.RemotePleasureBoatFullServiceBase
All Implemented Interfaces:
RemotePleasureBoatFullService
Direct Known Subclasses:
RemotePleasureBoatFullServiceImpl

public abstract class RemotePleasureBoatFullServiceBase
extends java.lang.Object
implements RemotePleasureBoatFullService

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

See Also:
RemotePleasureBoatFullService

Constructor Summary
RemotePleasureBoatFullServiceBase()
           
 
Method Summary
 ClusterPleasureBoat addOrUpdateClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
           
 RemotePleasureBoatFullVO addPleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
           
 ClusterPleasureBoat[] getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemotePleasureBoatFullVO[] getAllPleasureBoat()
           
 ClusterPleasureBoat getClusterPleasureBoatByIdentifiers(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.
 RemotePleasureBoatFullVO getPleasureBoatByCode(java.lang.String code)
           
 RemotePleasureBoatFullVO[] getPleasureBoatByCodes(java.lang.String[] code)
           
 RemotePleasureBoatFullVO getPleasureBoatByNaturalId(RemotePleasureBoatNaturalId pleasureBoatNaturalId)
           
 RemotePleasureBoatFullVO[] getPleasureBoatByStatusCode(java.lang.String code)
           
 RemotePleasureBoatFullVO[] getPleasureBoatByVesselTypeId(java.lang.Integer id)
           
protected  PleasureBoatDao getPleasureBoatDao()
          Gets the reference to pleasureBoat's DAO.
 RemotePleasureBoatNaturalId getPleasureBoatNaturalIdByCode(java.lang.String code)
           
 RemotePleasureBoatNaturalId[] getPleasureBoatNaturalIds()
           
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.
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  ClusterPleasureBoat handleAddOrUpdateClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
          Performs the core logic for addOrUpdateClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)
protected abstract  RemotePleasureBoatFullVO handleAddPleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
          Performs the core logic for addPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)
protected abstract  ClusterPleasureBoat[] handleGetAllClusterPleasureBoatSinceDateSynchro(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 getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemotePleasureBoatFullVO[] handleGetAllPleasureBoat()
          Performs the core logic for getAllPleasureBoat()
protected abstract  ClusterPleasureBoat handleGetClusterPleasureBoatByIdentifiers(java.lang.String code)
          Performs the core logic for getClusterPleasureBoatByIdentifiers(java.lang.String)
protected abstract  RemotePleasureBoatFullVO handleGetPleasureBoatByCode(java.lang.String code)
          Performs the core logic for getPleasureBoatByCode(java.lang.String)
protected abstract  RemotePleasureBoatFullVO[] handleGetPleasureBoatByCodes(java.lang.String[] code)
          Performs the core logic for getPleasureBoatByCodes(java.lang.String[])
protected abstract  RemotePleasureBoatFullVO handleGetPleasureBoatByNaturalId(RemotePleasureBoatNaturalId pleasureBoatNaturalId)
          Performs the core logic for getPleasureBoatByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatNaturalId)
protected abstract  RemotePleasureBoatFullVO[] handleGetPleasureBoatByStatusCode(java.lang.String code)
          Performs the core logic for getPleasureBoatByStatusCode(java.lang.String)
protected abstract  RemotePleasureBoatFullVO[] handleGetPleasureBoatByVesselTypeId(java.lang.Integer id)
          Performs the core logic for getPleasureBoatByVesselTypeId(java.lang.Integer)
protected abstract  RemotePleasureBoatNaturalId handleGetPleasureBoatNaturalIdByCode(java.lang.String code)
          Performs the core logic for getPleasureBoatNaturalIdByCode(java.lang.String)
protected abstract  RemotePleasureBoatNaturalId[] handleGetPleasureBoatNaturalIds()
          Performs the core logic for getPleasureBoatNaturalIds()
protected abstract  boolean handleRemotePleasureBoatFullVOsAreEqual(RemotePleasureBoatFullVO remotePleasureBoatFullVOFirst, RemotePleasureBoatFullVO remotePleasureBoatFullVOSecond)
          Performs the core logic for remotePleasureBoatFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)
protected abstract  boolean handleRemotePleasureBoatFullVOsAreEqualOnIdentifiers(RemotePleasureBoatFullVO remotePleasureBoatFullVOFirst, RemotePleasureBoatFullVO remotePleasureBoatFullVOSecond)
          Performs the core logic for remotePleasureBoatFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)
protected abstract  void handleRemovePleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
          Performs the core logic for removePleasureBoat(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)
protected abstract  void handleUpdatePleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
          Performs the core logic for updatePleasureBoat(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)
 boolean remotePleasureBoatFullVOsAreEqual(RemotePleasureBoatFullVO remotePleasureBoatFullVOFirst, RemotePleasureBoatFullVO remotePleasureBoatFullVOSecond)
           
 boolean remotePleasureBoatFullVOsAreEqualOnIdentifiers(RemotePleasureBoatFullVO remotePleasureBoatFullVOFirst, RemotePleasureBoatFullVO remotePleasureBoatFullVOSecond)
           
 void removePleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
           
 void setPleasureBoatDao(PleasureBoatDao pleasureBoatDao)
          Sets the reference to pleasureBoat's DAO.
 void setRightToProduceDao(RightToProduceDao rightToProduceDao)
          Sets the reference to rightToProduce's DAO.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to status'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.
 void updatePleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemotePleasureBoatFullServiceBase

public RemotePleasureBoatFullServiceBase()
Method Detail

setPleasureBoatDao

public void setPleasureBoatDao(PleasureBoatDao pleasureBoatDao)
Sets the reference to pleasureBoat's DAO.


getPleasureBoatDao

protected PleasureBoatDao getPleasureBoatDao()
Gets the reference to pleasureBoat'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.


addPleasureBoat

public RemotePleasureBoatFullVO addPleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
Specified by:
addPleasureBoat in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.addPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

handleAddPleasureBoat

protected abstract RemotePleasureBoatFullVO handleAddPleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
                                                           throws java.lang.Exception
Performs the core logic for addPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

Throws:
java.lang.Exception

updatePleasureBoat

public void updatePleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
Specified by:
updatePleasureBoat in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.updatePleasureBoat(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

handleUpdatePleasureBoat

protected abstract void handleUpdatePleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
                                          throws java.lang.Exception
Performs the core logic for updatePleasureBoat(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

Throws:
java.lang.Exception

removePleasureBoat

public void removePleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
Specified by:
removePleasureBoat in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.removePleasureBoat(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

handleRemovePleasureBoat

protected abstract void handleRemovePleasureBoat(RemotePleasureBoatFullVO pleasureBoat)
                                          throws java.lang.Exception
Performs the core logic for removePleasureBoat(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

Throws:
java.lang.Exception

getAllPleasureBoat

public RemotePleasureBoatFullVO[] getAllPleasureBoat()
Specified by:
getAllPleasureBoat in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.getAllPleasureBoat()

handleGetAllPleasureBoat

protected abstract RemotePleasureBoatFullVO[] handleGetAllPleasureBoat()
                                                                throws java.lang.Exception
Performs the core logic for getAllPleasureBoat()

Throws:
java.lang.Exception

getPleasureBoatByCode

public RemotePleasureBoatFullVO getPleasureBoatByCode(java.lang.String code)
Specified by:
getPleasureBoatByCode in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.getPleasureBoatByCode(java.lang.String)

handleGetPleasureBoatByCode

protected abstract RemotePleasureBoatFullVO handleGetPleasureBoatByCode(java.lang.String code)
                                                                 throws java.lang.Exception
Performs the core logic for getPleasureBoatByCode(java.lang.String)

Throws:
java.lang.Exception

getPleasureBoatByCodes

public RemotePleasureBoatFullVO[] getPleasureBoatByCodes(java.lang.String[] code)
Specified by:
getPleasureBoatByCodes in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.getPleasureBoatByCodes(java.lang.String[])

handleGetPleasureBoatByCodes

protected abstract RemotePleasureBoatFullVO[] handleGetPleasureBoatByCodes(java.lang.String[] code)
                                                                    throws java.lang.Exception
Performs the core logic for getPleasureBoatByCodes(java.lang.String[])

Throws:
java.lang.Exception

getPleasureBoatByStatusCode

public RemotePleasureBoatFullVO[] getPleasureBoatByStatusCode(java.lang.String code)
Specified by:
getPleasureBoatByStatusCode in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.getPleasureBoatByStatusCode(java.lang.String)

handleGetPleasureBoatByStatusCode

protected abstract RemotePleasureBoatFullVO[] handleGetPleasureBoatByStatusCode(java.lang.String code)
                                                                         throws java.lang.Exception
Performs the core logic for getPleasureBoatByStatusCode(java.lang.String)

Throws:
java.lang.Exception

getPleasureBoatByVesselTypeId

public RemotePleasureBoatFullVO[] getPleasureBoatByVesselTypeId(java.lang.Integer id)
Specified by:
getPleasureBoatByVesselTypeId in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.getPleasureBoatByVesselTypeId(java.lang.Integer)

handleGetPleasureBoatByVesselTypeId

protected abstract RemotePleasureBoatFullVO[] handleGetPleasureBoatByVesselTypeId(java.lang.Integer id)
                                                                           throws java.lang.Exception
Performs the core logic for getPleasureBoatByVesselTypeId(java.lang.Integer)

Throws:
java.lang.Exception

remotePleasureBoatFullVOsAreEqualOnIdentifiers

public boolean remotePleasureBoatFullVOsAreEqualOnIdentifiers(RemotePleasureBoatFullVO remotePleasureBoatFullVOFirst,
                                                              RemotePleasureBoatFullVO remotePleasureBoatFullVOSecond)
Specified by:
remotePleasureBoatFullVOsAreEqualOnIdentifiers in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.remotePleasureBoatFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

handleRemotePleasureBoatFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemotePleasureBoatFullVOsAreEqualOnIdentifiers(RemotePleasureBoatFullVO remotePleasureBoatFullVOFirst,
                                                                                RemotePleasureBoatFullVO remotePleasureBoatFullVOSecond)
                                                                         throws java.lang.Exception
Performs the core logic for remotePleasureBoatFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

Throws:
java.lang.Exception

remotePleasureBoatFullVOsAreEqual

public boolean remotePleasureBoatFullVOsAreEqual(RemotePleasureBoatFullVO remotePleasureBoatFullVOFirst,
                                                 RemotePleasureBoatFullVO remotePleasureBoatFullVOSecond)
Specified by:
remotePleasureBoatFullVOsAreEqual in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.remotePleasureBoatFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

handleRemotePleasureBoatFullVOsAreEqual

protected abstract boolean handleRemotePleasureBoatFullVOsAreEqual(RemotePleasureBoatFullVO remotePleasureBoatFullVOFirst,
                                                                   RemotePleasureBoatFullVO remotePleasureBoatFullVOSecond)
                                                            throws java.lang.Exception
Performs the core logic for remotePleasureBoatFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

Throws:
java.lang.Exception

getPleasureBoatNaturalIds

public RemotePleasureBoatNaturalId[] getPleasureBoatNaturalIds()
Specified by:
getPleasureBoatNaturalIds in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.getPleasureBoatNaturalIds()

handleGetPleasureBoatNaturalIds

protected abstract RemotePleasureBoatNaturalId[] handleGetPleasureBoatNaturalIds()
                                                                          throws java.lang.Exception
Performs the core logic for getPleasureBoatNaturalIds()

Throws:
java.lang.Exception

getPleasureBoatByNaturalId

public RemotePleasureBoatFullVO getPleasureBoatByNaturalId(RemotePleasureBoatNaturalId pleasureBoatNaturalId)
Specified by:
getPleasureBoatByNaturalId in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.getPleasureBoatByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatNaturalId)

handleGetPleasureBoatByNaturalId

protected abstract RemotePleasureBoatFullVO handleGetPleasureBoatByNaturalId(RemotePleasureBoatNaturalId pleasureBoatNaturalId)
                                                                      throws java.lang.Exception
Performs the core logic for getPleasureBoatByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatNaturalId)

Throws:
java.lang.Exception

getPleasureBoatNaturalIdByCode

public RemotePleasureBoatNaturalId getPleasureBoatNaturalIdByCode(java.lang.String code)
Specified by:
getPleasureBoatNaturalIdByCode in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.getPleasureBoatNaturalIdByCode(java.lang.String)

handleGetPleasureBoatNaturalIdByCode

protected abstract RemotePleasureBoatNaturalId handleGetPleasureBoatNaturalIdByCode(java.lang.String code)
                                                                             throws java.lang.Exception
Performs the core logic for getPleasureBoatNaturalIdByCode(java.lang.String)

Throws:
java.lang.Exception

addOrUpdateClusterPleasureBoat

public ClusterPleasureBoat addOrUpdateClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
Specified by:
addOrUpdateClusterPleasureBoat in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.addOrUpdateClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)

handleAddOrUpdateClusterPleasureBoat

protected abstract ClusterPleasureBoat handleAddOrUpdateClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
                                                                     throws java.lang.Exception
Performs the core logic for addOrUpdateClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)

Throws:
java.lang.Exception

getAllClusterPleasureBoatSinceDateSynchro

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

handleGetAllClusterPleasureBoatSinceDateSynchro

protected abstract ClusterPleasureBoat[] handleGetAllClusterPleasureBoatSinceDateSynchro(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 getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterPleasureBoatByIdentifiers

public ClusterPleasureBoat getClusterPleasureBoatByIdentifiers(java.lang.String code)
Specified by:
getClusterPleasureBoatByIdentifiers in interface RemotePleasureBoatFullService
See Also:
RemotePleasureBoatFullService.getClusterPleasureBoatByIdentifiers(java.lang.String)

handleGetClusterPleasureBoatByIdentifiers

protected abstract ClusterPleasureBoat handleGetClusterPleasureBoatByIdentifiers(java.lang.String code)
                                                                          throws java.lang.Exception
Performs the core logic for getClusterPleasureBoatByIdentifiers(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.