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
Fields inherited from class org.ametys.plugins.workflow.component.WorkflowLanguageManager
_context, ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a set of the authorized languages for current application Must be overriden by CMS to access itvoid
service
(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:
service
in interfaceServiceable
- Throws:
ServiceException
-
getLanguages
Description copied from class:WorkflowLanguageManager
Get a set of the authorized languages for current application Must be overriden by CMS to access it- Overrides:
getLanguages
in classWorkflowLanguageManager
- Returns:
- a set of the languages codes
-