|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.cms.profile.input.EnrollInput
com.netscape.cms.profile.input.GenericInput
public class GenericInput
This class implements a generic input.
| Field Summary | |
|---|---|
static java.lang.String |
CONFIG_DISPLAY_NAME
|
static java.lang.String |
CONFIG_ENABLE
|
static java.lang.String |
CONFIG_NUM
|
static java.lang.String |
CONFIG_PARAM_NAME
|
static int |
DEF_NUM
|
| Fields inherited from class com.netscape.cms.profile.input.EnrollInput |
|---|
mConfig, mConfigNames, mProfile, mSignedAuditLogger, mValueNames |
| Constructor Summary | |
|---|---|
GenericInput()
|
|
| Method Summary | |
|---|---|
IDescriptor |
getConfigDescriptor(java.util.Locale locale,
java.lang.String name)
Returns the descriptors of configuration parameter. |
java.lang.String |
getName(java.util.Locale locale)
Retrieves the localizable name of this policy. |
protected int |
getNum()
|
java.lang.String |
getText(java.util.Locale locale)
Retrieves the localizable description of this policy. |
IDescriptor |
getValueDescriptor(java.util.Locale locale,
java.lang.String name)
Retrieves the descriptor of the given value parameter by name. |
java.util.Enumeration |
getValueNames()
Returns selected value names based on the configuration. |
void |
init(IProfile profile,
IConfigStore config)
Initializes this default policy. |
void |
populate(IProfileContext ctx,
IRequest request)
Populates the request with this policy default. |
| Methods inherited from class com.netscape.cms.profile.input.EnrollInput |
|---|
addConfigName, addValueName, audit, auditSubjectID, getConfig, getConfigNames, getConfigStore, getDefaultConfig, getLocale, getValue, setConfig, setValue, verifyPOP |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.netscape.certsrv.profile.IProfileInput |
|---|
getConfigStore, getValue, setValue |
| Methods inherited from interface com.netscape.certsrv.property.IConfigTemplate |
|---|
getConfig, getConfigNames, setConfig |
| Field Detail |
|---|
public static final java.lang.String CONFIG_NUM
public static final java.lang.String CONFIG_DISPLAY_NAME
public static final java.lang.String CONFIG_PARAM_NAME
public static final java.lang.String CONFIG_ENABLE
public static final int DEF_NUM
| Constructor Detail |
|---|
public GenericInput()
| Method Detail |
|---|
protected int getNum()
public void init(IProfile profile,
IConfigStore config)
throws EProfileException
init in interface IProfileInputinit in class EnrollInputprofile - owner of this inputconfig - configuration store
EProfileException - failed to initializepublic java.lang.String getName(java.util.Locale locale)
getName in interface IProfileInputgetName in class EnrollInputlocale - user locale
public java.lang.String getText(java.util.Locale locale)
getText in interface IProfileInputgetText in class EnrollInputlocale - user locale
public java.util.Enumeration getValueNames()
getValueNames in interface IProfileInputgetValueNames in class EnrollInput
public void populate(IProfileContext ctx,
IRequest request)
throws EProfileException
populate in interface IProfileInputpopulate in class EnrollInputctx - profile contextrequest - request
EProfileException - failed to populate
public IDescriptor getConfigDescriptor(java.util.Locale locale,
java.lang.String name)
IConfigTemplate
getConfigDescriptor in interface IConfigTemplategetConfigDescriptor in class EnrollInputlocale - user localename - configuration parameter name
public IDescriptor getValueDescriptor(java.util.Locale locale,
java.lang.String name)
getValueDescriptor in interface IProfileInputgetValueDescriptor in class EnrollInputlocale - user localename - property name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||