|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.administration.user.generic.service.RemotePersonFullServiceBase
public abstract class RemotePersonFullServiceBase
Spring Service base class for fr.ifremer.allegro.administration.user.generic.service.RemotePersonFullService
,
provides access to all services and entities referenced by this service.
RemotePersonFullService
Constructor Summary | |
---|---|
RemotePersonFullServiceBase()
|
Method Summary | |
---|---|
ClusterPerson |
addOrUpdateClusterPerson(ClusterPerson clusterPerson)
|
RemotePersonFullVO |
addPerson(RemotePersonFullVO person)
|
protected AgeReaderQualificationDao |
getAgeReaderQualificationDao()
Gets the reference to ageReaderQualification 's DAO. |
ClusterPerson[] |
getAllClusterPersonSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
RemotePersonFullVO[] |
getAllPerson()
|
ClusterPerson |
getClusterPersonByIdentifiers(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. |
RemotePersonFullVO[] |
getPersonByDepartmentId(java.lang.Integer id)
|
RemotePersonFullVO |
getPersonById(java.lang.Integer id)
|
RemotePersonFullVO[] |
getPersonByIds(java.lang.Integer[] id)
|
RemotePersonFullVO |
getPersonByNaturalId(RemotePersonNaturalId personNaturalId)
|
RemotePersonFullVO[] |
getPersonByStatusCode(java.lang.String code)
|
protected PersonDao |
getPersonDao()
Gets the reference to person 's DAO. |
RemotePersonNaturalId |
getPersonNaturalIdById(java.lang.Integer id)
|
RemotePersonNaturalId[] |
getPersonNaturalIds()
|
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. |
protected abstract ClusterPerson |
handleAddOrUpdateClusterPerson(ClusterPerson clusterPerson)
Performs the core logic for addOrUpdateClusterPerson(fr.ifremer.allegro.administration.user.generic.cluster.ClusterPerson) |
protected abstract RemotePersonFullVO |
handleAddPerson(RemotePersonFullVO person)
Performs the core logic for addPerson(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO) |
protected abstract ClusterPerson[] |
handleGetAllClusterPersonSinceDateSynchro(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 getAllClusterPersonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
protected abstract RemotePersonFullVO[] |
handleGetAllPerson()
Performs the core logic for getAllPerson() |
protected abstract ClusterPerson |
handleGetClusterPersonByIdentifiers(java.lang.Integer id)
Performs the core logic for getClusterPersonByIdentifiers(java.lang.Integer) |
protected abstract RemotePersonFullVO[] |
handleGetPersonByDepartmentId(java.lang.Integer id)
Performs the core logic for getPersonByDepartmentId(java.lang.Integer) |
protected abstract RemotePersonFullVO |
handleGetPersonById(java.lang.Integer id)
Performs the core logic for getPersonById(java.lang.Integer) |
protected abstract RemotePersonFullVO[] |
handleGetPersonByIds(java.lang.Integer[] id)
Performs the core logic for getPersonByIds(java.lang.Integer[]) |
protected abstract RemotePersonFullVO |
handleGetPersonByNaturalId(RemotePersonNaturalId personNaturalId)
Performs the core logic for getPersonByNaturalId(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonNaturalId) |
protected abstract RemotePersonFullVO[] |
handleGetPersonByStatusCode(java.lang.String code)
Performs the core logic for getPersonByStatusCode(java.lang.String) |
protected abstract RemotePersonNaturalId |
handleGetPersonNaturalIdById(java.lang.Integer id)
Performs the core logic for getPersonNaturalIdById(java.lang.Integer) |
protected abstract RemotePersonNaturalId[] |
handleGetPersonNaturalIds()
Performs the core logic for getPersonNaturalIds() |
protected abstract boolean |
handleRemotePersonFullVOsAreEqual(RemotePersonFullVO remotePersonFullVOFirst,
RemotePersonFullVO remotePersonFullVOSecond)
Performs the core logic for remotePersonFullVOsAreEqual(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO) |
protected abstract boolean |
handleRemotePersonFullVOsAreEqualOnIdentifiers(RemotePersonFullVO remotePersonFullVOFirst,
RemotePersonFullVO remotePersonFullVOSecond)
Performs the core logic for remotePersonFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO) |
protected abstract void |
handleRemovePerson(RemotePersonFullVO person)
Performs the core logic for removePerson(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO) |
protected abstract void |
handleUpdatePerson(RemotePersonFullVO person)
Performs the core logic for updatePerson(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO) |
boolean |
remotePersonFullVOsAreEqual(RemotePersonFullVO remotePersonFullVOFirst,
RemotePersonFullVO remotePersonFullVOSecond)
|
boolean |
remotePersonFullVOsAreEqualOnIdentifiers(RemotePersonFullVO remotePersonFullVOFirst,
RemotePersonFullVO remotePersonFullVOSecond)
|
void |
removePerson(RemotePersonFullVO person)
|
void |
setAgeReaderQualificationDao(AgeReaderQualificationDao ageReaderQualificationDao)
Sets the reference to ageReaderQualification 's DAO. |
void |
setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to department 's DAO. |
void |
setPersonDao(PersonDao personDao)
Sets the reference to person '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 |
updatePerson(RemotePersonFullVO person)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemotePersonFullServiceBase()
Method Detail |
---|
public void setPersonDao(PersonDao personDao)
person
's DAO.
protected PersonDao getPersonDao()
person
's DAO.
public void setStatusDao(StatusDao statusDao)
status
's DAO.
protected StatusDao getStatusDao()
status
's DAO.
public void setDepartmentDao(DepartmentDao departmentDao)
department
's DAO.
protected DepartmentDao getDepartmentDao()
department
's DAO.
public void setAgeReaderQualificationDao(AgeReaderQualificationDao ageReaderQualificationDao)
ageReaderQualification
's DAO.
protected AgeReaderQualificationDao getAgeReaderQualificationDao()
ageReaderQualification
's DAO.
public void setProgram2PersonDao(Program2PersonDao program2PersonDao)
program2Person
's DAO.
protected Program2PersonDao getProgram2PersonDao()
program2Person
's DAO.
public RemotePersonFullVO addPerson(RemotePersonFullVO person)
addPerson
in interface RemotePersonFullService
RemotePersonFullService.addPerson(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
protected abstract RemotePersonFullVO handleAddPerson(RemotePersonFullVO person) throws java.lang.Exception
addPerson(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
java.lang.Exception
public void updatePerson(RemotePersonFullVO person)
updatePerson
in interface RemotePersonFullService
RemotePersonFullService.updatePerson(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
protected abstract void handleUpdatePerson(RemotePersonFullVO person) throws java.lang.Exception
updatePerson(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
java.lang.Exception
public void removePerson(RemotePersonFullVO person)
removePerson
in interface RemotePersonFullService
RemotePersonFullService.removePerson(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
protected abstract void handleRemovePerson(RemotePersonFullVO person) throws java.lang.Exception
removePerson(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
java.lang.Exception
public RemotePersonFullVO[] getAllPerson()
getAllPerson
in interface RemotePersonFullService
RemotePersonFullService.getAllPerson()
protected abstract RemotePersonFullVO[] handleGetAllPerson() throws java.lang.Exception
getAllPerson()
java.lang.Exception
public RemotePersonFullVO getPersonById(java.lang.Integer id)
getPersonById
in interface RemotePersonFullService
RemotePersonFullService.getPersonById(java.lang.Integer)
protected abstract RemotePersonFullVO handleGetPersonById(java.lang.Integer id) throws java.lang.Exception
getPersonById(java.lang.Integer)
java.lang.Exception
public RemotePersonFullVO[] getPersonByIds(java.lang.Integer[] id)
getPersonByIds
in interface RemotePersonFullService
RemotePersonFullService.getPersonByIds(java.lang.Integer[])
protected abstract RemotePersonFullVO[] handleGetPersonByIds(java.lang.Integer[] id) throws java.lang.Exception
getPersonByIds(java.lang.Integer[])
java.lang.Exception
public RemotePersonFullVO[] getPersonByStatusCode(java.lang.String code)
getPersonByStatusCode
in interface RemotePersonFullService
RemotePersonFullService.getPersonByStatusCode(java.lang.String)
protected abstract RemotePersonFullVO[] handleGetPersonByStatusCode(java.lang.String code) throws java.lang.Exception
getPersonByStatusCode(java.lang.String)
java.lang.Exception
public RemotePersonFullVO[] getPersonByDepartmentId(java.lang.Integer id)
getPersonByDepartmentId
in interface RemotePersonFullService
RemotePersonFullService.getPersonByDepartmentId(java.lang.Integer)
protected abstract RemotePersonFullVO[] handleGetPersonByDepartmentId(java.lang.Integer id) throws java.lang.Exception
getPersonByDepartmentId(java.lang.Integer)
java.lang.Exception
public boolean remotePersonFullVOsAreEqualOnIdentifiers(RemotePersonFullVO remotePersonFullVOFirst, RemotePersonFullVO remotePersonFullVOSecond)
remotePersonFullVOsAreEqualOnIdentifiers
in interface RemotePersonFullService
RemotePersonFullService.remotePersonFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
protected abstract boolean handleRemotePersonFullVOsAreEqualOnIdentifiers(RemotePersonFullVO remotePersonFullVOFirst, RemotePersonFullVO remotePersonFullVOSecond) throws java.lang.Exception
remotePersonFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
java.lang.Exception
public boolean remotePersonFullVOsAreEqual(RemotePersonFullVO remotePersonFullVOFirst, RemotePersonFullVO remotePersonFullVOSecond)
remotePersonFullVOsAreEqual
in interface RemotePersonFullService
RemotePersonFullService.remotePersonFullVOsAreEqual(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
protected abstract boolean handleRemotePersonFullVOsAreEqual(RemotePersonFullVO remotePersonFullVOFirst, RemotePersonFullVO remotePersonFullVOSecond) throws java.lang.Exception
remotePersonFullVOsAreEqual(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemotePersonFullVO)
java.lang.Exception
public RemotePersonNaturalId[] getPersonNaturalIds()
getPersonNaturalIds
in interface RemotePersonFullService
RemotePersonFullService.getPersonNaturalIds()
protected abstract RemotePersonNaturalId[] handleGetPersonNaturalIds() throws java.lang.Exception
getPersonNaturalIds()
java.lang.Exception
public RemotePersonFullVO getPersonByNaturalId(RemotePersonNaturalId personNaturalId)
getPersonByNaturalId
in interface RemotePersonFullService
RemotePersonFullService.getPersonByNaturalId(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonNaturalId)
protected abstract RemotePersonFullVO handleGetPersonByNaturalId(RemotePersonNaturalId personNaturalId) throws java.lang.Exception
getPersonByNaturalId(fr.ifremer.allegro.administration.user.generic.vo.RemotePersonNaturalId)
java.lang.Exception
public RemotePersonNaturalId getPersonNaturalIdById(java.lang.Integer id)
getPersonNaturalIdById
in interface RemotePersonFullService
RemotePersonFullService.getPersonNaturalIdById(java.lang.Integer)
protected abstract RemotePersonNaturalId handleGetPersonNaturalIdById(java.lang.Integer id) throws java.lang.Exception
getPersonNaturalIdById(java.lang.Integer)
java.lang.Exception
public ClusterPerson addOrUpdateClusterPerson(ClusterPerson clusterPerson)
addOrUpdateClusterPerson
in interface RemotePersonFullService
RemotePersonFullService.addOrUpdateClusterPerson(fr.ifremer.allegro.administration.user.generic.cluster.ClusterPerson)
protected abstract ClusterPerson handleAddOrUpdateClusterPerson(ClusterPerson clusterPerson) throws java.lang.Exception
addOrUpdateClusterPerson(fr.ifremer.allegro.administration.user.generic.cluster.ClusterPerson)
java.lang.Exception
public ClusterPerson[] getAllClusterPersonSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterPersonSinceDateSynchro
in interface RemotePersonFullService
RemotePersonFullService.getAllClusterPersonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterPerson[] handleGetAllClusterPersonSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterPersonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
public ClusterPerson getClusterPersonByIdentifiers(java.lang.Integer id)
getClusterPersonByIdentifiers
in interface RemotePersonFullService
RemotePersonFullService.getClusterPersonByIdentifiers(java.lang.Integer)
protected abstract ClusterPerson handleGetClusterPersonByIdentifiers(java.lang.Integer id) throws java.lang.Exception
getClusterPersonByIdentifiers(java.lang.Integer)
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 |