Interface I_CmsJsonDocument
- All Known Implementing Classes:
CmsJsonDocumentContainerPage
,CmsJsonDocumentEmbeddedXmlContent
,CmsJsonDocumentFolder
,CmsJsonDocumentList
,CmsJsonDocumentResource
,CmsJsonDocumentXmlContent
public interface I_CmsJsonDocument
Interface representing a JSON document.
-
Method Summary
-
Method Details
-
getJson
Object getJson() throws JSONException, CmsException, CmsJsonHandlerException, CmsJsonHandlerXmlContent.PathNotFoundException, ExceptionReturns 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 existException
- if something else goes wrong
-