|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netscape.cms.profile.output.EnrollOutput
public abstract class EnrollOutput
This class implements the basic enrollment output.
Field Summary | |
---|---|
protected java.util.Vector |
mConfigNames
|
Constructor Summary | |
---|---|
EnrollOutput()
|
Method Summary | |
---|---|
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 |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector mConfigNames
Constructor Detail |
---|
public EnrollOutput()
Method Detail |
---|
public void init(IProfile profile, IConfigStore config) throws EProfileException
init
in interface IProfileOutput
profile
- owner of this policyconfig
- configuration store
EProfileException
- failed to initializepublic IConfigStore getConfigStore()
IProfileOutput
getConfigStore
in interface IProfileOutput
public void addValueName(java.lang.String name)
public abstract void populate(IProfileContext ctx, IRequest request) throws EProfileException
populate
in interface IProfileOutput
ctx
- profile contextrequest
- request
EProfileException
- failed to populatepublic abstract IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
getValueDescriptor
in interface IProfileOutput
locale
- user localename
- property name
public abstract java.lang.String getName(java.util.Locale locale)
getName
in interface IProfileOutput
locale
- user locale
public abstract java.lang.String getText(java.util.Locale locale)
getText
in interface IProfileOutput
locale
- user locale
public java.util.Enumeration getValueNames()
getValueNames
in interface IProfileOutput
public java.lang.String getValue(java.lang.String name, java.util.Locale locale, IRequest request) throws EProfileException
IProfileOutput
getValue
in interface IProfileOutput
name
- property namelocale
- user localerequest
- request
EProfileException
- 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 IProfileOutput
name
- property namelocale
- user localerequest
- requestvalue
- property value
EPropertyException
public 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 name
public void setConfig(java.lang.String name, java.lang.String value) throws EPropertyException
IConfigTemplate
setConfig
in interface IConfigTemplate
name
- parameter namevalue
- parameter value
EPropertyException
- failed to set parameterpublic java.lang.String getConfig(java.lang.String name)
IConfigTemplate
getConfig
in interface IConfigTemplate
public java.lang.String getDefaultConfig(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |