Class UISettingsService
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.services.UISettingsService
-
@Component public class UISettingsService extends java.lang.Object
Handles service calls for settings in IRIDA.
-
-
Constructor Summary
Constructors Constructor Description UISettingsService(IridaApiServicesConfig.IridaLocaleList locales, EmailController emailController, org.springframework.context.MessageSource messageSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getEmailConfigured()
Get if email is configured.java.util.List<Locale>
getLocales()
Get a list of all locales.java.util.List<Role>
getSystemRoles(java.util.Locale locale)
Get a list of all system roles.
-
-
-
Constructor Detail
-
UISettingsService
public UISettingsService(IridaApiServicesConfig.IridaLocaleList locales, EmailController emailController, org.springframework.context.MessageSource messageSource)
-
-
Method Detail
-
getLocales
public java.util.List<Locale> getLocales()
Get a list of all locales.- Returns:
- list of locales.
-
getSystemRoles
public java.util.List<Role> getSystemRoles(java.util.Locale locale)
Get a list of all system roles.- Parameters:
locale
- -Locale
- Returns:
- list of system roles.
-
getEmailConfigured
public java.lang.Boolean getEmailConfigured()
Get if email is configured.- Returns:
- if email is configured.
-
-