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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String export​(javax.servlet.http.HttpServletRequest request)
      Returns the JSON code for the core provider and the given message bundle.
      java.lang.String exportAll​(javax.servlet.http.HttpServletRequest request)
      Returns the JSON code for the provider with dependencies.
      JSONObject getData​(javax.servlet.http.HttpServletRequest request)
      Returns the provided json data.
    • Method Detail

      • export

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

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

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

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

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

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