Interface I_CmsCoreProvider


public interface I_CmsCoreProvider
Convenience interface to provide core server-side data to the client.

Since:
8.0.0
See Also:
  • org.opencms.gwt.client.CmsCoreProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    export(javax.servlet.http.HttpServletRequest request)
    Returns the JSON code for the core provider and the given message bundle.
    exportAll(javax.servlet.http.HttpServletRequest request)
    Returns the JSON code for the provider with dependencies.
    getData(javax.servlet.http.HttpServletRequest request)
    Returns the provided json data.
  • Method Details

    • export

      String export(javax.servlet.http.HttpServletRequest request) throws Exception
      Returns the JSON code for the core provider and the given message bundle.

      Parameters:
      request - the current request
      Returns:
      the JSON code
      Throws:
      Exception
    • exportAll

      String exportAll(javax.servlet.http.HttpServletRequest request) throws Exception
      Returns the JSON code for the provider with dependencies.

      Parameters:
      request - the current request
      Returns:
      the JSON code
      Throws:
      Exception
    • getData

      JSONObject getData(javax.servlet.http.HttpServletRequest request)
      Returns the provided json data.

      Parameters:
      request - the current request
      Returns:
      the provided json data