fr.ifremer.allegro.playground.generic.service
Class RemotePlaygroundFishingEffortZoneFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.playground.generic.service.RemotePlaygroundFishingEffortZoneFullServiceBase
All Implemented Interfaces:
RemotePlaygroundFishingEffortZoneFullService
Direct Known Subclasses:
RemotePlaygroundFishingEffortZoneFullServiceImpl

public abstract class RemotePlaygroundFishingEffortZoneFullServiceBase
extends java.lang.Object
implements RemotePlaygroundFishingEffortZoneFullService

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

See Also:
RemotePlaygroundFishingEffortZoneFullService

Constructor Summary
RemotePlaygroundFishingEffortZoneFullServiceBase()
           
 
Method Summary
 RemotePlaygroundFishingEffortZoneFullVO addPlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
           
 RemotePlaygroundFishingEffortZoneFullVO[] getAllPlaygroundFishingEffortZone()
           
 ClusterPlaygroundFishingEffortZone getClusterPlaygroundFishingEffortZoneByIdentifiers(java.lang.Integer id)
           
protected  FishingTripDao getFishingTripDao()
          Gets the reference to fishingTrip's DAO.
protected  GearDao getGearDao()
          Gets the reference to gear'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.
 RemotePlaygroundFishingEffortZoneFullVO[] getPlaygroundFishingEffortZoneByFishingTripId(java.lang.Integer id)
           
 RemotePlaygroundFishingEffortZoneFullVO[] getPlaygroundFishingEffortZoneByGearId(java.lang.Integer id)
           
 RemotePlaygroundFishingEffortZoneFullVO getPlaygroundFishingEffortZoneById(java.lang.Integer id)
           
 RemotePlaygroundFishingEffortZoneFullVO[] getPlaygroundFishingEffortZoneByIds(java.lang.Integer[] id)
           
 RemotePlaygroundFishingEffortZoneFullVO getPlaygroundFishingEffortZoneByNaturalId(RemotePlaygroundFishingEffortZoneNaturalId playgroundFishingEffortZoneNaturalId)
           
protected  PlaygroundFishingEffortZoneDao getPlaygroundFishingEffortZoneDao()
          Gets the reference to playgroundFishingEffortZone's DAO.
 RemotePlaygroundFishingEffortZoneNaturalId getPlaygroundFishingEffortZoneNaturalIdById(java.lang.Integer id)
           
 RemotePlaygroundFishingEffortZoneNaturalId[] getPlaygroundFishingEffortZoneNaturalIds()
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  RemotePlaygroundFishingEffortZoneFullVO handleAddPlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
          Performs the core logic for addPlaygroundFishingEffortZone(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)
protected abstract  RemotePlaygroundFishingEffortZoneFullVO[] handleGetAllPlaygroundFishingEffortZone()
          Performs the core logic for getAllPlaygroundFishingEffortZone()
protected abstract  ClusterPlaygroundFishingEffortZone handleGetClusterPlaygroundFishingEffortZoneByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterPlaygroundFishingEffortZoneByIdentifiers(java.lang.Integer)
protected abstract  RemotePlaygroundFishingEffortZoneFullVO[] handleGetPlaygroundFishingEffortZoneByFishingTripId(java.lang.Integer id)
          Performs the core logic for getPlaygroundFishingEffortZoneByFishingTripId(java.lang.Integer)
protected abstract  RemotePlaygroundFishingEffortZoneFullVO[] handleGetPlaygroundFishingEffortZoneByGearId(java.lang.Integer id)
          Performs the core logic for getPlaygroundFishingEffortZoneByGearId(java.lang.Integer)
protected abstract  RemotePlaygroundFishingEffortZoneFullVO handleGetPlaygroundFishingEffortZoneById(java.lang.Integer id)
          Performs the core logic for getPlaygroundFishingEffortZoneById(java.lang.Integer)
protected abstract  RemotePlaygroundFishingEffortZoneFullVO[] handleGetPlaygroundFishingEffortZoneByIds(java.lang.Integer[] id)
          Performs the core logic for getPlaygroundFishingEffortZoneByIds(java.lang.Integer[])
protected abstract  RemotePlaygroundFishingEffortZoneFullVO handleGetPlaygroundFishingEffortZoneByNaturalId(RemotePlaygroundFishingEffortZoneNaturalId playgroundFishingEffortZoneNaturalId)
          Performs the core logic for getPlaygroundFishingEffortZoneByNaturalId(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneNaturalId)
protected abstract  RemotePlaygroundFishingEffortZoneNaturalId handleGetPlaygroundFishingEffortZoneNaturalIdById(java.lang.Integer id)
          Performs the core logic for getPlaygroundFishingEffortZoneNaturalIdById(java.lang.Integer)
protected abstract  RemotePlaygroundFishingEffortZoneNaturalId[] handleGetPlaygroundFishingEffortZoneNaturalIds()
          Performs the core logic for getPlaygroundFishingEffortZoneNaturalIds()
protected abstract  boolean handleRemotePlaygroundFishingEffortZoneFullVOsAreEqual(RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOFirst, RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOSecond)
          Performs the core logic for remotePlaygroundFishingEffortZoneFullVOsAreEqual(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO, fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)
protected abstract  boolean handleRemotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers(RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOFirst, RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOSecond)
          Performs the core logic for remotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO, fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)
protected abstract  void handleRemovePlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
          Performs the core logic for removePlaygroundFishingEffortZone(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)
protected abstract  void handleUpdatePlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
          Performs the core logic for updatePlaygroundFishingEffortZone(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)
 boolean remotePlaygroundFishingEffortZoneFullVOsAreEqual(RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOFirst, RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOSecond)
           
 boolean remotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers(RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOFirst, RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOSecond)
           
 void removePlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
           
 void setFishingTripDao(FishingTripDao fishingTripDao)
          Sets the reference to fishingTrip's DAO.
 void setGearDao(GearDao gearDao)
          Sets the reference to gear's DAO.
 void setPlaygroundFishingEffortZoneDao(PlaygroundFishingEffortZoneDao playgroundFishingEffortZoneDao)
          Sets the reference to playgroundFishingEffortZone's DAO.
 void updatePlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemotePlaygroundFishingEffortZoneFullServiceBase

public RemotePlaygroundFishingEffortZoneFullServiceBase()
Method Detail

setPlaygroundFishingEffortZoneDao

public void setPlaygroundFishingEffortZoneDao(PlaygroundFishingEffortZoneDao playgroundFishingEffortZoneDao)
Sets the reference to playgroundFishingEffortZone's DAO.


getPlaygroundFishingEffortZoneDao

protected PlaygroundFishingEffortZoneDao getPlaygroundFishingEffortZoneDao()
Gets the reference to playgroundFishingEffortZone's DAO.


setFishingTripDao

public void setFishingTripDao(FishingTripDao fishingTripDao)
Sets the reference to fishingTrip's DAO.


getFishingTripDao

protected FishingTripDao getFishingTripDao()
Gets the reference to fishingTrip's DAO.


setGearDao

public void setGearDao(GearDao gearDao)
Sets the reference to gear's DAO.


getGearDao

protected GearDao getGearDao()
Gets the reference to gear's DAO.


addPlaygroundFishingEffortZone

public RemotePlaygroundFishingEffortZoneFullVO addPlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
Specified by:
addPlaygroundFishingEffortZone in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.addPlaygroundFishingEffortZone(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

handleAddPlaygroundFishingEffortZone

protected abstract RemotePlaygroundFishingEffortZoneFullVO handleAddPlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
                                                                                         throws java.lang.Exception
Performs the core logic for addPlaygroundFishingEffortZone(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

Throws:
java.lang.Exception

updatePlaygroundFishingEffortZone

public void updatePlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
Specified by:
updatePlaygroundFishingEffortZone in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.updatePlaygroundFishingEffortZone(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

handleUpdatePlaygroundFishingEffortZone

protected abstract void handleUpdatePlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
                                                         throws java.lang.Exception
Performs the core logic for updatePlaygroundFishingEffortZone(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

Throws:
java.lang.Exception

removePlaygroundFishingEffortZone

public void removePlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
Specified by:
removePlaygroundFishingEffortZone in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.removePlaygroundFishingEffortZone(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

handleRemovePlaygroundFishingEffortZone

protected abstract void handleRemovePlaygroundFishingEffortZone(RemotePlaygroundFishingEffortZoneFullVO playgroundFishingEffortZone)
                                                         throws java.lang.Exception
Performs the core logic for removePlaygroundFishingEffortZone(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

Throws:
java.lang.Exception

getAllPlaygroundFishingEffortZone

public RemotePlaygroundFishingEffortZoneFullVO[] getAllPlaygroundFishingEffortZone()
Specified by:
getAllPlaygroundFishingEffortZone in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.getAllPlaygroundFishingEffortZone()

handleGetAllPlaygroundFishingEffortZone

protected abstract RemotePlaygroundFishingEffortZoneFullVO[] handleGetAllPlaygroundFishingEffortZone()
                                                                                              throws java.lang.Exception
Performs the core logic for getAllPlaygroundFishingEffortZone()

Throws:
java.lang.Exception

getPlaygroundFishingEffortZoneById

public RemotePlaygroundFishingEffortZoneFullVO getPlaygroundFishingEffortZoneById(java.lang.Integer id)
Specified by:
getPlaygroundFishingEffortZoneById in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.getPlaygroundFishingEffortZoneById(java.lang.Integer)

handleGetPlaygroundFishingEffortZoneById

protected abstract RemotePlaygroundFishingEffortZoneFullVO handleGetPlaygroundFishingEffortZoneById(java.lang.Integer id)
                                                                                             throws java.lang.Exception
Performs the core logic for getPlaygroundFishingEffortZoneById(java.lang.Integer)

Throws:
java.lang.Exception

getPlaygroundFishingEffortZoneByIds

public RemotePlaygroundFishingEffortZoneFullVO[] getPlaygroundFishingEffortZoneByIds(java.lang.Integer[] id)
Specified by:
getPlaygroundFishingEffortZoneByIds in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.getPlaygroundFishingEffortZoneByIds(java.lang.Integer[])

handleGetPlaygroundFishingEffortZoneByIds

protected abstract RemotePlaygroundFishingEffortZoneFullVO[] handleGetPlaygroundFishingEffortZoneByIds(java.lang.Integer[] id)
                                                                                                throws java.lang.Exception
Performs the core logic for getPlaygroundFishingEffortZoneByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getPlaygroundFishingEffortZoneByFishingTripId

public RemotePlaygroundFishingEffortZoneFullVO[] getPlaygroundFishingEffortZoneByFishingTripId(java.lang.Integer id)
Specified by:
getPlaygroundFishingEffortZoneByFishingTripId in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.getPlaygroundFishingEffortZoneByFishingTripId(java.lang.Integer)

handleGetPlaygroundFishingEffortZoneByFishingTripId

protected abstract RemotePlaygroundFishingEffortZoneFullVO[] handleGetPlaygroundFishingEffortZoneByFishingTripId(java.lang.Integer id)
                                                                                                          throws java.lang.Exception
Performs the core logic for getPlaygroundFishingEffortZoneByFishingTripId(java.lang.Integer)

Throws:
java.lang.Exception

getPlaygroundFishingEffortZoneByGearId

public RemotePlaygroundFishingEffortZoneFullVO[] getPlaygroundFishingEffortZoneByGearId(java.lang.Integer id)
Specified by:
getPlaygroundFishingEffortZoneByGearId in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.getPlaygroundFishingEffortZoneByGearId(java.lang.Integer)

handleGetPlaygroundFishingEffortZoneByGearId

protected abstract RemotePlaygroundFishingEffortZoneFullVO[] handleGetPlaygroundFishingEffortZoneByGearId(java.lang.Integer id)
                                                                                                   throws java.lang.Exception
Performs the core logic for getPlaygroundFishingEffortZoneByGearId(java.lang.Integer)

Throws:
java.lang.Exception

remotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers

public boolean remotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers(RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOFirst,
                                                                             RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOSecond)
Specified by:
remotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.remotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO, fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

handleRemotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers(RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOFirst,
                                                                                               RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOSecond)
                                                                                        throws java.lang.Exception
Performs the core logic for remotePlaygroundFishingEffortZoneFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO, fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

Throws:
java.lang.Exception

remotePlaygroundFishingEffortZoneFullVOsAreEqual

public boolean remotePlaygroundFishingEffortZoneFullVOsAreEqual(RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOFirst,
                                                                RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOSecond)
Specified by:
remotePlaygroundFishingEffortZoneFullVOsAreEqual in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.remotePlaygroundFishingEffortZoneFullVOsAreEqual(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO, fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

handleRemotePlaygroundFishingEffortZoneFullVOsAreEqual

protected abstract boolean handleRemotePlaygroundFishingEffortZoneFullVOsAreEqual(RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOFirst,
                                                                                  RemotePlaygroundFishingEffortZoneFullVO remotePlaygroundFishingEffortZoneFullVOSecond)
                                                                           throws java.lang.Exception
Performs the core logic for remotePlaygroundFishingEffortZoneFullVOsAreEqual(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO, fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneFullVO)

Throws:
java.lang.Exception

getPlaygroundFishingEffortZoneNaturalIds

public RemotePlaygroundFishingEffortZoneNaturalId[] getPlaygroundFishingEffortZoneNaturalIds()
Specified by:
getPlaygroundFishingEffortZoneNaturalIds in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.getPlaygroundFishingEffortZoneNaturalIds()

handleGetPlaygroundFishingEffortZoneNaturalIds

protected abstract RemotePlaygroundFishingEffortZoneNaturalId[] handleGetPlaygroundFishingEffortZoneNaturalIds()
                                                                                                        throws java.lang.Exception
Performs the core logic for getPlaygroundFishingEffortZoneNaturalIds()

Throws:
java.lang.Exception

getPlaygroundFishingEffortZoneByNaturalId

public RemotePlaygroundFishingEffortZoneFullVO getPlaygroundFishingEffortZoneByNaturalId(RemotePlaygroundFishingEffortZoneNaturalId playgroundFishingEffortZoneNaturalId)
Specified by:
getPlaygroundFishingEffortZoneByNaturalId in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.getPlaygroundFishingEffortZoneByNaturalId(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneNaturalId)

handleGetPlaygroundFishingEffortZoneByNaturalId

protected abstract RemotePlaygroundFishingEffortZoneFullVO handleGetPlaygroundFishingEffortZoneByNaturalId(RemotePlaygroundFishingEffortZoneNaturalId playgroundFishingEffortZoneNaturalId)
                                                                                                    throws java.lang.Exception
Performs the core logic for getPlaygroundFishingEffortZoneByNaturalId(fr.ifremer.allegro.playground.generic.vo.RemotePlaygroundFishingEffortZoneNaturalId)

Throws:
java.lang.Exception

getPlaygroundFishingEffortZoneNaturalIdById

public RemotePlaygroundFishingEffortZoneNaturalId getPlaygroundFishingEffortZoneNaturalIdById(java.lang.Integer id)
Specified by:
getPlaygroundFishingEffortZoneNaturalIdById in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.getPlaygroundFishingEffortZoneNaturalIdById(java.lang.Integer)

handleGetPlaygroundFishingEffortZoneNaturalIdById

protected abstract RemotePlaygroundFishingEffortZoneNaturalId handleGetPlaygroundFishingEffortZoneNaturalIdById(java.lang.Integer id)
                                                                                                         throws java.lang.Exception
Performs the core logic for getPlaygroundFishingEffortZoneNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getClusterPlaygroundFishingEffortZoneByIdentifiers

public ClusterPlaygroundFishingEffortZone getClusterPlaygroundFishingEffortZoneByIdentifiers(java.lang.Integer id)
Specified by:
getClusterPlaygroundFishingEffortZoneByIdentifiers in interface RemotePlaygroundFishingEffortZoneFullService
See Also:
RemotePlaygroundFishingEffortZoneFullService.getClusterPlaygroundFishingEffortZoneByIdentifiers(java.lang.Integer)

handleGetClusterPlaygroundFishingEffortZoneByIdentifiers

protected abstract ClusterPlaygroundFishingEffortZone handleGetClusterPlaygroundFishingEffortZoneByIdentifiers(java.lang.Integer id)
                                                                                                        throws java.lang.Exception
Performs the core logic for getClusterPlaygroundFishingEffortZoneByIdentifiers(java.lang.Integer)

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.