public class SubsystemGroupUpdater extends java.lang.Object implements IProfileUpdater
Constructor and Description |
---|
SubsystemGroupUpdater() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConfig(java.lang.String name)
Retrieves configuration parameter by name.
|
IDescriptor |
getConfigDescriptor(java.util.Locale locale,
java.lang.String name)
Returns the descriptors of configuration parameter.
|
java.util.Enumeration |
getConfigNames()
Returns a list of configuration parameter names.
|
IConfigStore |
getConfigStore()
Retrieves configuration store.
|
java.lang.String |
getName(java.util.Locale locale)
Retrieves the localizable name of this policy.
|
java.lang.String |
getText(java.util.Locale locale)
Retrieves the localizable description of this policy.
|
void |
init(IProfile profile,
IConfigStore config)
Initializes this default policy.
|
void |
setConfig(java.lang.String name,
java.lang.String value)
Sets configuration parameter.
|
void |
update(IRequest req,
RequestStatus status)
Notifies of state change.
|
public void init(IProfile profile, IConfigStore config) throws EProfileException
IProfileUpdater
init
in interface IProfileUpdater
profile
- owner of this policyconfig
- configuration storeEProfileException
- failed to initializepublic java.util.Enumeration getConfigNames()
IConfigTemplate
getConfigNames
in interface IConfigTemplate
public IDescriptor getConfigDescriptor(java.util.Locale locale, java.lang.String name)
IConfigTemplate
getConfigDescriptor
in interface IConfigTemplate
locale
- user localename
- configuration parameter namepublic void setConfig(java.lang.String name, java.lang.String value) throws EPropertyException
IConfigTemplate
setConfig
in interface IConfigTemplate
name
- parameter namevalue
- parameter valueEPropertyException
- failed to set parameterpublic java.lang.String getConfig(java.lang.String name)
IConfigTemplate
getConfig
in interface IConfigTemplate
public IConfigStore getConfigStore()
IProfileUpdater
getConfigStore
in interface IProfileUpdater
public void update(IRequest req, RequestStatus status) throws EProfileException
IProfileUpdater
update
in interface IProfileUpdater
req
- requeststatus
- The status to check for.EProfileException
- failed to populatepublic java.lang.String getName(java.util.Locale locale)
IProfileUpdater
getName
in interface IProfileUpdater
locale
- user localepublic java.lang.String getText(java.util.Locale locale)
IProfileUpdater
getText
in interface IProfileUpdater
locale
- user locale