public class AsyncHelper extends Object
setAsyncRequestStatus
operation or the remote
async request bean are used.RemoteAsyncHelper
Constructor and Description |
---|
AsyncHelper(RequestExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
void |
onBizError(String errorMsg) |
void |
onCancel() |
void |
onError(String errorMsg) |
void |
onPause(String pausedState) |
void |
onSuccess() |
void |
onWarning(String warningMsg) |
void |
setRequestStatus(AsyncStatus status,
String statusMessage) |
public AsyncHelper(RequestExecutionContext context) throws NamingException
NamingException
public final void onSuccess() throws RuntimeServiceException, RequestNotFoundException
public final void onError(String errorMsg) throws RuntimeServiceException, RequestNotFoundException
public final void onBizError(String errorMsg) throws RuntimeServiceException, RequestNotFoundException
public final void onWarning(String warningMsg) throws RuntimeServiceException, RequestNotFoundException
public final void onPause(String pausedState) throws RuntimeServiceException, RequestNotFoundException
public final void onCancel() throws RuntimeServiceException, RequestNotFoundException
public void setRequestStatus(AsyncStatus status, String statusMessage) throws RuntimeServiceException, RequestNotFoundException