Package org.ametys.odf.enumeration
Class CertificationLabels
- java.lang.Object
-
- org.ametys.odf.enumeration.CertificationLabels
-
- All Implemented Interfaces:
PluginAware
,Component
,Configurable
,Serviceable
public class CertificationLabels extends Object implements Serviceable, Configurable, Component, PluginAware
Component for certification labels
-
-
Constructor Summary
Constructors Constructor Description CertificationLabels()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
Map<String,I18nizableText>
getLabels()
Get the labelsI18nizableText
getLabelTitle(String value)
Get the title of a labelvoid
service(ServiceManager smanager)
void
setPluginInfo(String pluginName, String featureName, String id)
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.
-
-
-
Constructor Detail
-
CertificationLabels
public CertificationLabels()
-
-
Method Detail
-
setPluginInfo
public void setPluginInfo(String pluginName, String featureName, String id)
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getLabelTitle
public I18nizableText getLabelTitle(String value)
Get the title of a label- Parameters:
value
- the code of label- Returns:
- the label's title
-
getLabels
public Map<String,I18nizableText> getLabels()
Get the labels- Returns:
- the labels
-
-