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 Details

    • hasError

      boolean hasError()
      Returns:
      true if the processing context contains an error, or false otherwise..
    • getError

      Throwable getError()
      Get the context error.
      Returns:
      If hasError() is true 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, or false otherwise.
    • getErrorResponseData

      ErrorResponseData getErrorResponseData()
      Get the context error response data.
      Returns:
      If hasErrorResponseData() is true 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.