Package org.ametys.cms.languages
Class WorkflowLanguageManager
java.lang.Object
org.ametys.plugins.workflow.component.WorkflowLanguageManager
org.ametys.cms.languages.WorkflowLanguageManager
- All Implemented Interfaces:
Component,Contextualizable,Serviceable
Class for managing workflow's languages
-
Field Summary
FieldsFields inherited from class org.ametys.plugins.workflow.component.WorkflowLanguageManager
_context, ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a set of the authorized languages for current application Must be overriden by CMS to access itvoidservice(ServiceManager manager) Methods inherited from class org.ametys.plugins.workflow.component.WorkflowLanguageManager
contextualize, getCurrentLanguage
-
Field Details
-
_languagesManager
The language manager
-
-
Constructor Details
-
WorkflowLanguageManager
public WorkflowLanguageManager()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getLanguages
Description copied from class:WorkflowLanguageManagerGet a set of the authorized languages for current application Must be overriden by CMS to access it- Overrides:
getLanguagesin classWorkflowLanguageManager- Returns:
- a set of the languages codes
-