|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.referential.gear.generic.service.RemoteGearFullServiceBase
public abstract class RemoteGearFullServiceBase
Spring Service base class for fr.ifremer.allegro.referential.gear.generic.service.RemoteGearFullService
,
provides access to all services and entities referenced by this service.
RemoteGearFullService
Constructor Summary | |
---|---|
RemoteGearFullServiceBase()
|
Method Summary | |
---|---|
RemoteGearFullVO |
addGear(RemoteGearFullVO gear)
|
ClusterGear |
addOrUpdateClusterGear(ClusterGear clusterGear)
|
ClusterGear[] |
getAllClusterGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
RemoteGearFullVO[] |
getAllGear()
|
ClusterGear |
getClusterGearByIdentifiers(java.lang.Integer id)
|
RemoteGearFullVO[] |
getGearByGearClassificationId(java.lang.Integer id)
|
RemoteGearFullVO |
getGearById(java.lang.Integer id)
|
RemoteGearFullVO[] |
getGearByIds(java.lang.Integer[] id)
|
RemoteGearFullVO |
getGearByNaturalId(RemoteGearNaturalId gearNaturalId)
|
RemoteGearFullVO[] |
getGearByParentGearId(java.lang.Integer id)
|
RemoteGearFullVO[] |
getGearByStatusCode(java.lang.String code)
|
protected GearClassificationDao |
getGearClassificationDao()
Gets the reference to gearClassification 's DAO. |
protected GearDao |
getGearDao()
Gets the reference to gear 's DAO. |
RemoteGearNaturalId |
getGearNaturalIdById(java.lang.Integer id)
|
RemoteGearNaturalId[] |
getGearNaturalIds()
|
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 abstract RemoteGearFullVO |
handleAddGear(RemoteGearFullVO gear)
Performs the core logic for addGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO) |
protected abstract ClusterGear |
handleAddOrUpdateClusterGear(ClusterGear clusterGear)
Performs the core logic for addOrUpdateClusterGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear) |
protected abstract ClusterGear[] |
handleGetAllClusterGearSinceDateSynchro(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 getAllClusterGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
protected abstract RemoteGearFullVO[] |
handleGetAllGear()
Performs the core logic for getAllGear() |
protected abstract ClusterGear |
handleGetClusterGearByIdentifiers(java.lang.Integer id)
Performs the core logic for getClusterGearByIdentifiers(java.lang.Integer) |
protected abstract RemoteGearFullVO[] |
handleGetGearByGearClassificationId(java.lang.Integer id)
Performs the core logic for getGearByGearClassificationId(java.lang.Integer) |
protected abstract RemoteGearFullVO |
handleGetGearById(java.lang.Integer id)
Performs the core logic for getGearById(java.lang.Integer) |
protected abstract RemoteGearFullVO[] |
handleGetGearByIds(java.lang.Integer[] id)
Performs the core logic for getGearByIds(java.lang.Integer[]) |
protected abstract RemoteGearFullVO |
handleGetGearByNaturalId(RemoteGearNaturalId gearNaturalId)
Performs the core logic for getGearByNaturalId(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearNaturalId) |
protected abstract RemoteGearFullVO[] |
handleGetGearByParentGearId(java.lang.Integer id)
Performs the core logic for getGearByParentGearId(java.lang.Integer) |
protected abstract RemoteGearFullVO[] |
handleGetGearByStatusCode(java.lang.String code)
Performs the core logic for getGearByStatusCode(java.lang.String) |
protected abstract RemoteGearNaturalId |
handleGetGearNaturalIdById(java.lang.Integer id)
Performs the core logic for getGearNaturalIdById(java.lang.Integer) |
protected abstract RemoteGearNaturalId[] |
handleGetGearNaturalIds()
Performs the core logic for getGearNaturalIds() |
protected abstract boolean |
handleRemoteGearFullVOsAreEqual(RemoteGearFullVO remoteGearFullVOFirst,
RemoteGearFullVO remoteGearFullVOSecond)
Performs the core logic for remoteGearFullVOsAreEqual(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO) |
protected abstract boolean |
handleRemoteGearFullVOsAreEqualOnIdentifiers(RemoteGearFullVO remoteGearFullVOFirst,
RemoteGearFullVO remoteGearFullVOSecond)
Performs the core logic for remoteGearFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO) |
protected abstract void |
handleRemoveGear(RemoteGearFullVO gear)
Performs the core logic for removeGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO) |
protected abstract void |
handleUpdateGear(RemoteGearFullVO gear)
Performs the core logic for updateGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO) |
boolean |
remoteGearFullVOsAreEqual(RemoteGearFullVO remoteGearFullVOFirst,
RemoteGearFullVO remoteGearFullVOSecond)
|
boolean |
remoteGearFullVOsAreEqualOnIdentifiers(RemoteGearFullVO remoteGearFullVOFirst,
RemoteGearFullVO remoteGearFullVOSecond)
|
void |
removeGear(RemoteGearFullVO gear)
|
void |
setGearClassificationDao(GearClassificationDao gearClassificationDao)
Sets the reference to gearClassification 's DAO. |
void |
setGearDao(GearDao gearDao)
Sets the reference to gear 's DAO. |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to status 's DAO. |
void |
updateGear(RemoteGearFullVO gear)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteGearFullServiceBase()
Method Detail |
---|
public void setGearDao(GearDao gearDao)
gear
's DAO.
protected GearDao getGearDao()
gear
's DAO.
public void setGearClassificationDao(GearClassificationDao gearClassificationDao)
gearClassification
's DAO.
protected GearClassificationDao getGearClassificationDao()
gearClassification
's DAO.
public void setStatusDao(StatusDao statusDao)
status
's DAO.
protected StatusDao getStatusDao()
status
's DAO.
public RemoteGearFullVO addGear(RemoteGearFullVO gear)
addGear
in interface RemoteGearFullService
RemoteGearFullService.addGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
protected abstract RemoteGearFullVO handleAddGear(RemoteGearFullVO gear) throws java.lang.Exception
addGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
java.lang.Exception
public void updateGear(RemoteGearFullVO gear)
updateGear
in interface RemoteGearFullService
RemoteGearFullService.updateGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
protected abstract void handleUpdateGear(RemoteGearFullVO gear) throws java.lang.Exception
updateGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
java.lang.Exception
public void removeGear(RemoteGearFullVO gear)
removeGear
in interface RemoteGearFullService
RemoteGearFullService.removeGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
protected abstract void handleRemoveGear(RemoteGearFullVO gear) throws java.lang.Exception
removeGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
java.lang.Exception
public RemoteGearFullVO[] getAllGear()
getAllGear
in interface RemoteGearFullService
RemoteGearFullService.getAllGear()
protected abstract RemoteGearFullVO[] handleGetAllGear() throws java.lang.Exception
getAllGear()
java.lang.Exception
public RemoteGearFullVO getGearById(java.lang.Integer id)
getGearById
in interface RemoteGearFullService
RemoteGearFullService.getGearById(java.lang.Integer)
protected abstract RemoteGearFullVO handleGetGearById(java.lang.Integer id) throws java.lang.Exception
getGearById(java.lang.Integer)
java.lang.Exception
public RemoteGearFullVO[] getGearByIds(java.lang.Integer[] id)
getGearByIds
in interface RemoteGearFullService
RemoteGearFullService.getGearByIds(java.lang.Integer[])
protected abstract RemoteGearFullVO[] handleGetGearByIds(java.lang.Integer[] id) throws java.lang.Exception
getGearByIds(java.lang.Integer[])
java.lang.Exception
public RemoteGearFullVO[] getGearByParentGearId(java.lang.Integer id)
getGearByParentGearId
in interface RemoteGearFullService
RemoteGearFullService.getGearByParentGearId(java.lang.Integer)
protected abstract RemoteGearFullVO[] handleGetGearByParentGearId(java.lang.Integer id) throws java.lang.Exception
getGearByParentGearId(java.lang.Integer)
java.lang.Exception
public RemoteGearFullVO[] getGearByGearClassificationId(java.lang.Integer id)
getGearByGearClassificationId
in interface RemoteGearFullService
RemoteGearFullService.getGearByGearClassificationId(java.lang.Integer)
protected abstract RemoteGearFullVO[] handleGetGearByGearClassificationId(java.lang.Integer id) throws java.lang.Exception
getGearByGearClassificationId(java.lang.Integer)
java.lang.Exception
public RemoteGearFullVO[] getGearByStatusCode(java.lang.String code)
getGearByStatusCode
in interface RemoteGearFullService
RemoteGearFullService.getGearByStatusCode(java.lang.String)
protected abstract RemoteGearFullVO[] handleGetGearByStatusCode(java.lang.String code) throws java.lang.Exception
getGearByStatusCode(java.lang.String)
java.lang.Exception
public boolean remoteGearFullVOsAreEqualOnIdentifiers(RemoteGearFullVO remoteGearFullVOFirst, RemoteGearFullVO remoteGearFullVOSecond)
remoteGearFullVOsAreEqualOnIdentifiers
in interface RemoteGearFullService
RemoteGearFullService.remoteGearFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
protected abstract boolean handleRemoteGearFullVOsAreEqualOnIdentifiers(RemoteGearFullVO remoteGearFullVOFirst, RemoteGearFullVO remoteGearFullVOSecond) throws java.lang.Exception
remoteGearFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
java.lang.Exception
public boolean remoteGearFullVOsAreEqual(RemoteGearFullVO remoteGearFullVOFirst, RemoteGearFullVO remoteGearFullVOSecond)
remoteGearFullVOsAreEqual
in interface RemoteGearFullService
RemoteGearFullService.remoteGearFullVOsAreEqual(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
protected abstract boolean handleRemoteGearFullVOsAreEqual(RemoteGearFullVO remoteGearFullVOFirst, RemoteGearFullVO remoteGearFullVOSecond) throws java.lang.Exception
remoteGearFullVOsAreEqual(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearFullVO)
java.lang.Exception
public RemoteGearNaturalId[] getGearNaturalIds()
getGearNaturalIds
in interface RemoteGearFullService
RemoteGearFullService.getGearNaturalIds()
protected abstract RemoteGearNaturalId[] handleGetGearNaturalIds() throws java.lang.Exception
getGearNaturalIds()
java.lang.Exception
public RemoteGearFullVO getGearByNaturalId(RemoteGearNaturalId gearNaturalId)
getGearByNaturalId
in interface RemoteGearFullService
RemoteGearFullService.getGearByNaturalId(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearNaturalId)
protected abstract RemoteGearFullVO handleGetGearByNaturalId(RemoteGearNaturalId gearNaturalId) throws java.lang.Exception
getGearByNaturalId(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearNaturalId)
java.lang.Exception
public RemoteGearNaturalId getGearNaturalIdById(java.lang.Integer id)
getGearNaturalIdById
in interface RemoteGearFullService
RemoteGearFullService.getGearNaturalIdById(java.lang.Integer)
protected abstract RemoteGearNaturalId handleGetGearNaturalIdById(java.lang.Integer id) throws java.lang.Exception
getGearNaturalIdById(java.lang.Integer)
java.lang.Exception
public ClusterGear[] getAllClusterGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterGearSinceDateSynchro
in interface RemoteGearFullService
RemoteGearFullService.getAllClusterGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterGear[] handleGetAllClusterGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
public ClusterGear getClusterGearByIdentifiers(java.lang.Integer id)
getClusterGearByIdentifiers
in interface RemoteGearFullService
RemoteGearFullService.getClusterGearByIdentifiers(java.lang.Integer)
protected abstract ClusterGear handleGetClusterGearByIdentifiers(java.lang.Integer id) throws java.lang.Exception
getClusterGearByIdentifiers(java.lang.Integer)
java.lang.Exception
public ClusterGear addOrUpdateClusterGear(ClusterGear clusterGear)
addOrUpdateClusterGear
in interface RemoteGearFullService
RemoteGearFullService.addOrUpdateClusterGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear)
protected abstract ClusterGear handleAddOrUpdateClusterGear(ClusterGear clusterGear) throws java.lang.Exception
addOrUpdateClusterGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGear)
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 |