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 Throwable
getError()
Get the context error.String
getErrorHandlerId()
Get the identifier of a suitable error handler.ErrorResponseData
getErrorResponseData()
Get the context error response data.boolean
hasError()
boolean
hasErrorHandlerId()
Get the identifier of a suitable error handler.boolean
hasErrorResponseData()
void
setError(Throwable p_error)
Set the context error.void
setErrorHandlerId(String p_strErrorHandlerId)
Set the identifier of a suitable error handler.void
setErrorResponseData(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:
true
if the processing context contains an error, orfalse
otherwise..
-
getError
Throwable getError()
Get the context error.- Returns:
- If
hasError()
istrue
this 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:
true
if the processing context contains error response data, orfalse
otherwise.
-
getErrorResponseData
ErrorResponseData getErrorResponseData()
Get the context error response data.- Returns:
- If
hasErrorResponseData()
istrue
this 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.
-
-