public abstract class EnrollOutput extends java.lang.Object implements IProfileOutput
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector<java.lang.String> |
mConfigNames |
| Constructor and Description |
|---|
EnrollOutput() |
| Modifier and Type | Method and Description |
|---|---|
void |
addValueName(java.lang.String name) |
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<java.lang.String> |
getConfigNames()
Returns a list of configuration parameter names.
|
IConfigStore |
getConfigStore()
Retrieves configuration store.
|
java.lang.String |
getDefaultConfig(java.lang.String name) |
abstract java.lang.String |
getName(java.util.Locale locale)
Retrieves the localizable name of this policy.
|
abstract java.lang.String |
getText(java.util.Locale locale)
Retrieves the localizable description of this policy.
|
java.lang.String |
getValue(java.lang.String name,
java.util.Locale locale,
IRequest request)
Retrieves the value of the given value parameter by name.
|
abstract IDescriptor |
getValueDescriptor(java.util.Locale locale,
java.lang.String name)
Retrieves the descriptor of the given value
parameter by name.
|
java.util.Enumeration<java.lang.String> |
getValueNames()
Retrieves a list of names of the value parameter.
|
void |
init(IProfile profile,
IConfigStore config)
Initializes this default policy.
|
abstract void |
populate(IProfileContext ctx,
IRequest request)
Populates the request with this policy default.
|
void |
setConfig(java.lang.String name,
java.lang.String value)
Sets configuration parameter.
|
void |
setValue(java.lang.String name,
java.util.Locale locale,
IRequest request,
java.lang.String value)
Sets the value of the given value parameter by name.
|
public void init(IProfile profile, IConfigStore config) throws EProfileException
init in interface IProfileOutputprofile - owner of this policyconfig - configuration storeEProfileException - failed to initializepublic IConfigStore getConfigStore()
IProfileOutputgetConfigStore in interface IProfileOutputpublic void addValueName(java.lang.String name)
public abstract void populate(IProfileContext ctx, IRequest request) throws EProfileException
populate in interface IProfileOutputctx - profile contextrequest - requestEProfileException - failed to populatepublic abstract IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
getValueDescriptor in interface IProfileOutputlocale - user localename - property namepublic abstract java.lang.String getName(java.util.Locale locale)
getName in interface IProfileOutputlocale - user localepublic abstract java.lang.String getText(java.util.Locale locale)
getText in interface IProfileOutputlocale - user localepublic java.util.Enumeration<java.lang.String> getValueNames()
getValueNames in interface IProfileOutputpublic java.lang.String getValue(java.lang.String name,
java.util.Locale locale,
IRequest request)
throws EProfileException
IProfileOutputgetValue in interface IProfileOutputname - property namelocale - user localerequest - requestEProfileException - failed to retrieve valuepublic void setValue(java.lang.String name,
java.util.Locale locale,
IRequest request,
java.lang.String value)
throws EPropertyException
setValue in interface IProfileOutputname - property namelocale - user localerequest - requestvalue - property valueEPropertyExceptionpublic java.util.Enumeration<java.lang.String> getConfigNames()
IConfigTemplategetConfigNames in interface IConfigTemplatepublic IDescriptor getConfigDescriptor(java.util.Locale locale, java.lang.String name)
IConfigTemplategetConfigDescriptor in interface IConfigTemplatelocale - user localename - configuration parameter namepublic void setConfig(java.lang.String name,
java.lang.String value)
throws EPropertyException
IConfigTemplatesetConfig in interface IConfigTemplatename - parameter namevalue - parameter valueEPropertyException - failed to set parameterpublic java.lang.String getConfig(java.lang.String name)
IConfigTemplategetConfig in interface IConfigTemplatepublic java.lang.String getDefaultConfig(java.lang.String name)