Schnittstelle IWebProcessingContext
- Alle Superschnittstellen:
IDatabaseProcessingContext,IHttpProcessingContext,IProcessingContext,IRequestProcessingContext,ISessionProcessingContext,ISharedStateProcessingContext,de.uplanet.lucy.server.ISimpleProcessingContext
- Alle bekannten Unterschnittstellen:
IBusinessLogicProcessingContext
- Alle bekannten Implementierungsklassen:
RestrictedBusinessLogicProcessingContext
@Scriptable
public interface IWebProcessingContext
extends de.uplanet.lucy.server.ISimpleProcessingContext, IHttpProcessingContext
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetError()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.Von Schnittstelle geerbte Methoden de.uplanet.lucy.server.IDatabaseProcessingContext
getConnectionVon Schnittstelle geerbte Methoden de.uplanet.lucy.server.engine.http.IHttpProcessingContext
getResponse, getViewData, hasView, setViewDataVon Schnittstelle geerbte Methoden de.uplanet.lucy.server.IProcessingContext
getApplicationContext, getContextValueProviderVon Schnittstelle geerbte Methoden de.uplanet.lucy.server.connector.IRequestProcessingContext
getRequestVon Schnittstelle geerbte Methoden de.uplanet.lucy.server.ISessionProcessingContext
getImpersonateUserGuid, getSession, getUserTimeZone, isImpersonated, popImpersonateUserGuid, popSession, pushImpersonateUserGuid, pushSessionVon Schnittstelle geerbte Methoden de.uplanet.lucy.server.ISharedStateProcessingContext
getSharedState
-
Methodendetails
-
hasError
boolean hasError()- Gibt zurück:
trueif the processing context contains an error, orfalseotherwise..
-
getError
Throwable getError()Get the context error.- Gibt zurück:
- If
hasError()istruethis method returns an exception that's related to the cause of the error.
-
setError
Set the context error.- Parameter:
p_error- The context error.
-
hasErrorResponseData
boolean hasErrorResponseData()- Gibt zurück:
trueif the processing context contains error response data, orfalseotherwise.
-
getErrorResponseData
ErrorResponseData getErrorResponseData()Get the context error response data.- Gibt zurück:
- If
hasErrorResponseData()istruethis method returns an error response object.
-
setErrorResponseData
Set the context error response data.- Parameter:
p_errorResponseData- The context error response data.
-
hasErrorHandlerId
boolean hasErrorHandlerId()Get the identifier of a suitable error handler.- Gibt zurück:
- The identifier of an error handler, or
null.
-
getErrorHandlerId
String getErrorHandlerId()Get the identifier of a suitable error handler.- Gibt zurück:
- The identifier of an error handler, or
null.
-
setErrorHandlerId
Set the identifier of a suitable error handler.- Parameter:
p_strErrorHandlerId- The identifier of an error handler.
-