fr.ifremer.allegro.referential.transcribing.generic.service
Class RemoteTranscribingProgramFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.transcribing.generic.service.RemoteTranscribingProgramFullServiceBase
All Implemented Interfaces:
RemoteTranscribingProgramFullService
Direct Known Subclasses:
RemoteTranscribingProgramFullServiceImpl

public abstract class RemoteTranscribingProgramFullServiceBase
extends java.lang.Object
implements RemoteTranscribingProgramFullService

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

See Also:
RemoteTranscribingProgramFullService

Constructor Summary
RemoteTranscribingProgramFullServiceBase()
           
 
Method Summary
 ClusterTranscribingProgram addOrUpdateClusterTranscribingProgram(ClusterTranscribingProgram clusterTranscribingProgram)
           
 RemoteTranscribingProgramFullVO addTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
           
 ClusterTranscribingProgram[] getAllClusterTranscribingProgramSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteTranscribingProgramFullVO[] getAllTranscribingProgram()
           
 ClusterTranscribingProgram getClusterTranscribingProgramByIdentifiers(java.lang.Integer transcribingSystemId, java.lang.Integer transcribingSideId, java.lang.String programCode)
           
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  ProgramDao getProgramDao()
          Gets the reference to program's DAO.
 RemoteTranscribingProgramFullVO getTranscribingProgramByIdentifiers(java.lang.Integer transcribingSystemId, java.lang.Integer transcribingSideId, java.lang.String programCode)
           
 RemoteTranscribingProgramFullVO getTranscribingProgramByNaturalId(RemoteTranscribingProgramNaturalId transcribingProgramNaturalId)
           
 RemoteTranscribingProgramFullVO[] getTranscribingProgramByProgramCode(java.lang.String code)
           
 RemoteTranscribingProgramFullVO[] getTranscribingProgramByTranscribingSideId(java.lang.Integer id)
           
 RemoteTranscribingProgramFullVO[] getTranscribingProgramByTranscribingSystemId(java.lang.Integer id)
           
protected  TranscribingProgramDao getTranscribingProgramDao()
          Gets the reference to transcribingProgram's DAO.
 RemoteTranscribingProgramNaturalId[] getTranscribingProgramNaturalIds()
           
protected  TranscribingSideDao getTranscribingSideDao()
          Gets the reference to transcribingSide's DAO.
protected  TranscribingSystemDao getTranscribingSystemDao()
          Gets the reference to transcribingSystem's DAO.
protected abstract  ClusterTranscribingProgram handleAddOrUpdateClusterTranscribingProgram(ClusterTranscribingProgram clusterTranscribingProgram)
          Performs the core logic for addOrUpdateClusterTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingProgram)
protected abstract  RemoteTranscribingProgramFullVO handleAddTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
          Performs the core logic for addTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)
protected abstract  ClusterTranscribingProgram[] handleGetAllClusterTranscribingProgramSinceDateSynchro(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 getAllClusterTranscribingProgramSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteTranscribingProgramFullVO[] handleGetAllTranscribingProgram()
          Performs the core logic for getAllTranscribingProgram()
protected abstract  ClusterTranscribingProgram handleGetClusterTranscribingProgramByIdentifiers(java.lang.Integer transcribingSystemId, java.lang.Integer transcribingSideId, java.lang.String programCode)
          Performs the core logic for getClusterTranscribingProgramByIdentifiers(java.lang.Integer, java.lang.Integer, java.lang.String)
protected abstract  RemoteTranscribingProgramFullVO handleGetTranscribingProgramByIdentifiers(java.lang.Integer transcribingSystemId, java.lang.Integer transcribingSideId, java.lang.String programCode)
          Performs the core logic for getTranscribingProgramByIdentifiers(java.lang.Integer, java.lang.Integer, java.lang.String)
protected abstract  RemoteTranscribingProgramFullVO handleGetTranscribingProgramByNaturalId(RemoteTranscribingProgramNaturalId transcribingProgramNaturalId)
          Performs the core logic for getTranscribingProgramByNaturalId(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramNaturalId)
protected abstract  RemoteTranscribingProgramFullVO[] handleGetTranscribingProgramByProgramCode(java.lang.String code)
          Performs the core logic for getTranscribingProgramByProgramCode(java.lang.String)
protected abstract  RemoteTranscribingProgramFullVO[] handleGetTranscribingProgramByTranscribingSideId(java.lang.Integer id)
          Performs the core logic for getTranscribingProgramByTranscribingSideId(java.lang.Integer)
protected abstract  RemoteTranscribingProgramFullVO[] handleGetTranscribingProgramByTranscribingSystemId(java.lang.Integer id)
          Performs the core logic for getTranscribingProgramByTranscribingSystemId(java.lang.Integer)
protected abstract  RemoteTranscribingProgramNaturalId[] handleGetTranscribingProgramNaturalIds()
          Performs the core logic for getTranscribingProgramNaturalIds()
protected abstract  boolean handleRemoteTranscribingProgramFullVOsAreEqual(RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOFirst, RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOSecond)
          Performs the core logic for remoteTranscribingProgramFullVOsAreEqual(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO, fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)
protected abstract  boolean handleRemoteTranscribingProgramFullVOsAreEqualOnIdentifiers(RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOFirst, RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOSecond)
          Performs the core logic for remoteTranscribingProgramFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO, fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)
protected abstract  void handleRemoveTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
          Performs the core logic for removeTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)
protected abstract  void handleUpdateTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
          Performs the core logic for updateTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)
 boolean remoteTranscribingProgramFullVOsAreEqual(RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOFirst, RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOSecond)
           
 boolean remoteTranscribingProgramFullVOsAreEqualOnIdentifiers(RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOFirst, RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOSecond)
           
 void removeTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
           
 void setProgramDao(ProgramDao programDao)
          Sets the reference to program's DAO.
 void setTranscribingProgramDao(TranscribingProgramDao transcribingProgramDao)
          Sets the reference to transcribingProgram's DAO.
 void setTranscribingSideDao(TranscribingSideDao transcribingSideDao)
          Sets the reference to transcribingSide's DAO.
 void setTranscribingSystemDao(TranscribingSystemDao transcribingSystemDao)
          Sets the reference to transcribingSystem's DAO.
 void updateTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteTranscribingProgramFullServiceBase

public RemoteTranscribingProgramFullServiceBase()
Method Detail

setTranscribingProgramDao

public void setTranscribingProgramDao(TranscribingProgramDao transcribingProgramDao)
Sets the reference to transcribingProgram's DAO.


getTranscribingProgramDao

protected TranscribingProgramDao getTranscribingProgramDao()
Gets the reference to transcribingProgram's DAO.


setTranscribingSystemDao

public void setTranscribingSystemDao(TranscribingSystemDao transcribingSystemDao)
Sets the reference to transcribingSystem's DAO.


getTranscribingSystemDao

protected TranscribingSystemDao getTranscribingSystemDao()
Gets the reference to transcribingSystem's DAO.


setTranscribingSideDao

public void setTranscribingSideDao(TranscribingSideDao transcribingSideDao)
Sets the reference to transcribingSide's DAO.


getTranscribingSideDao

protected TranscribingSideDao getTranscribingSideDao()
Gets the reference to transcribingSide'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.


addTranscribingProgram

public RemoteTranscribingProgramFullVO addTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
Specified by:
addTranscribingProgram in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.addTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

handleAddTranscribingProgram

protected abstract RemoteTranscribingProgramFullVO handleAddTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
                                                                         throws java.lang.Exception
Performs the core logic for addTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

Throws:
java.lang.Exception

updateTranscribingProgram

public void updateTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
Specified by:
updateTranscribingProgram in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.updateTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

handleUpdateTranscribingProgram

protected abstract void handleUpdateTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
                                                 throws java.lang.Exception
Performs the core logic for updateTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

Throws:
java.lang.Exception

removeTranscribingProgram

public void removeTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
Specified by:
removeTranscribingProgram in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.removeTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

handleRemoveTranscribingProgram

protected abstract void handleRemoveTranscribingProgram(RemoteTranscribingProgramFullVO transcribingProgram)
                                                 throws java.lang.Exception
Performs the core logic for removeTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

Throws:
java.lang.Exception

getAllTranscribingProgram

public RemoteTranscribingProgramFullVO[] getAllTranscribingProgram()
Specified by:
getAllTranscribingProgram in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.getAllTranscribingProgram()

handleGetAllTranscribingProgram

protected abstract RemoteTranscribingProgramFullVO[] handleGetAllTranscribingProgram()
                                                                              throws java.lang.Exception
Performs the core logic for getAllTranscribingProgram()

Throws:
java.lang.Exception

getTranscribingProgramByTranscribingSystemId

public RemoteTranscribingProgramFullVO[] getTranscribingProgramByTranscribingSystemId(java.lang.Integer id)
Specified by:
getTranscribingProgramByTranscribingSystemId in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.getTranscribingProgramByTranscribingSystemId(java.lang.Integer)

handleGetTranscribingProgramByTranscribingSystemId

protected abstract RemoteTranscribingProgramFullVO[] handleGetTranscribingProgramByTranscribingSystemId(java.lang.Integer id)
                                                                                                 throws java.lang.Exception
Performs the core logic for getTranscribingProgramByTranscribingSystemId(java.lang.Integer)

Throws:
java.lang.Exception

getTranscribingProgramByTranscribingSideId

public RemoteTranscribingProgramFullVO[] getTranscribingProgramByTranscribingSideId(java.lang.Integer id)
Specified by:
getTranscribingProgramByTranscribingSideId in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.getTranscribingProgramByTranscribingSideId(java.lang.Integer)

handleGetTranscribingProgramByTranscribingSideId

protected abstract RemoteTranscribingProgramFullVO[] handleGetTranscribingProgramByTranscribingSideId(java.lang.Integer id)
                                                                                               throws java.lang.Exception
Performs the core logic for getTranscribingProgramByTranscribingSideId(java.lang.Integer)

Throws:
java.lang.Exception

getTranscribingProgramByProgramCode

public RemoteTranscribingProgramFullVO[] getTranscribingProgramByProgramCode(java.lang.String code)
Specified by:
getTranscribingProgramByProgramCode in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.getTranscribingProgramByProgramCode(java.lang.String)

handleGetTranscribingProgramByProgramCode

protected abstract RemoteTranscribingProgramFullVO[] handleGetTranscribingProgramByProgramCode(java.lang.String code)
                                                                                        throws java.lang.Exception
Performs the core logic for getTranscribingProgramByProgramCode(java.lang.String)

Throws:
java.lang.Exception

getTranscribingProgramByIdentifiers

public RemoteTranscribingProgramFullVO getTranscribingProgramByIdentifiers(java.lang.Integer transcribingSystemId,
                                                                           java.lang.Integer transcribingSideId,
                                                                           java.lang.String programCode)
Specified by:
getTranscribingProgramByIdentifiers in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.getTranscribingProgramByIdentifiers(java.lang.Integer, java.lang.Integer, java.lang.String)

handleGetTranscribingProgramByIdentifiers

protected abstract RemoteTranscribingProgramFullVO handleGetTranscribingProgramByIdentifiers(java.lang.Integer transcribingSystemId,
                                                                                             java.lang.Integer transcribingSideId,
                                                                                             java.lang.String programCode)
                                                                                      throws java.lang.Exception
Performs the core logic for getTranscribingProgramByIdentifiers(java.lang.Integer, java.lang.Integer, java.lang.String)

Throws:
java.lang.Exception

remoteTranscribingProgramFullVOsAreEqualOnIdentifiers

public boolean remoteTranscribingProgramFullVOsAreEqualOnIdentifiers(RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOFirst,
                                                                     RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOSecond)
Specified by:
remoteTranscribingProgramFullVOsAreEqualOnIdentifiers in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.remoteTranscribingProgramFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO, fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

handleRemoteTranscribingProgramFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteTranscribingProgramFullVOsAreEqualOnIdentifiers(RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOFirst,
                                                                                       RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOSecond)
                                                                                throws java.lang.Exception
Performs the core logic for remoteTranscribingProgramFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO, fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

Throws:
java.lang.Exception

remoteTranscribingProgramFullVOsAreEqual

public boolean remoteTranscribingProgramFullVOsAreEqual(RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOFirst,
                                                        RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOSecond)
Specified by:
remoteTranscribingProgramFullVOsAreEqual in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.remoteTranscribingProgramFullVOsAreEqual(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO, fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

handleRemoteTranscribingProgramFullVOsAreEqual

protected abstract boolean handleRemoteTranscribingProgramFullVOsAreEqual(RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOFirst,
                                                                          RemoteTranscribingProgramFullVO remoteTranscribingProgramFullVOSecond)
                                                                   throws java.lang.Exception
Performs the core logic for remoteTranscribingProgramFullVOsAreEqual(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO, fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramFullVO)

Throws:
java.lang.Exception

getTranscribingProgramNaturalIds

public RemoteTranscribingProgramNaturalId[] getTranscribingProgramNaturalIds()
Specified by:
getTranscribingProgramNaturalIds in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.getTranscribingProgramNaturalIds()

handleGetTranscribingProgramNaturalIds

protected abstract RemoteTranscribingProgramNaturalId[] handleGetTranscribingProgramNaturalIds()
                                                                                        throws java.lang.Exception
Performs the core logic for getTranscribingProgramNaturalIds()

Throws:
java.lang.Exception

getTranscribingProgramByNaturalId

public RemoteTranscribingProgramFullVO getTranscribingProgramByNaturalId(RemoteTranscribingProgramNaturalId transcribingProgramNaturalId)
Specified by:
getTranscribingProgramByNaturalId in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.getTranscribingProgramByNaturalId(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramNaturalId)

handleGetTranscribingProgramByNaturalId

protected abstract RemoteTranscribingProgramFullVO handleGetTranscribingProgramByNaturalId(RemoteTranscribingProgramNaturalId transcribingProgramNaturalId)
                                                                                    throws java.lang.Exception
Performs the core logic for getTranscribingProgramByNaturalId(fr.ifremer.allegro.referential.transcribing.generic.vo.RemoteTranscribingProgramNaturalId)

Throws:
java.lang.Exception

addOrUpdateClusterTranscribingProgram

public ClusterTranscribingProgram addOrUpdateClusterTranscribingProgram(ClusterTranscribingProgram clusterTranscribingProgram)
Specified by:
addOrUpdateClusterTranscribingProgram in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.addOrUpdateClusterTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingProgram)

handleAddOrUpdateClusterTranscribingProgram

protected abstract ClusterTranscribingProgram handleAddOrUpdateClusterTranscribingProgram(ClusterTranscribingProgram clusterTranscribingProgram)
                                                                                   throws java.lang.Exception
Performs the core logic for addOrUpdateClusterTranscribingProgram(fr.ifremer.allegro.referential.transcribing.generic.cluster.ClusterTranscribingProgram)

Throws:
java.lang.Exception

getAllClusterTranscribingProgramSinceDateSynchro

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

handleGetAllClusterTranscribingProgramSinceDateSynchro

protected abstract ClusterTranscribingProgram[] handleGetAllClusterTranscribingProgramSinceDateSynchro(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 getAllClusterTranscribingProgramSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterTranscribingProgramByIdentifiers

public ClusterTranscribingProgram getClusterTranscribingProgramByIdentifiers(java.lang.Integer transcribingSystemId,
                                                                             java.lang.Integer transcribingSideId,
                                                                             java.lang.String programCode)
Specified by:
getClusterTranscribingProgramByIdentifiers in interface RemoteTranscribingProgramFullService
See Also:
RemoteTranscribingProgramFullService.getClusterTranscribingProgramByIdentifiers(java.lang.Integer, java.lang.Integer, java.lang.String)

handleGetClusterTranscribingProgramByIdentifiers

protected abstract ClusterTranscribingProgram handleGetClusterTranscribingProgramByIdentifiers(java.lang.Integer transcribingSystemId,
                                                                                               java.lang.Integer transcribingSideId,
                                                                                               java.lang.String programCode)
                                                                                        throws java.lang.Exception
Performs the core logic for getClusterTranscribingProgramByIdentifiers(java.lang.Integer, 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.