Interface PageEngineClient
-
- All Known Subinterfaces:
SpringMvcPageEngineClient
public interface PageEngineClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
renderPage(String path, String clientPageContent)
Renders an iKnowBase page, using the supplied clientPageContent as an iKnowBase client page.String
renderTemplate(String templateFile, Map<String,?> model)
Renders a file-based template using both the iKnowBase-provided model objects and the model supplied with the method call, giving priority to the latter.
-
-
-
Method Detail
-
renderTemplate
String renderTemplate(String templateFile, Map<String,?> model)
Renders a file-based template using both the iKnowBase-provided model objects and the model supplied with the method call, giving priority to the latter.- Parameters:
templateFile
- filename of template filemodel
- map of model objects to use- Returns:
- String content representing rendered template
-
renderPage
String renderPage(String path, String clientPageContent)
Renders an iKnowBase page, using the supplied clientPageContent as an iKnowBase client page.- Parameters:
path
- path to iKnowBase page, as defined in Development StudioclientPageContent
- string containing content to be exposed as client page- Returns:
- String representing rendered page content
- Throws:
SecurityException
- if execution user does not have access to the iKnowBase page
-
-