Interface IWebProcessingContext
-
- All Superinterfaces:
IDatabaseProcessingContext,IHttpProcessingContext,IProcessingContext,IRequestProcessingContext,ISessionProcessingContext,ISharedStateProcessingContext,de.uplanet.lucy.server.ISimpleProcessingContext
- All Known Subinterfaces:
IBusinessLogicProcessingContext
- All Known Implementing Classes:
RestrictedBusinessLogicProcessingContext
@Scriptable public interface IWebProcessingContext extends de.uplanet.lucy.server.ISimpleProcessingContext, IHttpProcessingContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThrowablegetError()Get the context error.StringgetErrorHandlerId()Get the identifier of a suitable error handler.ErrorResponseDatagetErrorResponseData()Get the context error response data.booleanhasError()booleanhasErrorHandlerId()Get the identifier of a suitable error handler.booleanhasErrorResponseData()voidsetError(Throwable p_error)Set the context error.voidsetErrorHandlerId(String p_strErrorHandlerId)Set the identifier of a suitable error handler.voidsetErrorResponseData(ErrorResponseData p_errorResponseData)Set the context error response data.-
Methods inherited from interface de.uplanet.lucy.server.IDatabaseProcessingContext
getConnection
-
Methods inherited from interface de.uplanet.lucy.server.engine.http.IHttpProcessingContext
getResponse, getViewData, hasView, setViewData
-
Methods inherited from interface de.uplanet.lucy.server.IProcessingContext
getApplicationContext, getContextValueProvider
-
Methods inherited from interface de.uplanet.lucy.server.connector.IRequestProcessingContext
getRequest
-
Methods inherited from interface de.uplanet.lucy.server.ISessionProcessingContext
getImpersonateUserGuid, getSession, getUserTimeZone, isImpersonated, popImpersonateUserGuid, popSession, pushImpersonateUserGuid, pushSession
-
Methods inherited from interface de.uplanet.lucy.server.ISharedStateProcessingContext
getSharedState
-
-
-
-
Method Detail
-
hasError
boolean hasError()
- Returns:
trueif the processing context contains an error, orfalseotherwise..
-
getError
Throwable getError()
Get the context error.- Returns:
- If
hasError()istruethis method returns an exception that's related to the cause of the error.
-
setError
void setError(Throwable p_error)
Set the context error.- Parameters:
p_error- The context error.
-
hasErrorResponseData
boolean hasErrorResponseData()
- Returns:
trueif the processing context contains error response data, orfalseotherwise.
-
getErrorResponseData
ErrorResponseData getErrorResponseData()
Get the context error response data.- Returns:
- If
hasErrorResponseData()istruethis method returns an error response object.
-
setErrorResponseData
void setErrorResponseData(ErrorResponseData p_errorResponseData)
Set the context error response data.- Parameters:
p_errorResponseData- The context error response data.
-
hasErrorHandlerId
boolean hasErrorHandlerId()
Get the identifier of a suitable error handler.- Returns:
- The identifier of an error handler, or
null.
-
getErrorHandlerId
String getErrorHandlerId()
Get the identifier of a suitable error handler.- Returns:
- The identifier of an error handler, or
null.
-
setErrorHandlerId
void setErrorHandlerId(String p_strErrorHandlerId)
Set the identifier of a suitable error handler.- Parameters:
p_strErrorHandlerId- The identifier of an error handler.
-
-