|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.workplace.wcm.api.plugin.rendering.RenderingPluginTypeImpl
public class RenderingPluginTypeImpl
Simple concrete implementation of RenderingPluginType.
| Constructor Summary | |
|---|---|
RenderingPluginTypeImpl(java.lang.String name,
java.lang.String titleKey,
java.lang.String descriptionKey)
Constructor |
|
RenderingPluginTypeImpl(java.lang.String name,
java.lang.String titleBundle,
java.lang.String titleKey,
java.lang.String descriptionBundle,
java.lang.String descriptionKey)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription(java.util.Locale locale)
The translated description of the plugin type, for example "This is a Rendering Plugin that is installed with the Content Template Catalog.". |
ListModel<java.util.Locale> |
getLocales()
Returns a list model containing the locales that are supported by this object. |
java.lang.String |
getName()
Returns the name for this rendering plugin type. |
java.lang.String |
getTitle(java.util.Locale locale)
The translated title of the plugin type, for example "Content Template Catalog Rendering Plugin". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenderingPluginTypeImpl(java.lang.String name,
java.lang.String titleKey,
java.lang.String descriptionKey)
name - Plugin nametitleKey - Plugin title keydescriptionKey - Plugin description key
public RenderingPluginTypeImpl(java.lang.String name,
java.lang.String titleBundle,
java.lang.String titleKey,
java.lang.String descriptionBundle,
java.lang.String descriptionKey)
name - Plugin nametitleBundle - Plugin title bundletitleKey - Plugin title keydescriptionBundle - Plugin description bundledescriptionKey - Plugin description key| Method Detail |
|---|
public java.lang.String getName()
RenderingPluginTypeString containing only alphanumeric characters.
It must not contains spaces or special characters.
For example, "IBM", "CTC" or "Dates".
getName in interface RenderingPluginTypeRenderingPluginType.getName()public ListModel<java.util.Locale> getLocales()
Localized
getLocales in interface LocalizedListModel if no locales are supported.Localized.getLocales()public java.lang.String getTitle(java.util.Locale locale)
RenderingPluginType
getTitle in interface LocalizedgetTitle in interface RenderingPluginTypelocale - the locale for which to retrieve the title, must not
be null.
null.
It is up to the invoker of the method to implement an appropriate
fallback mechanism.RenderingPluginType.getTitle(java.util.Locale)public java.lang.String getDescription(java.util.Locale locale)
RenderingPluginType
getDescription in interface LocalizedgetDescription in interface RenderingPluginTypelocale - the locale for which to retrieve the description, must not
be null.
null.
It is up to the invoker of the method to implement an appropriate
fallback mechanismRenderingPluginType.getDescription(java.util.Locale)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||