Class HttpContextData

    • Method Detail

      • getBaseUrl

        public String getBaseUrl()
        Specified by:
        getBaseUrl in interface IHttpContextData
        Returns:
        The base URL of the current HTTP request, i.e. the context path with the protocol, server, and port.
      • getContextPath

        public String getContextPath()
        Specified by:
        getContextPath in interface IHttpContextData
        Returns:
        The context path of the current HTTP request, i.e. the path where the FORMCYCLE application is running.
      • getSessionId

        public String getSessionId()
        Specified by:
        getSessionId in interface IHttpContextData
        Returns:
        The session ID of the current HTTP session. Empty string when there is not HTTP session.
      • isFormCheckRequested

        public boolean isFormCheckRequested()
        Specified by:
        isFormCheckRequested in interface IHttpContextData
        Returns:
        true to indicate the form should be validated on the server, or false otherwise.
      • isPreviewRequested

        public boolean isPreviewRequested()
        Specified by:
        isPreviewRequested in interface IHttpContextData
        Returns:
        true if a preview was requested, false otherwise.
      • isReviewRequested

        public boolean isReviewRequested()
        Specified by:
        isReviewRequested in interface IHttpContextData
        Returns:
        true if a review was requested (when opening a form in the inbox), or false otherwise.
      • isSaveRequested

        public boolean isSaveRequested()
        Specified by:
        isSaveRequested in interface IHttpContextData
        Returns:
        Whether the form record should only be saved, i.e. when the user submitted the form via a save button. Both submit and save buttons are treated equally as in that they both trigger the workflow to be executed. The main difference is that the default Vorgang.isSaved() will be set to true buttons.