|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.data.specific.service.RemoteSynchronizationFullServiceBase
public abstract class RemoteSynchronizationFullServiceBase
Spring Service base class for fr.ifremer.allegro.data.specific.service.RemoteSynchronizationFullService
,
provides access to all services and entities referenced by this service.
RemoteSynchronizationFullService
Constructor Summary | |
---|---|
RemoteSynchronizationFullServiceBase()
|
Method Summary | |
---|---|
java.sql.Timestamp |
getCurrentDateTime()
|
protected DataSynchronizationDao |
getDataSynchronizationDao()
Gets the reference to dataSynchronization '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 abstract java.sql.Timestamp |
handleGetCurrentDateTime()
Performs the core logic for getCurrentDateTime() |
void |
setDataSynchronizationDao(DataSynchronizationDao dataSynchronizationDao)
Sets the reference to dataSynchronization 's DAO. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteSynchronizationFullServiceBase()
Method Detail |
---|
public void setDataSynchronizationDao(DataSynchronizationDao dataSynchronizationDao)
dataSynchronization
's DAO.
protected DataSynchronizationDao getDataSynchronizationDao()
dataSynchronization
's DAO.
public java.sql.Timestamp getCurrentDateTime()
getCurrentDateTime
in interface RemoteSynchronizationFullService
RemoteSynchronizationFullService.getCurrentDateTime()
protected abstract java.sql.Timestamp handleGetCurrentDateTime() throws java.lang.Exception
getCurrentDateTime()
java.lang.Exception
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
protected org.springframework.context.MessageSource getMessages()
protected java.lang.String getMessage(java.lang.String key)
key
in the underlying message bundle.
key
- the key of the message in the messages.properties message bundle.protected java.lang.String getMessage(java.lang.String key, java.lang.Object[] arguments)
key
and arguments
in the
underlying message bundle.
key
- the key of the message in the messages.properties message bundle.arguments
- any arguments to substitute when resolving the message.protected java.lang.String getMessage(java.lang.String key, java.lang.Object[] arguments, java.util.Locale locale)
key
using the given arguments
for the given locale
.
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |