fr.ifremer.allegro.data.batch.generic.service
Class RemoteSortingBatchFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.batch.generic.service.RemoteSortingBatchFullServiceBase
All Implemented Interfaces:
RemoteSortingBatchFullService
Direct Known Subclasses:
RemoteSortingBatchFullServiceImpl

public abstract class RemoteSortingBatchFullServiceBase
extends java.lang.Object
implements RemoteSortingBatchFullService

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

See Also:
RemoteSortingBatchFullService

Constructor Summary
RemoteSortingBatchFullServiceBase()
           
 
Method Summary
 ClusterSortingBatch addOrUpdateClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
           
 RemoteSortingBatchFullVO addSortingBatch(RemoteSortingBatchFullVO sortingBatch)
           
 ClusterSortingBatch[] getAllClusterSortingBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteSortingBatchFullVO[] getAllSortingBatch()
           
protected  BatchDao getBatchDao()
          Gets the reference to batch's DAO.
 ClusterSortingBatch getClusterSortingBatchByIdentifiers(java.lang.Integer id)
           
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  ProduceDao getProduceDao()
          Gets the reference to produce's DAO.
protected  QuantificationMeasurementDao getQuantificationMeasurementDao()
          Gets the reference to quantificationMeasurement's DAO.
protected  ReferenceTaxonDao getReferenceTaxonDao()
          Gets the reference to referenceTaxon's DAO.
 RemoteSortingBatchFullVO getSortingBatchById(java.lang.Integer id)
           
 RemoteSortingBatchFullVO[] getSortingBatchByIds(java.lang.Integer[] id)
           
 RemoteSortingBatchFullVO getSortingBatchByNaturalId(RemoteSortingBatchNaturalId sortingBatchNaturalId)
           
 RemoteSortingBatchFullVO[] getSortingBatchByParentBatchId(java.lang.Integer id)
           
 RemoteSortingBatchFullVO[] getSortingBatchByReferenceTaxonId(java.lang.Integer id)
           
 RemoteSortingBatchFullVO[] getSortingBatchByTaxonGroupId(java.lang.Integer id)
           
protected  SortingBatchDao getSortingBatchDao()
          Gets the reference to sortingBatch's DAO.
 RemoteSortingBatchNaturalId getSortingBatchNaturalIdById(java.lang.Integer id)
           
 RemoteSortingBatchNaturalId[] getSortingBatchNaturalIds()
           
protected  SortingMeasurementDao getSortingMeasurementDao()
          Gets the reference to sortingMeasurement's DAO.
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroup's DAO.
protected abstract  ClusterSortingBatch handleAddOrUpdateClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
          Performs the core logic for addOrUpdateClusterSortingBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)
protected abstract  RemoteSortingBatchFullVO handleAddSortingBatch(RemoteSortingBatchFullVO sortingBatch)
          Performs the core logic for addSortingBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)
protected abstract  ClusterSortingBatch[] handleGetAllClusterSortingBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterSortingBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteSortingBatchFullVO[] handleGetAllSortingBatch()
          Performs the core logic for getAllSortingBatch()
protected abstract  ClusterSortingBatch handleGetClusterSortingBatchByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterSortingBatchByIdentifiers(java.lang.Integer)
protected abstract  RemoteSortingBatchFullVO handleGetSortingBatchById(java.lang.Integer id)
          Performs the core logic for getSortingBatchById(java.lang.Integer)
protected abstract  RemoteSortingBatchFullVO[] handleGetSortingBatchByIds(java.lang.Integer[] id)
          Performs the core logic for getSortingBatchByIds(java.lang.Integer[])
protected abstract  RemoteSortingBatchFullVO handleGetSortingBatchByNaturalId(RemoteSortingBatchNaturalId sortingBatchNaturalId)
          Performs the core logic for getSortingBatchByNaturalId(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchNaturalId)
protected abstract  RemoteSortingBatchFullVO[] handleGetSortingBatchByParentBatchId(java.lang.Integer id)
          Performs the core logic for getSortingBatchByParentBatchId(java.lang.Integer)
protected abstract  RemoteSortingBatchFullVO[] handleGetSortingBatchByReferenceTaxonId(java.lang.Integer id)
          Performs the core logic for getSortingBatchByReferenceTaxonId(java.lang.Integer)
protected abstract  RemoteSortingBatchFullVO[] handleGetSortingBatchByTaxonGroupId(java.lang.Integer id)
          Performs the core logic for getSortingBatchByTaxonGroupId(java.lang.Integer)
protected abstract  RemoteSortingBatchNaturalId handleGetSortingBatchNaturalIdById(java.lang.Integer id)
          Performs the core logic for getSortingBatchNaturalIdById(java.lang.Integer)
protected abstract  RemoteSortingBatchNaturalId[] handleGetSortingBatchNaturalIds()
          Performs the core logic for getSortingBatchNaturalIds()
protected abstract  boolean handleRemoteSortingBatchFullVOsAreEqual(RemoteSortingBatchFullVO remoteSortingBatchFullVOFirst, RemoteSortingBatchFullVO remoteSortingBatchFullVOSecond)
          Performs the core logic for remoteSortingBatchFullVOsAreEqual(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)
protected abstract  boolean handleRemoteSortingBatchFullVOsAreEqualOnIdentifiers(RemoteSortingBatchFullVO remoteSortingBatchFullVOFirst, RemoteSortingBatchFullVO remoteSortingBatchFullVOSecond)
          Performs the core logic for remoteSortingBatchFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)
protected abstract  void handleRemoveSortingBatch(RemoteSortingBatchFullVO sortingBatch)
          Performs the core logic for removeSortingBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)
protected abstract  void handleUpdateSortingBatch(RemoteSortingBatchFullVO sortingBatch)
          Performs the core logic for updateSortingBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)
 boolean remoteSortingBatchFullVOsAreEqual(RemoteSortingBatchFullVO remoteSortingBatchFullVOFirst, RemoteSortingBatchFullVO remoteSortingBatchFullVOSecond)
           
 boolean remoteSortingBatchFullVOsAreEqualOnIdentifiers(RemoteSortingBatchFullVO remoteSortingBatchFullVOFirst, RemoteSortingBatchFullVO remoteSortingBatchFullVOSecond)
           
 void removeSortingBatch(RemoteSortingBatchFullVO sortingBatch)
           
 void setBatchDao(BatchDao batchDao)
          Sets the reference to batch's DAO.
 void setProduceDao(ProduceDao produceDao)
          Sets the reference to produce's DAO.
 void setQuantificationMeasurementDao(QuantificationMeasurementDao quantificationMeasurementDao)
          Sets the reference to quantificationMeasurement's DAO.
 void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
          Sets the reference to referenceTaxon's DAO.
 void setSortingBatchDao(SortingBatchDao sortingBatchDao)
          Sets the reference to sortingBatch's DAO.
 void setSortingMeasurementDao(SortingMeasurementDao sortingMeasurementDao)
          Sets the reference to sortingMeasurement's DAO.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroup's DAO.
 void updateSortingBatch(RemoteSortingBatchFullVO sortingBatch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteSortingBatchFullServiceBase

public RemoteSortingBatchFullServiceBase()
Method Detail

setSortingBatchDao

public void setSortingBatchDao(SortingBatchDao sortingBatchDao)
Sets the reference to sortingBatch's DAO.


getSortingBatchDao

protected SortingBatchDao getSortingBatchDao()
Gets the reference to sortingBatch's DAO.


setSortingMeasurementDao

public void setSortingMeasurementDao(SortingMeasurementDao sortingMeasurementDao)
Sets the reference to sortingMeasurement's DAO.


getSortingMeasurementDao

protected SortingMeasurementDao getSortingMeasurementDao()
Gets the reference to sortingMeasurement's DAO.


setTaxonGroupDao

public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroup's DAO.


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroup's DAO.


setReferenceTaxonDao

public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxon's DAO.


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxon's DAO.


setQuantificationMeasurementDao

public void setQuantificationMeasurementDao(QuantificationMeasurementDao quantificationMeasurementDao)
Sets the reference to quantificationMeasurement's DAO.


getQuantificationMeasurementDao

protected QuantificationMeasurementDao getQuantificationMeasurementDao()
Gets the reference to quantificationMeasurement's DAO.


setBatchDao

public void setBatchDao(BatchDao batchDao)
Sets the reference to batch's DAO.


getBatchDao

protected BatchDao getBatchDao()
Gets the reference to batch's DAO.


setProduceDao

public void setProduceDao(ProduceDao produceDao)
Sets the reference to produce's DAO.


getProduceDao

protected ProduceDao getProduceDao()
Gets the reference to produce's DAO.


addSortingBatch

public RemoteSortingBatchFullVO addSortingBatch(RemoteSortingBatchFullVO sortingBatch)
Specified by:
addSortingBatch in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.addSortingBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

handleAddSortingBatch

protected abstract RemoteSortingBatchFullVO handleAddSortingBatch(RemoteSortingBatchFullVO sortingBatch)
                                                           throws java.lang.Exception
Performs the core logic for addSortingBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

Throws:
java.lang.Exception

updateSortingBatch

public void updateSortingBatch(RemoteSortingBatchFullVO sortingBatch)
Specified by:
updateSortingBatch in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.updateSortingBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

handleUpdateSortingBatch

protected abstract void handleUpdateSortingBatch(RemoteSortingBatchFullVO sortingBatch)
                                          throws java.lang.Exception
Performs the core logic for updateSortingBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

Throws:
java.lang.Exception

removeSortingBatch

public void removeSortingBatch(RemoteSortingBatchFullVO sortingBatch)
Specified by:
removeSortingBatch in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.removeSortingBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

handleRemoveSortingBatch

protected abstract void handleRemoveSortingBatch(RemoteSortingBatchFullVO sortingBatch)
                                          throws java.lang.Exception
Performs the core logic for removeSortingBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

Throws:
java.lang.Exception

getAllSortingBatch

public RemoteSortingBatchFullVO[] getAllSortingBatch()
Specified by:
getAllSortingBatch in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getAllSortingBatch()

handleGetAllSortingBatch

protected abstract RemoteSortingBatchFullVO[] handleGetAllSortingBatch()
                                                                throws java.lang.Exception
Performs the core logic for getAllSortingBatch()

Throws:
java.lang.Exception

getSortingBatchById

public RemoteSortingBatchFullVO getSortingBatchById(java.lang.Integer id)
Specified by:
getSortingBatchById in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getSortingBatchById(java.lang.Integer)

handleGetSortingBatchById

protected abstract RemoteSortingBatchFullVO handleGetSortingBatchById(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getSortingBatchById(java.lang.Integer)

Throws:
java.lang.Exception

getSortingBatchByIds

public RemoteSortingBatchFullVO[] getSortingBatchByIds(java.lang.Integer[] id)
Specified by:
getSortingBatchByIds in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getSortingBatchByIds(java.lang.Integer[])

handleGetSortingBatchByIds

protected abstract RemoteSortingBatchFullVO[] handleGetSortingBatchByIds(java.lang.Integer[] id)
                                                                  throws java.lang.Exception
Performs the core logic for getSortingBatchByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getSortingBatchByTaxonGroupId

public RemoteSortingBatchFullVO[] getSortingBatchByTaxonGroupId(java.lang.Integer id)
Specified by:
getSortingBatchByTaxonGroupId in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getSortingBatchByTaxonGroupId(java.lang.Integer)

handleGetSortingBatchByTaxonGroupId

protected abstract RemoteSortingBatchFullVO[] handleGetSortingBatchByTaxonGroupId(java.lang.Integer id)
                                                                           throws java.lang.Exception
Performs the core logic for getSortingBatchByTaxonGroupId(java.lang.Integer)

Throws:
java.lang.Exception

getSortingBatchByReferenceTaxonId

public RemoteSortingBatchFullVO[] getSortingBatchByReferenceTaxonId(java.lang.Integer id)
Specified by:
getSortingBatchByReferenceTaxonId in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getSortingBatchByReferenceTaxonId(java.lang.Integer)

handleGetSortingBatchByReferenceTaxonId

protected abstract RemoteSortingBatchFullVO[] handleGetSortingBatchByReferenceTaxonId(java.lang.Integer id)
                                                                               throws java.lang.Exception
Performs the core logic for getSortingBatchByReferenceTaxonId(java.lang.Integer)

Throws:
java.lang.Exception

getSortingBatchByParentBatchId

public RemoteSortingBatchFullVO[] getSortingBatchByParentBatchId(java.lang.Integer id)
Specified by:
getSortingBatchByParentBatchId in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getSortingBatchByParentBatchId(java.lang.Integer)

handleGetSortingBatchByParentBatchId

protected abstract RemoteSortingBatchFullVO[] handleGetSortingBatchByParentBatchId(java.lang.Integer id)
                                                                            throws java.lang.Exception
Performs the core logic for getSortingBatchByParentBatchId(java.lang.Integer)

Throws:
java.lang.Exception

remoteSortingBatchFullVOsAreEqualOnIdentifiers

public boolean remoteSortingBatchFullVOsAreEqualOnIdentifiers(RemoteSortingBatchFullVO remoteSortingBatchFullVOFirst,
                                                              RemoteSortingBatchFullVO remoteSortingBatchFullVOSecond)
Specified by:
remoteSortingBatchFullVOsAreEqualOnIdentifiers in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.remoteSortingBatchFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

handleRemoteSortingBatchFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteSortingBatchFullVOsAreEqualOnIdentifiers(RemoteSortingBatchFullVO remoteSortingBatchFullVOFirst,
                                                                                RemoteSortingBatchFullVO remoteSortingBatchFullVOSecond)
                                                                         throws java.lang.Exception
Performs the core logic for remoteSortingBatchFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

Throws:
java.lang.Exception

remoteSortingBatchFullVOsAreEqual

public boolean remoteSortingBatchFullVOsAreEqual(RemoteSortingBatchFullVO remoteSortingBatchFullVOFirst,
                                                 RemoteSortingBatchFullVO remoteSortingBatchFullVOSecond)
Specified by:
remoteSortingBatchFullVOsAreEqual in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.remoteSortingBatchFullVOsAreEqual(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

handleRemoteSortingBatchFullVOsAreEqual

protected abstract boolean handleRemoteSortingBatchFullVOsAreEqual(RemoteSortingBatchFullVO remoteSortingBatchFullVOFirst,
                                                                   RemoteSortingBatchFullVO remoteSortingBatchFullVOSecond)
                                                            throws java.lang.Exception
Performs the core logic for remoteSortingBatchFullVOsAreEqual(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

Throws:
java.lang.Exception

getSortingBatchNaturalIds

public RemoteSortingBatchNaturalId[] getSortingBatchNaturalIds()
Specified by:
getSortingBatchNaturalIds in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getSortingBatchNaturalIds()

handleGetSortingBatchNaturalIds

protected abstract RemoteSortingBatchNaturalId[] handleGetSortingBatchNaturalIds()
                                                                          throws java.lang.Exception
Performs the core logic for getSortingBatchNaturalIds()

Throws:
java.lang.Exception

getSortingBatchByNaturalId

public RemoteSortingBatchFullVO getSortingBatchByNaturalId(RemoteSortingBatchNaturalId sortingBatchNaturalId)
Specified by:
getSortingBatchByNaturalId in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getSortingBatchByNaturalId(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchNaturalId)

handleGetSortingBatchByNaturalId

protected abstract RemoteSortingBatchFullVO handleGetSortingBatchByNaturalId(RemoteSortingBatchNaturalId sortingBatchNaturalId)
                                                                      throws java.lang.Exception
Performs the core logic for getSortingBatchByNaturalId(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchNaturalId)

Throws:
java.lang.Exception

getSortingBatchNaturalIdById

public RemoteSortingBatchNaturalId getSortingBatchNaturalIdById(java.lang.Integer id)
Specified by:
getSortingBatchNaturalIdById in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getSortingBatchNaturalIdById(java.lang.Integer)

handleGetSortingBatchNaturalIdById

protected abstract RemoteSortingBatchNaturalId handleGetSortingBatchNaturalIdById(java.lang.Integer id)
                                                                           throws java.lang.Exception
Performs the core logic for getSortingBatchNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getAllClusterSortingBatch

public ClusterSortingBatch[] getAllClusterSortingBatch(java.lang.Integer userId,
                                                       java.lang.Integer[] registrationLocationIds,
                                                       java.lang.Integer pageNumber,
                                                       java.lang.Integer pageSize)
Specified by:
getAllClusterSortingBatch in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getAllClusterSortingBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterSortingBatch

protected abstract ClusterSortingBatch[] handleGetAllClusterSortingBatch(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 getAllClusterSortingBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterSortingBatchByIdentifiers

public ClusterSortingBatch getClusterSortingBatchByIdentifiers(java.lang.Integer id)
Specified by:
getClusterSortingBatchByIdentifiers in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.getClusterSortingBatchByIdentifiers(java.lang.Integer)

handleGetClusterSortingBatchByIdentifiers

protected abstract ClusterSortingBatch handleGetClusterSortingBatchByIdentifiers(java.lang.Integer id)
                                                                          throws java.lang.Exception
Performs the core logic for getClusterSortingBatchByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterSortingBatch

public ClusterSortingBatch addOrUpdateClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
Specified by:
addOrUpdateClusterSortingBatch in interface RemoteSortingBatchFullService
See Also:
RemoteSortingBatchFullService.addOrUpdateClusterSortingBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)

handleAddOrUpdateClusterSortingBatch

protected abstract ClusterSortingBatch handleAddOrUpdateClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
                                                                     throws java.lang.Exception
Performs the core logic for addOrUpdateClusterSortingBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)

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.