|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 keypublic 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 keyMethod Detail |
---|
public java.lang.String getName()
RenderingPluginType
String
containing only alphanumeric characters.
It must not contains spaces or special characters.
For example, "IBM", "CTC" or "Dates".
getName
in interface RenderingPluginType
RenderingPluginType.getName()
public ListModel<java.util.Locale> getLocales()
Localized
getLocales
in interface Localized
ListModel
if no locales are supported.Localized.getLocales()
public java.lang.String getTitle(java.util.Locale locale)
RenderingPluginType
getTitle
in interface Localized
getTitle
in interface RenderingPluginType
locale
- 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 Localized
getDescription
in interface RenderingPluginType
locale
- 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 |