Interface I_CmsJsonDocument
-
- All Known Implementing Classes:
CmsJsonDocumentContainerPage
,CmsJsonDocumentEmbeddedXmlContent
,CmsJsonDocumentFolder
,CmsJsonDocumentList
,CmsJsonDocumentResource
,CmsJsonDocumentXmlContent
public interface I_CmsJsonDocument
Interface representing a JSON document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getJson()
Returns the JSON document.
-
-
-
Method Detail
-
getJson
java.lang.Object getJson() throws JSONException, CmsException, CmsJsonHandlerException, CmsJsonHandlerXmlContent.PathNotFoundException, java.lang.Exception
Returns the JSON document.- Returns:
- the JSON document
- Throws:
JSONException
- if rendering the JSON document failsCmsException
- if reading a resource or evaluating a SOLR search failsCmsJsonHandlerException
- if the request is not valid according to the specificationCmsJsonHandlerXmlContent.PathNotFoundException
- if the selected path does not existjava.lang.Exception
- if something else goes wrong
-
-