|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.data.batch.generic.service.RemoteBatchFullServiceBase
public abstract class RemoteBatchFullServiceBase
Spring Service base class for fr.ifremer.allegro.data.batch.generic.service.RemoteBatchFullService
,
provides access to all services and entities referenced by this service.
RemoteBatchFullService
Constructor Summary | |
---|---|
RemoteBatchFullServiceBase()
|
Method Summary | |
---|---|
RemoteBatchFullVO[] |
getAllBatch()
|
RemoteBatchFullVO |
getBatchById(java.lang.Integer id)
|
RemoteBatchFullVO[] |
getBatchByIds(java.lang.Integer[] id)
|
RemoteBatchFullVO |
getBatchByNaturalId(RemoteBatchNaturalId batchNaturalId)
|
RemoteBatchFullVO[] |
getBatchByParentBatchId(java.lang.Integer id)
|
protected BatchDao |
getBatchDao()
Gets the reference to batch 's DAO. |
RemoteBatchNaturalId |
getBatchNaturalIdById(java.lang.Integer id)
|
RemoteBatchNaturalId[] |
getBatchNaturalIds()
|
ClusterBatch |
getClusterBatchByIdentifiers(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 ProduceDao |
getProduceDao()
Gets the reference to produce 's DAO. |
protected QuantificationMeasurementDao |
getQuantificationMeasurementDao()
Gets the reference to quantificationMeasurement 's DAO. |
protected abstract RemoteBatchFullVO[] |
handleGetAllBatch()
Performs the core logic for getAllBatch() |
protected abstract RemoteBatchFullVO |
handleGetBatchById(java.lang.Integer id)
Performs the core logic for getBatchById(java.lang.Integer) |
protected abstract RemoteBatchFullVO[] |
handleGetBatchByIds(java.lang.Integer[] id)
Performs the core logic for getBatchByIds(java.lang.Integer[]) |
protected abstract RemoteBatchFullVO |
handleGetBatchByNaturalId(RemoteBatchNaturalId batchNaturalId)
Performs the core logic for getBatchByNaturalId(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchNaturalId) |
protected abstract RemoteBatchFullVO[] |
handleGetBatchByParentBatchId(java.lang.Integer id)
Performs the core logic for getBatchByParentBatchId(java.lang.Integer) |
protected abstract RemoteBatchNaturalId |
handleGetBatchNaturalIdById(java.lang.Integer id)
Performs the core logic for getBatchNaturalIdById(java.lang.Integer) |
protected abstract RemoteBatchNaturalId[] |
handleGetBatchNaturalIds()
Performs the core logic for getBatchNaturalIds() |
protected abstract ClusterBatch |
handleGetClusterBatchByIdentifiers(java.lang.Integer id)
Performs the core logic for getClusterBatchByIdentifiers(java.lang.Integer) |
protected abstract boolean |
handleRemoteBatchFullVOsAreEqual(RemoteBatchFullVO remoteBatchFullVOFirst,
RemoteBatchFullVO remoteBatchFullVOSecond)
Performs the core logic for remoteBatchFullVOsAreEqual(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO) |
protected abstract boolean |
handleRemoteBatchFullVOsAreEqualOnIdentifiers(RemoteBatchFullVO remoteBatchFullVOFirst,
RemoteBatchFullVO remoteBatchFullVOSecond)
Performs the core logic for remoteBatchFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO) |
protected abstract void |
handleRemoveBatch(RemoteBatchFullVO batch)
Performs the core logic for removeBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO) |
boolean |
remoteBatchFullVOsAreEqual(RemoteBatchFullVO remoteBatchFullVOFirst,
RemoteBatchFullVO remoteBatchFullVOSecond)
|
boolean |
remoteBatchFullVOsAreEqualOnIdentifiers(RemoteBatchFullVO remoteBatchFullVOFirst,
RemoteBatchFullVO remoteBatchFullVOSecond)
|
void |
removeBatch(RemoteBatchFullVO batch)
|
void |
setBatchDao(BatchDao batchDao)
Sets the reference to batch 's DAO. |
void |
setProduceDao(ProduceDao produceDao)
Sets the reference to produce 's DAO. |
void |
setQuantificationMeasurementDao(QuantificationMeasurementDao quantificationMeasurementDao)
Sets the reference to quantificationMeasurement 's DAO. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteBatchFullServiceBase()
Method Detail |
---|
public void setBatchDao(BatchDao batchDao)
batch
's DAO.
protected BatchDao getBatchDao()
batch
's DAO.
public void setQuantificationMeasurementDao(QuantificationMeasurementDao quantificationMeasurementDao)
quantificationMeasurement
's DAO.
protected QuantificationMeasurementDao getQuantificationMeasurementDao()
quantificationMeasurement
's DAO.
public void setProduceDao(ProduceDao produceDao)
produce
's DAO.
protected ProduceDao getProduceDao()
produce
's DAO.
public void removeBatch(RemoteBatchFullVO batch)
removeBatch
in interface RemoteBatchFullService
RemoteBatchFullService.removeBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO)
protected abstract void handleRemoveBatch(RemoteBatchFullVO batch) throws java.lang.Exception
removeBatch(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO)
java.lang.Exception
public RemoteBatchFullVO[] getAllBatch()
getAllBatch
in interface RemoteBatchFullService
RemoteBatchFullService.getAllBatch()
protected abstract RemoteBatchFullVO[] handleGetAllBatch() throws java.lang.Exception
getAllBatch()
java.lang.Exception
public RemoteBatchFullVO getBatchById(java.lang.Integer id)
getBatchById
in interface RemoteBatchFullService
RemoteBatchFullService.getBatchById(java.lang.Integer)
protected abstract RemoteBatchFullVO handleGetBatchById(java.lang.Integer id) throws java.lang.Exception
getBatchById(java.lang.Integer)
java.lang.Exception
public RemoteBatchFullVO[] getBatchByIds(java.lang.Integer[] id)
getBatchByIds
in interface RemoteBatchFullService
RemoteBatchFullService.getBatchByIds(java.lang.Integer[])
protected abstract RemoteBatchFullVO[] handleGetBatchByIds(java.lang.Integer[] id) throws java.lang.Exception
getBatchByIds(java.lang.Integer[])
java.lang.Exception
public RemoteBatchFullVO[] getBatchByParentBatchId(java.lang.Integer id)
getBatchByParentBatchId
in interface RemoteBatchFullService
RemoteBatchFullService.getBatchByParentBatchId(java.lang.Integer)
protected abstract RemoteBatchFullVO[] handleGetBatchByParentBatchId(java.lang.Integer id) throws java.lang.Exception
getBatchByParentBatchId(java.lang.Integer)
java.lang.Exception
public boolean remoteBatchFullVOsAreEqualOnIdentifiers(RemoteBatchFullVO remoteBatchFullVOFirst, RemoteBatchFullVO remoteBatchFullVOSecond)
remoteBatchFullVOsAreEqualOnIdentifiers
in interface RemoteBatchFullService
RemoteBatchFullService.remoteBatchFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO)
protected abstract boolean handleRemoteBatchFullVOsAreEqualOnIdentifiers(RemoteBatchFullVO remoteBatchFullVOFirst, RemoteBatchFullVO remoteBatchFullVOSecond) throws java.lang.Exception
remoteBatchFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO)
java.lang.Exception
public boolean remoteBatchFullVOsAreEqual(RemoteBatchFullVO remoteBatchFullVOFirst, RemoteBatchFullVO remoteBatchFullVOSecond)
remoteBatchFullVOsAreEqual
in interface RemoteBatchFullService
RemoteBatchFullService.remoteBatchFullVOsAreEqual(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO)
protected abstract boolean handleRemoteBatchFullVOsAreEqual(RemoteBatchFullVO remoteBatchFullVOFirst, RemoteBatchFullVO remoteBatchFullVOSecond) throws java.lang.Exception
remoteBatchFullVOsAreEqual(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO, fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchFullVO)
java.lang.Exception
public RemoteBatchNaturalId[] getBatchNaturalIds()
getBatchNaturalIds
in interface RemoteBatchFullService
RemoteBatchFullService.getBatchNaturalIds()
protected abstract RemoteBatchNaturalId[] handleGetBatchNaturalIds() throws java.lang.Exception
getBatchNaturalIds()
java.lang.Exception
public RemoteBatchFullVO getBatchByNaturalId(RemoteBatchNaturalId batchNaturalId)
getBatchByNaturalId
in interface RemoteBatchFullService
RemoteBatchFullService.getBatchByNaturalId(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchNaturalId)
protected abstract RemoteBatchFullVO handleGetBatchByNaturalId(RemoteBatchNaturalId batchNaturalId) throws java.lang.Exception
getBatchByNaturalId(fr.ifremer.allegro.data.batch.generic.vo.RemoteBatchNaturalId)
java.lang.Exception
public RemoteBatchNaturalId getBatchNaturalIdById(java.lang.Integer id)
getBatchNaturalIdById
in interface RemoteBatchFullService
RemoteBatchFullService.getBatchNaturalIdById(java.lang.Integer)
protected abstract RemoteBatchNaturalId handleGetBatchNaturalIdById(java.lang.Integer id) throws java.lang.Exception
getBatchNaturalIdById(java.lang.Integer)
java.lang.Exception
public ClusterBatch getClusterBatchByIdentifiers(java.lang.Integer id)
getClusterBatchByIdentifiers
in interface RemoteBatchFullService
RemoteBatchFullService.getClusterBatchByIdentifiers(java.lang.Integer)
protected abstract ClusterBatch handleGetClusterBatchByIdentifiers(java.lang.Integer id) throws java.lang.Exception
getClusterBatchByIdentifiers(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 |