Package org.opencms.gwt
Interface I_CmsClientMessageBundle
- All Known Implementing Classes:
A_CmsClientMessageBundle
,ClientMessages
,ClientMessages
,ClientMessages
,ClientMessages
,ClientMessages
,ClientMessages
,ClientMessages
,ClientMessages
,ClientMessages
public interface I_CmsClientMessageBundle
Convenient client message bundle interface.
- Since:
- 8.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the JSON code for this resource bundle and given locale.Returns the JSON code for this resource bundle and given locale.Returns the JSON code for this resource bundle and given locale.export
(javax.servlet.http.HttpServletRequest request) Returns the JSON code for this resource bundle and the default locale.Returns the bundle name for this OpenCms package.Class<?>
Returns the class of the client implementation.
-
Method Details
-
export
Returns the JSON code for this resource bundle and the default locale.- Parameters:
request
- the current request to get the default locale from- Returns:
- the JSON code
-
export
Returns the JSON code for this resource bundle and given locale.- Parameters:
locale
- the locale to export- Returns:
- the JSON code
-
export
Returns the JSON code for this resource bundle and given locale.- Parameters:
locale
- the locale to exportwrapScript
-true
to wrap the data in a script tag- Returns:
- the JSON code
-
export
Returns the JSON code for this resource bundle and given locale.- Parameters:
localeName
- the name of the locale to export- Returns:
- the JSON code
-
getBundleName
Returns the bundle name for this OpenCms package.- Returns:
- the bundle name for this OpenCms package
-
getClientImpl
Returns the class of the client implementation.- Returns:
- the class of the client implementation
- Throws:
Exception
- if something goes wrong
-