public abstract class EnrollOutput extends ProfileOutput
| 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(IConfigStore config)
Initializes this default policy.
|
abstract void |
populate(java.util.Map<java.lang.String,java.lang.String> 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(IConfigStore config) throws EProfileException
init in class ProfileOutputconfig - configuration storeEProfileException - failed to initializepublic IConfigStore getConfigStore()
ProfileOutputgetConfigStore in class ProfileOutputpublic void addValueName(java.lang.String name)
public abstract void populate(java.util.Map<java.lang.String,java.lang.String> ctx,
IRequest request)
throws EProfileException
populate in class ProfileOutputctx - profile contextrequest - requestEProfileException - failed to populatepublic abstract IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
getValueDescriptor in class ProfileOutputlocale - user localename - property namepublic abstract java.lang.String getName(java.util.Locale locale)
getName in class ProfileOutputlocale - user localepublic abstract java.lang.String getText(java.util.Locale locale)
getText in class ProfileOutputlocale - user localepublic java.util.Enumeration<java.lang.String> getValueNames()
getValueNames in class ProfileOutputpublic java.lang.String getValue(java.lang.String name,
java.util.Locale locale,
IRequest request)
throws EProfileException
ProfileOutputgetValue in class ProfileOutputname - 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 class ProfileOutputname - property namelocale - user localerequest - requestvalue - property valueEPropertyExceptionpublic java.util.Enumeration<java.lang.String> getConfigNames()
IConfigTemplatepublic IDescriptor getConfigDescriptor(java.util.Locale locale, java.lang.String name)
IConfigTemplatelocale - user localename - configuration parameter namepublic void setConfig(java.lang.String name,
java.lang.String value)
throws EPropertyException
IConfigTemplatename - parameter namevalue - parameter valueEPropertyException - failed to set parameterpublic java.lang.String getConfig(java.lang.String name)
IConfigTemplatepublic java.lang.String getDefaultConfig(java.lang.String name)