fr.ifremer.allegro.administration.user.generic.service
Class RemoteUserFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.administration.user.generic.service.RemoteUserFullServiceBase
All Implemented Interfaces:
RemoteUserFullService
Direct Known Subclasses:
RemoteUserFullServiceImpl

public abstract class RemoteUserFullServiceBase
extends java.lang.Object
implements RemoteUserFullService

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

See Also:
RemoteUserFullService

Constructor Summary
RemoteUserFullServiceBase()
           
 
Method Summary
 ClusterUser addOrUpdateClusterUser(ClusterUser clusterUser)
           
 RemoteUserFullVO addUser(RemoteUserFullVO user)
           
protected  AgeReaderQualificationDao getAgeReaderQualificationDao()
          Gets the reference to ageReaderQualification's DAO.
 ClusterUser[] getAllClusterUserSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteUserFullVO[] getAllUser()
           
 ClusterUser getClusterUserByIdentifiers(java.lang.Integer id)
           
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  Program2PersonDao getProgram2PersonDao()
          Gets the reference to program2Person's DAO.
protected  StatusDao getStatusDao()
          Gets the reference to status's DAO.
 RemoteUserFullVO[] getUserByDepartmentId(java.lang.Integer id)
           
 RemoteUserFullVO getUserById(java.lang.Integer id)
           
 RemoteUserFullVO[] getUserByIds(java.lang.Integer[] id)
           
 RemoteUserFullVO getUserByNaturalId(RemoteUserNaturalId userNaturalId)
           
 RemoteUserFullVO[] getUserByStatusCode(java.lang.String code)
           
protected  UserDao getUserDao()
          Gets the reference to user's DAO.
 RemoteUserNaturalId getUserNaturalIdById(java.lang.Integer id)
           
 RemoteUserNaturalId[] getUserNaturalIds()
           
protected  UserProfilDao getUserProfilDao()
          Gets the reference to userProfil's DAO.
protected abstract  ClusterUser handleAddOrUpdateClusterUser(ClusterUser clusterUser)
          Performs the core logic for addOrUpdateClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)
protected abstract  RemoteUserFullVO handleAddUser(RemoteUserFullVO user)
          Performs the core logic for addUser(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)
protected abstract  ClusterUser[] handleGetAllClusterUserSinceDateSynchro(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 getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteUserFullVO[] handleGetAllUser()
          Performs the core logic for getAllUser()
protected abstract  ClusterUser handleGetClusterUserByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterUserByIdentifiers(java.lang.Integer)
protected abstract  RemoteUserFullVO[] handleGetUserByDepartmentId(java.lang.Integer id)
          Performs the core logic for getUserByDepartmentId(java.lang.Integer)
protected abstract  RemoteUserFullVO handleGetUserById(java.lang.Integer id)
          Performs the core logic for getUserById(java.lang.Integer)
protected abstract  RemoteUserFullVO[] handleGetUserByIds(java.lang.Integer[] id)
          Performs the core logic for getUserByIds(java.lang.Integer[])
protected abstract  RemoteUserFullVO handleGetUserByNaturalId(RemoteUserNaturalId userNaturalId)
          Performs the core logic for getUserByNaturalId(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId)
protected abstract  RemoteUserFullVO[] handleGetUserByStatusCode(java.lang.String code)
          Performs the core logic for getUserByStatusCode(java.lang.String)
protected abstract  RemoteUserNaturalId handleGetUserNaturalIdById(java.lang.Integer id)
          Performs the core logic for getUserNaturalIdById(java.lang.Integer)
protected abstract  RemoteUserNaturalId[] handleGetUserNaturalIds()
          Performs the core logic for getUserNaturalIds()
protected abstract  boolean handleRemoteUserFullVOsAreEqual(RemoteUserFullVO remoteUserFullVOFirst, RemoteUserFullVO remoteUserFullVOSecond)
          Performs the core logic for remoteUserFullVOsAreEqual(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)
protected abstract  boolean handleRemoteUserFullVOsAreEqualOnIdentifiers(RemoteUserFullVO remoteUserFullVOFirst, RemoteUserFullVO remoteUserFullVOSecond)
          Performs the core logic for remoteUserFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)
protected abstract  void handleRemoveUser(RemoteUserFullVO user)
          Performs the core logic for removeUser(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)
protected abstract  void handleUpdateUser(RemoteUserFullVO user)
          Performs the core logic for updateUser(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)
 boolean remoteUserFullVOsAreEqual(RemoteUserFullVO remoteUserFullVOFirst, RemoteUserFullVO remoteUserFullVOSecond)
           
 boolean remoteUserFullVOsAreEqualOnIdentifiers(RemoteUserFullVO remoteUserFullVOFirst, RemoteUserFullVO remoteUserFullVOSecond)
           
 void removeUser(RemoteUserFullVO user)
           
 void setAgeReaderQualificationDao(AgeReaderQualificationDao ageReaderQualificationDao)
          Sets the reference to ageReaderQualification's DAO.
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to department's DAO.
 void setProgram2PersonDao(Program2PersonDao program2PersonDao)
          Sets the reference to program2Person'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.
 void updateUser(RemoteUserFullVO user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteUserFullServiceBase

public RemoteUserFullServiceBase()
Method Detail

setUserDao

public void setUserDao(UserDao userDao)
Sets the reference to user's DAO.


getUserDao

protected UserDao getUserDao()
Gets the reference to user's DAO.


setUserProfilDao

public void setUserProfilDao(UserProfilDao userProfilDao)
Sets the reference to userProfil's DAO.


getUserProfilDao

protected UserProfilDao getUserProfilDao()
Gets the reference to userProfil's DAO.


setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to status's DAO.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to status's DAO.


setDepartmentDao

public void setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to department's DAO.


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to department's DAO.


setAgeReaderQualificationDao

public void setAgeReaderQualificationDao(AgeReaderQualificationDao ageReaderQualificationDao)
Sets the reference to ageReaderQualification's DAO.


getAgeReaderQualificationDao

protected AgeReaderQualificationDao getAgeReaderQualificationDao()
Gets the reference to ageReaderQualification's DAO.


setProgram2PersonDao

public void setProgram2PersonDao(Program2PersonDao program2PersonDao)
Sets the reference to program2Person's DAO.


getProgram2PersonDao

protected Program2PersonDao getProgram2PersonDao()
Gets the reference to program2Person's DAO.


addUser

public RemoteUserFullVO addUser(RemoteUserFullVO user)
Specified by:
addUser in interface RemoteUserFullService
See Also:
RemoteUserFullService.addUser(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

handleAddUser

protected abstract RemoteUserFullVO handleAddUser(RemoteUserFullVO user)
                                           throws java.lang.Exception
Performs the core logic for addUser(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

Throws:
java.lang.Exception

updateUser

public void updateUser(RemoteUserFullVO user)
Specified by:
updateUser in interface RemoteUserFullService
See Also:
RemoteUserFullService.updateUser(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

handleUpdateUser

protected abstract void handleUpdateUser(RemoteUserFullVO user)
                                  throws java.lang.Exception
Performs the core logic for updateUser(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

Throws:
java.lang.Exception

removeUser

public void removeUser(RemoteUserFullVO user)
Specified by:
removeUser in interface RemoteUserFullService
See Also:
RemoteUserFullService.removeUser(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

handleRemoveUser

protected abstract void handleRemoveUser(RemoteUserFullVO user)
                                  throws java.lang.Exception
Performs the core logic for removeUser(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

Throws:
java.lang.Exception

getAllUser

public RemoteUserFullVO[] getAllUser()
Specified by:
getAllUser in interface RemoteUserFullService
See Also:
RemoteUserFullService.getAllUser()

handleGetAllUser

protected abstract RemoteUserFullVO[] handleGetAllUser()
                                                throws java.lang.Exception
Performs the core logic for getAllUser()

Throws:
java.lang.Exception

getUserById

public RemoteUserFullVO getUserById(java.lang.Integer id)
Specified by:
getUserById in interface RemoteUserFullService
See Also:
RemoteUserFullService.getUserById(java.lang.Integer)

handleGetUserById

protected abstract RemoteUserFullVO handleGetUserById(java.lang.Integer id)
                                               throws java.lang.Exception
Performs the core logic for getUserById(java.lang.Integer)

Throws:
java.lang.Exception

getUserByIds

public RemoteUserFullVO[] getUserByIds(java.lang.Integer[] id)
Specified by:
getUserByIds in interface RemoteUserFullService
See Also:
RemoteUserFullService.getUserByIds(java.lang.Integer[])

handleGetUserByIds

protected abstract RemoteUserFullVO[] handleGetUserByIds(java.lang.Integer[] id)
                                                  throws java.lang.Exception
Performs the core logic for getUserByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getUserByStatusCode

public RemoteUserFullVO[] getUserByStatusCode(java.lang.String code)
Specified by:
getUserByStatusCode in interface RemoteUserFullService
See Also:
RemoteUserFullService.getUserByStatusCode(java.lang.String)

handleGetUserByStatusCode

protected abstract RemoteUserFullVO[] handleGetUserByStatusCode(java.lang.String code)
                                                         throws java.lang.Exception
Performs the core logic for getUserByStatusCode(java.lang.String)

Throws:
java.lang.Exception

getUserByDepartmentId

public RemoteUserFullVO[] getUserByDepartmentId(java.lang.Integer id)
Specified by:
getUserByDepartmentId in interface RemoteUserFullService
See Also:
RemoteUserFullService.getUserByDepartmentId(java.lang.Integer)

handleGetUserByDepartmentId

protected abstract RemoteUserFullVO[] handleGetUserByDepartmentId(java.lang.Integer id)
                                                           throws java.lang.Exception
Performs the core logic for getUserByDepartmentId(java.lang.Integer)

Throws:
java.lang.Exception

remoteUserFullVOsAreEqualOnIdentifiers

public boolean remoteUserFullVOsAreEqualOnIdentifiers(RemoteUserFullVO remoteUserFullVOFirst,
                                                      RemoteUserFullVO remoteUserFullVOSecond)
Specified by:
remoteUserFullVOsAreEqualOnIdentifiers in interface RemoteUserFullService
See Also:
RemoteUserFullService.remoteUserFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

handleRemoteUserFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteUserFullVOsAreEqualOnIdentifiers(RemoteUserFullVO remoteUserFullVOFirst,
                                                                        RemoteUserFullVO remoteUserFullVOSecond)
                                                                 throws java.lang.Exception
Performs the core logic for remoteUserFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

Throws:
java.lang.Exception

remoteUserFullVOsAreEqual

public boolean remoteUserFullVOsAreEqual(RemoteUserFullVO remoteUserFullVOFirst,
                                         RemoteUserFullVO remoteUserFullVOSecond)
Specified by:
remoteUserFullVOsAreEqual in interface RemoteUserFullService
See Also:
RemoteUserFullService.remoteUserFullVOsAreEqual(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

handleRemoteUserFullVOsAreEqual

protected abstract boolean handleRemoteUserFullVOsAreEqual(RemoteUserFullVO remoteUserFullVOFirst,
                                                           RemoteUserFullVO remoteUserFullVOSecond)
                                                    throws java.lang.Exception
Performs the core logic for remoteUserFullVOsAreEqual(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteUserFullVO)

Throws:
java.lang.Exception

getUserNaturalIds

public RemoteUserNaturalId[] getUserNaturalIds()
Specified by:
getUserNaturalIds in interface RemoteUserFullService
See Also:
RemoteUserFullService.getUserNaturalIds()

handleGetUserNaturalIds

protected abstract RemoteUserNaturalId[] handleGetUserNaturalIds()
                                                          throws java.lang.Exception
Performs the core logic for getUserNaturalIds()

Throws:
java.lang.Exception

getUserByNaturalId

public RemoteUserFullVO getUserByNaturalId(RemoteUserNaturalId userNaturalId)
Specified by:
getUserByNaturalId in interface RemoteUserFullService
See Also:
RemoteUserFullService.getUserByNaturalId(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId)

handleGetUserByNaturalId

protected abstract RemoteUserFullVO handleGetUserByNaturalId(RemoteUserNaturalId userNaturalId)
                                                      throws java.lang.Exception
Performs the core logic for getUserByNaturalId(fr.ifremer.allegro.administration.user.generic.vo.RemoteUserNaturalId)

Throws:
java.lang.Exception

getUserNaturalIdById

public RemoteUserNaturalId getUserNaturalIdById(java.lang.Integer id)
Specified by:
getUserNaturalIdById in interface RemoteUserFullService
See Also:
RemoteUserFullService.getUserNaturalIdById(java.lang.Integer)

handleGetUserNaturalIdById

protected abstract RemoteUserNaturalId handleGetUserNaturalIdById(java.lang.Integer id)
                                                           throws java.lang.Exception
Performs the core logic for getUserNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterUser

public ClusterUser addOrUpdateClusterUser(ClusterUser clusterUser)
Specified by:
addOrUpdateClusterUser in interface RemoteUserFullService
See Also:
RemoteUserFullService.addOrUpdateClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)

handleAddOrUpdateClusterUser

protected abstract ClusterUser handleAddOrUpdateClusterUser(ClusterUser clusterUser)
                                                     throws java.lang.Exception
Performs the core logic for addOrUpdateClusterUser(fr.ifremer.allegro.administration.user.generic.cluster.ClusterUser)

Throws:
java.lang.Exception

getAllClusterUserSinceDateSynchro

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

handleGetAllClusterUserSinceDateSynchro

protected abstract ClusterUser[] handleGetAllClusterUserSinceDateSynchro(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 getAllClusterUserSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterUserByIdentifiers

public ClusterUser getClusterUserByIdentifiers(java.lang.Integer id)
Specified by:
getClusterUserByIdentifiers in interface RemoteUserFullService
See Also:
RemoteUserFullService.getClusterUserByIdentifiers(java.lang.Integer)

handleGetClusterUserByIdentifiers

protected abstract ClusterUser handleGetClusterUserByIdentifiers(java.lang.Integer id)
                                                          throws java.lang.Exception
Performs the core logic for getClusterUserByIdentifiers(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.