public interface ErrorHandlingService
Modifier and Type | Method and Description |
---|---|
RollbackInfoList |
findRollbackInfos(RollbackInfoCriteria criteria)
Returns all rollback information for given agent.
|
ModelInstance |
getErrorModelInstance(long rollbackInfoId,
long errorModelInstanceId)
Returns model instance at the time of exception.
|
RollbackInfo |
getRollbackInfo(long rollbackInfoId)
Retrieves a full rollback info instance.
|
void |
removeRollbackInfo(long rollbackInfoId)
Removes given rollback info.
|
boolean |
retryOperation(long rollbackInfoId)
Re-sends given communication unit to the agent.
|
RollbackInfo getRollbackInfo(long rollbackInfoId)
EngineRights.READ_ROLLBACK_INFO
rollbackInfoId
- the identifier of the rollback infoRollbackInfoList findRollbackInfos(RollbackInfoCriteria criteria)
EngineRights.READ_ROLLBACK_INFO
criteria
- the agent name.RollbackInfo
objects.boolean retryOperation(long rollbackInfoId) throws RollbackInfoNotFoundException
EngineRights.RESEND_ROLLBACK_INFO
rollbackInfoId
- the RollbackInfo.getId()
value.RollbackInfoNotFoundException
- if no rollback-info can be found for the given idvoid removeRollbackInfo(long rollbackInfoId) throws RollbackInfoNotFoundException
EngineRights.REMOVE_ROLLBACK_INFO
rollbackInfoId
- the RollbackInfo.getId()
valueRollbackInfoNotFoundException
- if no rollback-info can be found for the given idModelInstance getErrorModelInstance(long rollbackInfoId, long errorModelInstanceId) throws RollbackInfoNotFoundException, ModelInstanceStateException
rollbackInfoId
- errorModelInstanceId
- RollbackInfoNotFoundException
ModelInstanceStateException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.