|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.referential.pmfm.generic.service.RemoteUnitFullServiceBase
public abstract class RemoteUnitFullServiceBase
Spring Service base class for fr.ifremer.allegro.referential.pmfm.generic.service.RemoteUnitFullService
,
provides access to all services and entities referenced by this service.
RemoteUnitFullService
Constructor Summary | |
---|---|
RemoteUnitFullServiceBase()
|
Method Summary | |
---|---|
ClusterUnit |
addOrUpdateClusterUnit(ClusterUnit clusterUnit)
|
RemoteUnitFullVO |
addUnit(RemoteUnitFullVO unit)
|
ClusterUnit[] |
getAllClusterUnitSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
RemoteUnitFullVO[] |
getAllUnit()
|
ClusterUnit |
getClusterUnitByIdentifiers(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 StatusDao |
getStatusDao()
Gets the reference to status 's DAO. |
RemoteUnitFullVO |
getUnitById(java.lang.Integer id)
|
RemoteUnitFullVO[] |
getUnitByIds(java.lang.Integer[] id)
|
RemoteUnitFullVO |
getUnitByNaturalId(RemoteUnitNaturalId unitNaturalId)
|
RemoteUnitFullVO[] |
getUnitByStatusCode(java.lang.String code)
|
protected UnitDao |
getUnitDao()
Gets the reference to unit 's DAO. |
RemoteUnitNaturalId |
getUnitNaturalIdById(java.lang.Integer id)
|
RemoteUnitNaturalId[] |
getUnitNaturalIds()
|
protected abstract ClusterUnit |
handleAddOrUpdateClusterUnit(ClusterUnit clusterUnit)
Performs the core logic for addOrUpdateClusterUnit(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit) |
protected abstract RemoteUnitFullVO |
handleAddUnit(RemoteUnitFullVO unit)
Performs the core logic for addUnit(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO) |
protected abstract ClusterUnit[] |
handleGetAllClusterUnitSinceDateSynchro(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 getAllClusterUnitSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
protected abstract RemoteUnitFullVO[] |
handleGetAllUnit()
Performs the core logic for getAllUnit() |
protected abstract ClusterUnit |
handleGetClusterUnitByIdentifiers(java.lang.Integer id)
Performs the core logic for getClusterUnitByIdentifiers(java.lang.Integer) |
protected abstract RemoteUnitFullVO |
handleGetUnitById(java.lang.Integer id)
Performs the core logic for getUnitById(java.lang.Integer) |
protected abstract RemoteUnitFullVO[] |
handleGetUnitByIds(java.lang.Integer[] id)
Performs the core logic for getUnitByIds(java.lang.Integer[]) |
protected abstract RemoteUnitFullVO |
handleGetUnitByNaturalId(RemoteUnitNaturalId unitNaturalId)
Performs the core logic for getUnitByNaturalId(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitNaturalId) |
protected abstract RemoteUnitFullVO[] |
handleGetUnitByStatusCode(java.lang.String code)
Performs the core logic for getUnitByStatusCode(java.lang.String) |
protected abstract RemoteUnitNaturalId |
handleGetUnitNaturalIdById(java.lang.Integer id)
Performs the core logic for getUnitNaturalIdById(java.lang.Integer) |
protected abstract RemoteUnitNaturalId[] |
handleGetUnitNaturalIds()
Performs the core logic for getUnitNaturalIds() |
protected abstract boolean |
handleRemoteUnitFullVOsAreEqual(RemoteUnitFullVO remoteUnitFullVOFirst,
RemoteUnitFullVO remoteUnitFullVOSecond)
Performs the core logic for remoteUnitFullVOsAreEqual(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO) |
protected abstract boolean |
handleRemoteUnitFullVOsAreEqualOnIdentifiers(RemoteUnitFullVO remoteUnitFullVOFirst,
RemoteUnitFullVO remoteUnitFullVOSecond)
Performs the core logic for remoteUnitFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO) |
protected abstract void |
handleRemoveUnit(RemoteUnitFullVO unit)
Performs the core logic for removeUnit(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO) |
protected abstract void |
handleUpdateUnit(RemoteUnitFullVO unit)
Performs the core logic for updateUnit(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO) |
boolean |
remoteUnitFullVOsAreEqual(RemoteUnitFullVO remoteUnitFullVOFirst,
RemoteUnitFullVO remoteUnitFullVOSecond)
|
boolean |
remoteUnitFullVOsAreEqualOnIdentifiers(RemoteUnitFullVO remoteUnitFullVOFirst,
RemoteUnitFullVO remoteUnitFullVOSecond)
|
void |
removeUnit(RemoteUnitFullVO unit)
|
void |
setStatusDao(StatusDao statusDao)
Sets the reference to status 's DAO. |
void |
setUnitDao(UnitDao unitDao)
Sets the reference to unit 's DAO. |
void |
updateUnit(RemoteUnitFullVO unit)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteUnitFullServiceBase()
Method Detail |
---|
public void setUnitDao(UnitDao unitDao)
unit
's DAO.
protected UnitDao getUnitDao()
unit
's DAO.
public void setStatusDao(StatusDao statusDao)
status
's DAO.
protected StatusDao getStatusDao()
status
's DAO.
public RemoteUnitFullVO addUnit(RemoteUnitFullVO unit)
addUnit
in interface RemoteUnitFullService
RemoteUnitFullService.addUnit(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
protected abstract RemoteUnitFullVO handleAddUnit(RemoteUnitFullVO unit) throws java.lang.Exception
addUnit(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
java.lang.Exception
public void updateUnit(RemoteUnitFullVO unit)
updateUnit
in interface RemoteUnitFullService
RemoteUnitFullService.updateUnit(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
protected abstract void handleUpdateUnit(RemoteUnitFullVO unit) throws java.lang.Exception
updateUnit(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
java.lang.Exception
public void removeUnit(RemoteUnitFullVO unit)
removeUnit
in interface RemoteUnitFullService
RemoteUnitFullService.removeUnit(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
protected abstract void handleRemoveUnit(RemoteUnitFullVO unit) throws java.lang.Exception
removeUnit(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
java.lang.Exception
public RemoteUnitFullVO[] getAllUnit()
getAllUnit
in interface RemoteUnitFullService
RemoteUnitFullService.getAllUnit()
protected abstract RemoteUnitFullVO[] handleGetAllUnit() throws java.lang.Exception
getAllUnit()
java.lang.Exception
public RemoteUnitFullVO getUnitById(java.lang.Integer id)
getUnitById
in interface RemoteUnitFullService
RemoteUnitFullService.getUnitById(java.lang.Integer)
protected abstract RemoteUnitFullVO handleGetUnitById(java.lang.Integer id) throws java.lang.Exception
getUnitById(java.lang.Integer)
java.lang.Exception
public RemoteUnitFullVO[] getUnitByIds(java.lang.Integer[] id)
getUnitByIds
in interface RemoteUnitFullService
RemoteUnitFullService.getUnitByIds(java.lang.Integer[])
protected abstract RemoteUnitFullVO[] handleGetUnitByIds(java.lang.Integer[] id) throws java.lang.Exception
getUnitByIds(java.lang.Integer[])
java.lang.Exception
public RemoteUnitFullVO[] getUnitByStatusCode(java.lang.String code)
getUnitByStatusCode
in interface RemoteUnitFullService
RemoteUnitFullService.getUnitByStatusCode(java.lang.String)
protected abstract RemoteUnitFullVO[] handleGetUnitByStatusCode(java.lang.String code) throws java.lang.Exception
getUnitByStatusCode(java.lang.String)
java.lang.Exception
public boolean remoteUnitFullVOsAreEqualOnIdentifiers(RemoteUnitFullVO remoteUnitFullVOFirst, RemoteUnitFullVO remoteUnitFullVOSecond)
remoteUnitFullVOsAreEqualOnIdentifiers
in interface RemoteUnitFullService
RemoteUnitFullService.remoteUnitFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
protected abstract boolean handleRemoteUnitFullVOsAreEqualOnIdentifiers(RemoteUnitFullVO remoteUnitFullVOFirst, RemoteUnitFullVO remoteUnitFullVOSecond) throws java.lang.Exception
remoteUnitFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
java.lang.Exception
public boolean remoteUnitFullVOsAreEqual(RemoteUnitFullVO remoteUnitFullVOFirst, RemoteUnitFullVO remoteUnitFullVOSecond)
remoteUnitFullVOsAreEqual
in interface RemoteUnitFullService
RemoteUnitFullService.remoteUnitFullVOsAreEqual(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
protected abstract boolean handleRemoteUnitFullVOsAreEqual(RemoteUnitFullVO remoteUnitFullVOFirst, RemoteUnitFullVO remoteUnitFullVOSecond) throws java.lang.Exception
remoteUnitFullVOsAreEqual(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitFullVO)
java.lang.Exception
public RemoteUnitNaturalId[] getUnitNaturalIds()
getUnitNaturalIds
in interface RemoteUnitFullService
RemoteUnitFullService.getUnitNaturalIds()
protected abstract RemoteUnitNaturalId[] handleGetUnitNaturalIds() throws java.lang.Exception
getUnitNaturalIds()
java.lang.Exception
public RemoteUnitFullVO getUnitByNaturalId(RemoteUnitNaturalId unitNaturalId)
getUnitByNaturalId
in interface RemoteUnitFullService
RemoteUnitFullService.getUnitByNaturalId(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitNaturalId)
protected abstract RemoteUnitFullVO handleGetUnitByNaturalId(RemoteUnitNaturalId unitNaturalId) throws java.lang.Exception
getUnitByNaturalId(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteUnitNaturalId)
java.lang.Exception
public RemoteUnitNaturalId getUnitNaturalIdById(java.lang.Integer id)
getUnitNaturalIdById
in interface RemoteUnitFullService
RemoteUnitFullService.getUnitNaturalIdById(java.lang.Integer)
protected abstract RemoteUnitNaturalId handleGetUnitNaturalIdById(java.lang.Integer id) throws java.lang.Exception
getUnitNaturalIdById(java.lang.Integer)
java.lang.Exception
public ClusterUnit addOrUpdateClusterUnit(ClusterUnit clusterUnit)
addOrUpdateClusterUnit
in interface RemoteUnitFullService
RemoteUnitFullService.addOrUpdateClusterUnit(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit)
protected abstract ClusterUnit handleAddOrUpdateClusterUnit(ClusterUnit clusterUnit) throws java.lang.Exception
addOrUpdateClusterUnit(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterUnit)
java.lang.Exception
public ClusterUnit[] getAllClusterUnitSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterUnitSinceDateSynchro
in interface RemoteUnitFullService
RemoteUnitFullService.getAllClusterUnitSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterUnit[] handleGetAllClusterUnitSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterUnitSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
public ClusterUnit getClusterUnitByIdentifiers(java.lang.Integer id)
getClusterUnitByIdentifiers
in interface RemoteUnitFullService
RemoteUnitFullService.getClusterUnitByIdentifiers(java.lang.Integer)
protected abstract ClusterUnit handleGetClusterUnitByIdentifiers(java.lang.Integer id) throws java.lang.Exception
getClusterUnitByIdentifiers(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 |