public class SynchronizeContentsCollectionModelExtensionPoint.SynchronizableContentsCollectionModelParameterParser extends AbstractParameterParser<Parameter<ParameterHelper.ParameterType>,ParameterHelper.ParameterType>
SynchronizableContentsCollectionModel
_enumeratorManager, _validatorManager
Constructor and Description |
---|
SynchronizableContentsCollectionModelParameterParser(ThreadSafeComponentManager<Enumerator> enumeratorManager,
ThreadSafeComponentManager<Validator> validatorManager)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
_additionalParsing(ServiceManager manager,
String pluginName,
Configuration parameterConfig,
String parameterId,
Parameter<ParameterHelper.ParameterType> parameter)
Called for additional parsing.
Default implementation does nothing. |
protected Parameter<ParameterHelper.ParameterType> |
_createParameter(Configuration parameterConfig)
Create the parameter to populate it.
|
protected Object |
_parseDefaultValue(Configuration parameterConfig,
Parameter<ParameterHelper.ParameterType> parameter)
Parses the default value.
|
protected String |
_parseId(Configuration parameterConfig)
Parses the id.
|
protected ParameterHelper.ParameterType |
_parseType(Configuration parameterConfig)
Parses the type.
|
_parseAndSetEnumerator, _parseAndSetValidator, _parseI18nizableText, _parseWidget, _parseWidgetParameters, lookupComponents, parseParameter
public SynchronizableContentsCollectionModelParameterParser(ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager)
enumeratorManager
- The manager for enumerationvalidatorManager
- The manager for validationprotected Parameter<ParameterHelper.ParameterType> _createParameter(Configuration parameterConfig) throws ConfigurationException
AbstractParameterParser
_createParameter
in class AbstractParameterParser<Parameter<ParameterHelper.ParameterType>,ParameterHelper.ParameterType>
parameterConfig
- the parameter configuration to use.ConfigurationException
- if the configuration is not valid.protected String _parseId(Configuration parameterConfig) throws ConfigurationException
AbstractParameterParser
_parseId
in class AbstractParameterParser<Parameter<ParameterHelper.ParameterType>,ParameterHelper.ParameterType>
parameterConfig
- the parameter configuration to use.ConfigurationException
- if the configuration is not valid.protected ParameterHelper.ParameterType _parseType(Configuration parameterConfig) throws ConfigurationException
AbstractParameterParser
_parseType
in class AbstractParameterParser<Parameter<ParameterHelper.ParameterType>,ParameterHelper.ParameterType>
parameterConfig
- the parameter configuration to use.ConfigurationException
- if the configuration is not valid.protected Object _parseDefaultValue(Configuration parameterConfig, Parameter<ParameterHelper.ParameterType> parameter) throws ConfigurationException
AbstractParameterParser
_parseDefaultValue
in class AbstractParameterParser<Parameter<ParameterHelper.ParameterType>,ParameterHelper.ParameterType>
parameterConfig
- the parameter configuration.parameter
- the parameter.null
if none defined.ConfigurationException
- if the configuration is not valid.protected void _additionalParsing(ServiceManager manager, String pluginName, Configuration parameterConfig, String parameterId, Parameter<ParameterHelper.ParameterType> parameter) throws ConfigurationException
AbstractParameterParser
_additionalParsing
in class AbstractParameterParser<Parameter<ParameterHelper.ParameterType>,ParameterHelper.ParameterType>
manager
- the sservice manager.pluginName
- the plugin name.parameterConfig
- the parameter configuration.parameterId
- the parameter id.parameter
- the parameter to populate.ConfigurationException
- if the configuration is not valid.