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

    Constructors
    Constructor
    Description
    BusinessLogicProcessingContext(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 Type
    Method
    Description
    de.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
     

    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BusinessLogicProcessingContext

      public BusinessLogicProcessingContext(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.

      Note: the constructor does not check if any of the given parameters is null. These checks are left to the caller.

      Parameters:
      p_appCtx - The Spring application context.
      p_conn - The system database connection.
      p_request - The request.
      p_response - The response.
      p_session - The session.
      p_sharedState - The shared state.
      p_viewData - The values posted by the client.
  • Method Details

    • getConnection

      public de.uplanet.jdbc.JdbcConnection getConnection()
      Get the system database connection.
      Specified by:
      getConnection in interface de.uplanet.lucy.server.IDatabaseProcessingContext
      Overrides:
      getConnection in class de.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
      Returns:
      The system database connection.
    • getRequest

      public IServerBridgeRequest getRequest()
      Get the Web request.
      Returns:
      The Web request object.
    • getResponse

      public IServerBridgeResponse getResponse()
      Get the Web response.
      Specified by:
      getResponse in interface de.uplanet.lucy.server.engine.http.IHttpProcessingContext
      Overrides:
      getResponse in class de.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
      Returns:
      The Web response object.
    • hasView

      public boolean hasView()
      Specified by:
      hasView in interface de.uplanet.lucy.server.engine.http.IHttpProcessingContext
      Overrides:
      hasView in class de.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
    • getViewData

      public IViewData 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 interface de.uplanet.lucy.server.engine.http.IHttpProcessingContext
      Overrides:
      getViewData in class de.uplanet.lucy.server.businesslogic.AbstractBusinessLogicProcessingContext
      Returns:
      The values that were posted by the client, or null if no view was restored on the server.