|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.data.specific.service.RemoteConnectionFullServiceBase
public abstract class RemoteConnectionFullServiceBase
Spring Service base class for fr.ifremer.allegro.data.specific.service.RemoteConnectionFullService
,
provides access to all services and entities referenced by this service.
RemoteConnectionFullService
Constructor Summary | |
---|---|
RemoteConnectionFullServiceBase()
|
Method Summary | |
---|---|
RemoteConnectionFullVO |
bindLdap(java.lang.String login,
java.lang.String password)
|
protected DepartmentDao |
getDepartmentDao()
Gets the reference to department '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 StatusDao |
getStatusDao()
Gets the reference to status 's DAO. |
protected UserDao |
getUserDao()
Gets the reference to user 's DAO. |
protected UserProfilDao |
getUserProfilDao()
Gets the reference to userProfil 's DAO. |
protected abstract RemoteConnectionFullVO |
handleBindLdap(java.lang.String login,
java.lang.String password)
Performs the core logic for bindLdap(java.lang.String, java.lang.String) |
void |
setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to department 's DAO. |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to status 's DAO. |
void |
setUserDao(UserDao userDao)
Sets the reference to user 's DAO. |
void |
setUserProfilDao(UserProfilDao userProfilDao)
Sets the reference to userProfil 's DAO. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteConnectionFullServiceBase()
Method Detail |
---|
public void setUserProfilDao(UserProfilDao userProfilDao)
userProfil
's DAO.
protected UserProfilDao getUserProfilDao()
userProfil
's DAO.
public void setUserDao(UserDao userDao)
user
's DAO.
protected UserDao getUserDao()
user
's DAO.
public void setDepartmentDao(DepartmentDao departmentDao)
department
's DAO.
protected DepartmentDao getDepartmentDao()
department
's DAO.
public void setStatusDao(StatusDao statusDao)
status
's DAO.
protected StatusDao getStatusDao()
status
's DAO.
public RemoteConnectionFullVO bindLdap(java.lang.String login, java.lang.String password)
bindLdap
in interface RemoteConnectionFullService
RemoteConnectionFullService.bindLdap(java.lang.String, java.lang.String)
protected abstract RemoteConnectionFullVO handleBindLdap(java.lang.String login, java.lang.String password) throws java.lang.Exception
bindLdap(java.lang.String, java.lang.String)
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 All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |