Package | Description |
---|---|
com.gentics.api.portalnode.plugin |
Package for specific plugin implementations.
|
com.gentics.api.portalnode.portlet |
Package for the Gentics® specific Portlet implementations and enhancements.
|
com.gentics.api.portalnode.templateengine |
Package for classes and interfaces of the Gentics® Template Engine.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGenticsPlugin
Abstract class that provides a default implementation of the most
important plugin methods and should be used as base class for creating new
plugins
|
class |
ViewPlugin
Views plugin to manage multiple views (forms)
|
Modifier and Type | Method and Description |
---|---|
GenticsPlugin |
AbstractGenticsPlugin.getPlugin(java.lang.String Id) |
GenticsPlugin |
GenticsPluginServer.getPlugin(java.lang.String Id)
returns a plugin from the server (if registered), or else null
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractGenticsPlugin.registerPlugin(java.lang.String Id,
GenticsPlugin plugin) |
void |
GenticsPluginServer.registerPlugin(java.lang.String Id,
GenticsPlugin plugin)
allows to register plugins to the server so he can further distribute
events and forward actions as well as provide rendering facility
|
Modifier and Type | Method and Description |
---|---|
GenticsPlugin |
GenticsPortletContext.createPlugin(java.lang.String pluginType,
java.lang.String parameterPrefix,
javax.portlet.PortletConfig portletConfig)
create and initialize an instance of a plugin (defined by its pluginType)
|
GenticsPlugin |
AbstractGenticsPortlet.getPlugin(java.lang.String id)
returns the plugin that was registered via
AbstractGenticsPortlet.registerPlugin(String, GenticsPlugin) with the
given id |
Modifier and Type | Method and Description |
---|---|
void |
AbstractGenticsPortlet.registerPlugin(java.lang.String id,
GenticsPlugin plugin)
registers a plugin to this module.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TemplateProcessor.getOutput(java.util.Map[] maps,
GenticsPlugin plugin)
Parses the template source.
|
java.lang.String |
TemplateProcessor.getOutput(java.util.Map map,
GenticsPlugin plugin)
Parses the template source.
|
java.lang.String |
TemplateProcessor.getOutput(java.lang.String templateId,
GenticsPlugin plugin)
Parses the template source replacing variables with their actual values,
given by id, with the context The context constist of default objects
(i18n, formatters, ...) and the objects given via
TemplateProcessor.put(String, Object) |
java.lang.String |
TemplateProcessor.getOutputForSource(java.lang.String templateSource,
GenticsPlugin plugin)
Parses the given template source
|
java.lang.String |
TemplateProcessor.getTemplate(java.util.Map[] maps,
GenticsPlugin plugin)
Get the template source, given by a map of parameters and implements a
fallback according the array exception TemplateNotFoundException
|
java.lang.String |
TemplateProcessor.getTemplate(java.util.Map map,
GenticsPlugin plugin)
Get the template source, given by hashmap exception
TemplateNotFoundException
|
java.lang.String |
TemplateProcessor.getTemplate(java.lang.String templateId,
GenticsPlugin plugin)
Get the template source, given by id exception TemplateNotFoundException
|
Copyright © 2020 Gentics Software. All Rights Reserved.