Class BusinessLogicProcessingContext
java.lang.Object
de.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
de.uplanet.lucy.server.businesslogic.BusinessLogicProcessingContext
- All Implemented Interfaces:
de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext
,de.uplanet.lucy.server.connector.IRequestProcessingContext
,de.uplanet.lucy.server.engine.http.IHttpProcessingContext
,de.uplanet.lucy.server.engine.http.IWebProcessingContext
,de.uplanet.lucy.server.IDatabaseProcessingContext
,de.uplanet.lucy.server.IProcessingContext
,de.uplanet.lucy.server.ISessionProcessingContext
,de.uplanet.lucy.server.ISharedStateProcessingContext
,de.uplanet.lucy.server.ISimpleProcessingContext
,de.uplanet.util.IDumpable
public final class BusinessLogicProcessingContext
extends de.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
-
Constructor Summary
ConstructorDescriptionBusinessLogicProcessingContext
(org.springframework.context.ApplicationContext p_appCtx, de.uplanet.jdbc.JdbcConnection p_conn, IServerBridgeRequest p_request, IServerBridgeResponse p_response, ISession p_session, SharedState p_sharedState, IViewData p_viewData) Creates the processing context. -
Method Summary
Modifier and TypeMethodDescriptionde.uplanet.jdbc.JdbcConnection
Get the system database connection.Get the Web request.Get the Web response.Get a class that contains the values posted by the client.boolean
hasView()
Methods inherited from class de.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
dump, getApplicationContext, getContextValueProvider, getError, getErrorHandlerId, getErrorResponseData, getImpersonateUserGuid, getSession, getSharedState, getUserTimeZone, hasError, hasErrorHandlerId, hasErrorResponseData, internalPeekRecord, internalPeekRtDataGroup, internalPopRecord, internalPopRtDataGroup, internalPushRecord, internalPushRtDataGroup, isImpersonated, popImpersonateUserGuid, popSession, pushImpersonateUserGuid, pushSession, setError, setErrorHandlerId, setErrorResponseData, setViewData
-
Constructor Details
-
Method Details
-
getConnection
public de.uplanet.jdbc.JdbcConnection getConnection()Get the system database connection.- Specified by:
getConnection
in interfacede.uplanet.lucy.server.IDatabaseProcessingContext
- Overrides:
getConnection
in classde.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
- Returns:
- The system database connection.
-
getRequest
Get the Web request.- Returns:
- The Web request object.
-
getResponse
Get the Web response.- Specified by:
getResponse
in interfacede.uplanet.lucy.server.engine.http.IHttpProcessingContext
- Overrides:
getResponse
in classde.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
- Returns:
- The Web response object.
-
hasView
public boolean hasView()- Specified by:
hasView
in interfacede.uplanet.lucy.server.engine.http.IHttpProcessingContext
- Overrides:
hasView
in classde.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
-
getViewData
Get a class that contains the values posted by the client. Used in the BL to get values by the field guid, control name, control guid.- Specified by:
getViewData
in interfacede.uplanet.lucy.server.engine.http.IHttpProcessingContext
- Overrides:
getViewData
in classde.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
- Returns:
- The values that were posted by the client, or
null
if no view was restored on the server.
-