@Service @Extension public class RemoteSystemResponseHandlerImpl extends Object implements RemoteSystemResponseHandler
RemoteSystemResponseHandler.ResponseCode| Constructor and Description |
|---|
RemoteSystemResponseHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
io.tesler.api.data.dictionary.LOV |
getPostFunctionByCorrelationId(String correlationId)
Возвращает PostFunctionCd по correlationId
|
io.tesler.model.workflow.entity.WaitingRemoteSystem |
handleFinalResponse(String correlationId,
RemoteSystemResponseHandler.ResponseCode responseCode)
Выполняет обработку финального ответа смежной системы.
|
io.tesler.model.workflow.entity.WaitingRemoteSystem |
handlePartialResponse(String correlationId)
Выполняет обработку промежуточного ответа смежной системы
|
io.tesler.model.workflow.entity.WaitingRemoteSystem |
handlePartialResponse(String correlationId,
RemoteSystemResponseHandler.ResponseCode responseCode)
Выполняет обработку промежуточного ответа смежной системы
|
io.tesler.model.workflow.entity.WaitingRemoteSystem |
handlePartialResponse(String correlationId,
String newCorrelationId)
Выполняет обработку промежуточного ответа смежной системы
|
io.tesler.model.workflow.entity.WaitingRemoteSystem |
handlePartialResponse(String correlationId,
String newCorrelationId,
RemoteSystemResponseHandler.ResponseCode responseCode)
Выполняет обработку промежуточного ответа смежной системы и регистрирует ожидание ответа по новому уникальному идентификатору
|
@Transactional public io.tesler.model.workflow.entity.WaitingRemoteSystem handleFinalResponse(String correlationId, RemoteSystemResponseHandler.ResponseCode responseCode)
handleFinalResponse in interface RemoteSystemResponseHandlercorrelationId - уникальный идентификаторresponseCode - тип ответа смежной системы@Transactional public io.tesler.model.workflow.entity.WaitingRemoteSystem handlePartialResponse(String correlationId, String newCorrelationId, RemoteSystemResponseHandler.ResponseCode responseCode)
handlePartialResponse in interface RemoteSystemResponseHandlercorrelationId - уникальный идентификаторnewCorrelationId - новый уникальный идентификатор@Transactional public io.tesler.model.workflow.entity.WaitingRemoteSystem handlePartialResponse(String correlationId, RemoteSystemResponseHandler.ResponseCode responseCode)
handlePartialResponse in interface RemoteSystemResponseHandlercorrelationId - уникальный идентификаторresponseCode - тип ответа смежной системы@Transactional public io.tesler.model.workflow.entity.WaitingRemoteSystem handlePartialResponse(String correlationId, String newCorrelationId)
handlePartialResponse in interface RemoteSystemResponseHandlercorrelationId - уникальный идентификаторnewCorrelationId - новый уникальный идентификатор@Transactional public io.tesler.model.workflow.entity.WaitingRemoteSystem handlePartialResponse(String correlationId)
handlePartialResponse in interface RemoteSystemResponseHandlercorrelationId - уникальный идентификаторpublic io.tesler.api.data.dictionary.LOV getPostFunctionByCorrelationId(String correlationId)
getPostFunctionByCorrelationId in interface RemoteSystemResponseHandlerCopyright © 2018–2020 Tesler. All rights reserved.