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

java.lang.Object
  extended by fr.ifremer.allegro.referential.vessel.generic.service.RemoteVesselRegistrationPeriodFullServiceBase
All Implemented Interfaces:
RemoteVesselRegistrationPeriodFullService
Direct Known Subclasses:
RemoteVesselRegistrationPeriodFullServiceImpl

public abstract class RemoteVesselRegistrationPeriodFullServiceBase
extends java.lang.Object
implements RemoteVesselRegistrationPeriodFullService

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

See Also:
RemoteVesselRegistrationPeriodFullService

Constructor Summary
RemoteVesselRegistrationPeriodFullServiceBase()
           
 
Method Summary
 RemoteVesselRegistrationPeriodFullVO addVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
           
 RemoteVesselRegistrationPeriodFullVO[] getAllVesselRegistrationPeriod()
           
 ClusterVesselRegistrationPeriod getClusterVesselRegistrationPeriodByIdentifiers(java.util.Date startDateTime, java.lang.Integer registrationLocationId, java.lang.String vesselCode)
           
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  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  VesselDao getVesselDao()
          Gets the reference to vessel's DAO.
 RemoteVesselRegistrationPeriodFullVO getVesselRegistrationPeriodByIdentifiers(java.util.Date startDateTime, java.lang.Integer registrationLocationId, java.lang.String vesselCode)
           
 RemoteVesselRegistrationPeriodFullVO getVesselRegistrationPeriodByNaturalId(RemoteVesselRegistrationPeriodNaturalId vesselRegistrationPeriodNaturalId)
           
 RemoteVesselRegistrationPeriodFullVO[] getVesselRegistrationPeriodByRegistrationLocationId(java.lang.Integer id)
           
 RemoteVesselRegistrationPeriodFullVO[] getVesselRegistrationPeriodByStartDateTime(java.util.Date startDateTime)
           
 RemoteVesselRegistrationPeriodFullVO[] getVesselRegistrationPeriodByStartDateTimes(java.util.Date[] startDateTime)
           
 RemoteVesselRegistrationPeriodFullVO[] getVesselRegistrationPeriodByVesselCode(java.lang.String code)
           
protected  VesselRegistrationPeriodDao getVesselRegistrationPeriodDao()
          Gets the reference to vesselRegistrationPeriod's DAO.
 RemoteVesselRegistrationPeriodNaturalId[] getVesselRegistrationPeriodNaturalIds()
           
protected abstract  RemoteVesselRegistrationPeriodFullVO handleAddVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
          Performs the core logic for addVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)
protected abstract  RemoteVesselRegistrationPeriodFullVO[] handleGetAllVesselRegistrationPeriod()
          Performs the core logic for getAllVesselRegistrationPeriod()
protected abstract  ClusterVesselRegistrationPeriod handleGetClusterVesselRegistrationPeriodByIdentifiers(java.util.Date startDateTime, java.lang.Integer registrationLocationId, java.lang.String vesselCode)
          Performs the core logic for getClusterVesselRegistrationPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)
protected abstract  RemoteVesselRegistrationPeriodFullVO handleGetVesselRegistrationPeriodByIdentifiers(java.util.Date startDateTime, java.lang.Integer registrationLocationId, java.lang.String vesselCode)
          Performs the core logic for getVesselRegistrationPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)
protected abstract  RemoteVesselRegistrationPeriodFullVO handleGetVesselRegistrationPeriodByNaturalId(RemoteVesselRegistrationPeriodNaturalId vesselRegistrationPeriodNaturalId)
          Performs the core logic for getVesselRegistrationPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodNaturalId)
protected abstract  RemoteVesselRegistrationPeriodFullVO[] handleGetVesselRegistrationPeriodByRegistrationLocationId(java.lang.Integer id)
          Performs the core logic for getVesselRegistrationPeriodByRegistrationLocationId(java.lang.Integer)
protected abstract  RemoteVesselRegistrationPeriodFullVO[] handleGetVesselRegistrationPeriodByStartDateTime(java.util.Date startDateTime)
          Performs the core logic for getVesselRegistrationPeriodByStartDateTime(java.util.Date)
protected abstract  RemoteVesselRegistrationPeriodFullVO[] handleGetVesselRegistrationPeriodByStartDateTimes(java.util.Date[] startDateTime)
          Performs the core logic for getVesselRegistrationPeriodByStartDateTimes(java.util.Date[])
protected abstract  RemoteVesselRegistrationPeriodFullVO[] handleGetVesselRegistrationPeriodByVesselCode(java.lang.String code)
          Performs the core logic for getVesselRegistrationPeriodByVesselCode(java.lang.String)
protected abstract  RemoteVesselRegistrationPeriodNaturalId[] handleGetVesselRegistrationPeriodNaturalIds()
          Performs the core logic for getVesselRegistrationPeriodNaturalIds()
protected abstract  boolean handleRemoteVesselRegistrationPeriodFullVOsAreEqual(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOFirst, RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOSecond)
          Performs the core logic for remoteVesselRegistrationPeriodFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)
protected abstract  boolean handleRemoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOFirst, RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOSecond)
          Performs the core logic for remoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)
protected abstract  void handleRemoveVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
          Performs the core logic for removeVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)
protected abstract  void handleUpdateVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
          Performs the core logic for updateVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)
 boolean remoteVesselRegistrationPeriodFullVOsAreEqual(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOFirst, RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOSecond)
           
 boolean remoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOFirst, RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOSecond)
           
 void removeVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
           
 void setLocationDao(LocationDao locationDao)
          Sets the reference to location's DAO.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vessel's DAO.
 void setVesselRegistrationPeriodDao(VesselRegistrationPeriodDao vesselRegistrationPeriodDao)
          Sets the reference to vesselRegistrationPeriod's DAO.
 void updateVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteVesselRegistrationPeriodFullServiceBase

public RemoteVesselRegistrationPeriodFullServiceBase()
Method Detail

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.


setVesselDao

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


getVesselDao

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


addVesselRegistrationPeriod

public RemoteVesselRegistrationPeriodFullVO addVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
Specified by:
addVesselRegistrationPeriod in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.addVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

handleAddVesselRegistrationPeriod

protected abstract RemoteVesselRegistrationPeriodFullVO handleAddVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
                                                                                   throws java.lang.Exception
Performs the core logic for addVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

Throws:
java.lang.Exception

updateVesselRegistrationPeriod

public void updateVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
Specified by:
updateVesselRegistrationPeriod in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.updateVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

handleUpdateVesselRegistrationPeriod

protected abstract void handleUpdateVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
                                                      throws java.lang.Exception
Performs the core logic for updateVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

Throws:
java.lang.Exception

removeVesselRegistrationPeriod

public void removeVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
Specified by:
removeVesselRegistrationPeriod in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.removeVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

handleRemoveVesselRegistrationPeriod

protected abstract void handleRemoveVesselRegistrationPeriod(RemoteVesselRegistrationPeriodFullVO vesselRegistrationPeriod)
                                                      throws java.lang.Exception
Performs the core logic for removeVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

Throws:
java.lang.Exception

getAllVesselRegistrationPeriod

public RemoteVesselRegistrationPeriodFullVO[] getAllVesselRegistrationPeriod()
Specified by:
getAllVesselRegistrationPeriod in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.getAllVesselRegistrationPeriod()

handleGetAllVesselRegistrationPeriod

protected abstract RemoteVesselRegistrationPeriodFullVO[] handleGetAllVesselRegistrationPeriod()
                                                                                        throws java.lang.Exception
Performs the core logic for getAllVesselRegistrationPeriod()

Throws:
java.lang.Exception

getVesselRegistrationPeriodByStartDateTime

public RemoteVesselRegistrationPeriodFullVO[] getVesselRegistrationPeriodByStartDateTime(java.util.Date startDateTime)
Specified by:
getVesselRegistrationPeriodByStartDateTime in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.getVesselRegistrationPeriodByStartDateTime(java.util.Date)

handleGetVesselRegistrationPeriodByStartDateTime

protected abstract RemoteVesselRegistrationPeriodFullVO[] handleGetVesselRegistrationPeriodByStartDateTime(java.util.Date startDateTime)
                                                                                                    throws java.lang.Exception
Performs the core logic for getVesselRegistrationPeriodByStartDateTime(java.util.Date)

Throws:
java.lang.Exception

getVesselRegistrationPeriodByStartDateTimes

public RemoteVesselRegistrationPeriodFullVO[] getVesselRegistrationPeriodByStartDateTimes(java.util.Date[] startDateTime)
Specified by:
getVesselRegistrationPeriodByStartDateTimes in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.getVesselRegistrationPeriodByStartDateTimes(java.util.Date[])

handleGetVesselRegistrationPeriodByStartDateTimes

protected abstract RemoteVesselRegistrationPeriodFullVO[] handleGetVesselRegistrationPeriodByStartDateTimes(java.util.Date[] startDateTime)
                                                                                                     throws java.lang.Exception
Performs the core logic for getVesselRegistrationPeriodByStartDateTimes(java.util.Date[])

Throws:
java.lang.Exception

getVesselRegistrationPeriodByRegistrationLocationId

public RemoteVesselRegistrationPeriodFullVO[] getVesselRegistrationPeriodByRegistrationLocationId(java.lang.Integer id)
Specified by:
getVesselRegistrationPeriodByRegistrationLocationId in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.getVesselRegistrationPeriodByRegistrationLocationId(java.lang.Integer)

handleGetVesselRegistrationPeriodByRegistrationLocationId

protected abstract RemoteVesselRegistrationPeriodFullVO[] handleGetVesselRegistrationPeriodByRegistrationLocationId(java.lang.Integer id)
                                                                                                             throws java.lang.Exception
Performs the core logic for getVesselRegistrationPeriodByRegistrationLocationId(java.lang.Integer)

Throws:
java.lang.Exception

getVesselRegistrationPeriodByVesselCode

public RemoteVesselRegistrationPeriodFullVO[] getVesselRegistrationPeriodByVesselCode(java.lang.String code)
Specified by:
getVesselRegistrationPeriodByVesselCode in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.getVesselRegistrationPeriodByVesselCode(java.lang.String)

handleGetVesselRegistrationPeriodByVesselCode

protected abstract RemoteVesselRegistrationPeriodFullVO[] handleGetVesselRegistrationPeriodByVesselCode(java.lang.String code)
                                                                                                 throws java.lang.Exception
Performs the core logic for getVesselRegistrationPeriodByVesselCode(java.lang.String)

Throws:
java.lang.Exception

getVesselRegistrationPeriodByIdentifiers

public RemoteVesselRegistrationPeriodFullVO getVesselRegistrationPeriodByIdentifiers(java.util.Date startDateTime,
                                                                                     java.lang.Integer registrationLocationId,
                                                                                     java.lang.String vesselCode)
Specified by:
getVesselRegistrationPeriodByIdentifiers in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.getVesselRegistrationPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)

handleGetVesselRegistrationPeriodByIdentifiers

protected abstract RemoteVesselRegistrationPeriodFullVO handleGetVesselRegistrationPeriodByIdentifiers(java.util.Date startDateTime,
                                                                                                       java.lang.Integer registrationLocationId,
                                                                                                       java.lang.String vesselCode)
                                                                                                throws java.lang.Exception
Performs the core logic for getVesselRegistrationPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)

Throws:
java.lang.Exception

remoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers

public boolean remoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOFirst,
                                                                          RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOSecond)
Specified by:
remoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.remoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

handleRemoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOFirst,
                                                                                            RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOSecond)
                                                                                     throws java.lang.Exception
Performs the core logic for remoteVesselRegistrationPeriodFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

Throws:
java.lang.Exception

remoteVesselRegistrationPeriodFullVOsAreEqual

public boolean remoteVesselRegistrationPeriodFullVOsAreEqual(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOFirst,
                                                             RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOSecond)
Specified by:
remoteVesselRegistrationPeriodFullVOsAreEqual in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.remoteVesselRegistrationPeriodFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

handleRemoteVesselRegistrationPeriodFullVOsAreEqual

protected abstract boolean handleRemoteVesselRegistrationPeriodFullVOsAreEqual(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOFirst,
                                                                               RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVOSecond)
                                                                        throws java.lang.Exception
Performs the core logic for remoteVesselRegistrationPeriodFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

Throws:
java.lang.Exception

getVesselRegistrationPeriodNaturalIds

public RemoteVesselRegistrationPeriodNaturalId[] getVesselRegistrationPeriodNaturalIds()
Specified by:
getVesselRegistrationPeriodNaturalIds in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.getVesselRegistrationPeriodNaturalIds()

handleGetVesselRegistrationPeriodNaturalIds

protected abstract RemoteVesselRegistrationPeriodNaturalId[] handleGetVesselRegistrationPeriodNaturalIds()
                                                                                                  throws java.lang.Exception
Performs the core logic for getVesselRegistrationPeriodNaturalIds()

Throws:
java.lang.Exception

getVesselRegistrationPeriodByNaturalId

public RemoteVesselRegistrationPeriodFullVO getVesselRegistrationPeriodByNaturalId(RemoteVesselRegistrationPeriodNaturalId vesselRegistrationPeriodNaturalId)
Specified by:
getVesselRegistrationPeriodByNaturalId in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.getVesselRegistrationPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodNaturalId)

handleGetVesselRegistrationPeriodByNaturalId

protected abstract RemoteVesselRegistrationPeriodFullVO handleGetVesselRegistrationPeriodByNaturalId(RemoteVesselRegistrationPeriodNaturalId vesselRegistrationPeriodNaturalId)
                                                                                              throws java.lang.Exception
Performs the core logic for getVesselRegistrationPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodNaturalId)

Throws:
java.lang.Exception

getClusterVesselRegistrationPeriodByIdentifiers

public ClusterVesselRegistrationPeriod getClusterVesselRegistrationPeriodByIdentifiers(java.util.Date startDateTime,
                                                                                       java.lang.Integer registrationLocationId,
                                                                                       java.lang.String vesselCode)
Specified by:
getClusterVesselRegistrationPeriodByIdentifiers in interface RemoteVesselRegistrationPeriodFullService
See Also:
RemoteVesselRegistrationPeriodFullService.getClusterVesselRegistrationPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)

handleGetClusterVesselRegistrationPeriodByIdentifiers

protected abstract ClusterVesselRegistrationPeriod handleGetClusterVesselRegistrationPeriodByIdentifiers(java.util.Date startDateTime,
                                                                                                         java.lang.Integer registrationLocationId,
                                                                                                         java.lang.String vesselCode)
                                                                                                  throws java.lang.Exception
Performs the core logic for getClusterVesselRegistrationPeriodByIdentifiers(java.util.Date, java.lang.Integer, 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.