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
Modifier and TypeMethodDescriptiongetError()Get the context error.Get the identifier of a suitable error handler.Get the context error response data.booleanhasError()booleanGet the identifier of a suitable error handler.booleanvoidSet 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
getConnectionMethods inherited from interface de.uplanet.lucy.server.engine.http.IHttpProcessingContext
getResponse, getViewData, hasView, setViewDataMethods inherited from interface de.uplanet.lucy.server.IProcessingContext
getApplicationContext, getContextValueProviderMethods inherited from interface de.uplanet.lucy.server.connector.IRequestProcessingContext
getRequestMethods inherited from interface de.uplanet.lucy.server.ISessionProcessingContext
getImpersonateUserGuid, getSession, getUserTimeZone, isImpersonated, popImpersonateUserGuid, popSession, pushImpersonateUserGuid, pushSessionMethods inherited from interface de.uplanet.lucy.server.ISharedStateProcessingContext
getSharedState
-
Method Details
-
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
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
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
Set the identifier of a suitable error handler.- Parameters:
p_strErrorHandlerId- The identifier of an error handler.
-