public class GetConfigAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
private I18nUtils |
_i18nUtils |
manager
EMPTY_MAP
Constructor and Description |
---|
GetConfigAction() |
Modifier and Type | Method and Description |
---|---|
private Map<String,Object> |
_getCategoryConfig(I18nizableText categoryKey,
ConfigParameterCategory category,
Map<String,ConfigParameterCheckerDescriptor> checkers) |
private Map<String,Object> |
_getConfiguration(Map<I18nizableText,ConfigParameterCategory> categories,
Map<String,ConfigParameterCheckerDescriptor> checkers) |
private Map<String,Object> |
_getGroupConfig(ConfigParameterGroup group,
Map<String,ConfigParameterCheckerDescriptor> checkers) |
private Map<String,Object> |
_getParamConfig(ConfigParameter param,
Map<String,ConfigParameterCheckerDescriptor> checkers) |
private Map<I18nizableText,ConfigParameterCategory> |
_sortCategories(Map<I18nizableText,ConfigParameterCategory> categories) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private I18nUtils _i18nUtils
public GetConfigAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private Map<I18nizableText,ConfigParameterCategory> _sortCategories(Map<I18nizableText,ConfigParameterCategory> categories)
private Map<String,Object> _getConfiguration(Map<I18nizableText,ConfigParameterCategory> categories, Map<String,ConfigParameterCheckerDescriptor> checkers) throws ProcessingException
ProcessingException
private Map<String,Object> _getCategoryConfig(I18nizableText categoryKey, ConfigParameterCategory category, Map<String,ConfigParameterCheckerDescriptor> checkers) throws ProcessingException
ProcessingException
private Map<String,Object> _getGroupConfig(ConfigParameterGroup group, Map<String,ConfigParameterCheckerDescriptor> checkers) throws ProcessingException
ProcessingException
private Map<String,Object> _getParamConfig(ConfigParameter param, Map<String,ConfigParameterCheckerDescriptor> checkers) throws ProcessingException
ProcessingException