Class EnrollOutput
java.lang.Object
com.netscape.cms.profile.common.ProfileOutput
com.netscape.cms.profile.output.EnrollOutput
- All Implemented Interfaces:
IConfigTemplate
- Direct Known Subclasses:
CertOutput,nsNKeyOutput,PKCS12Output
This class implements the basic enrollment output.
- Version:
- $Revision$, $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValueName(String name) Retrieves configuration parameter by name.getConfigDescriptor(Locale locale, String name) Returns the descriptors of configuration parameter.Returns a list of configuration parameter names.Retrieves configuration store.getDefaultConfig(String name) abstract StringRetrieves the localizable name of this policy.abstract StringRetrieves the localizable description of this policy.Retrieves the value of the given value parameter by name.abstract IDescriptorgetValueDescriptor(Locale locale, String name) Retrieves the descriptor of the given value parameter by name.Retrieves a list of names of the value parameter.voidinit(IConfigStore config) Initializes this default policy.abstract voidPopulates the request with this policy default.voidSets configuration parameter.voidSets the value of the given value parameter by name.
-
Field Details
-
mConfigNames
-
-
Constructor Details
-
EnrollOutput
public EnrollOutput()
-
-
Method Details
-
init
Initializes this default policy.- Specified by:
initin classProfileOutput- Parameters:
config- configuration store- Throws:
EProfileException- failed to initialize
-
getConfigStore
Description copied from class:ProfileOutputRetrieves configuration store.- Specified by:
getConfigStorein classProfileOutput- Returns:
- configuration store
-
addValueName
-
populate
Populates the request with this policy default.- Specified by:
populatein classProfileOutput- Parameters:
ctx- profile contextrequest- request- Throws:
EProfileException- failed to populate
-
getValueDescriptor
Retrieves the descriptor of the given value parameter by name.- Specified by:
getValueDescriptorin classProfileOutput- Parameters:
locale- user localename- property name- Returns:
- property descriptor
-
getName
Retrieves the localizable name of this policy.- Specified by:
getNamein classProfileOutput- Parameters:
locale- user locale- Returns:
- output policy name
-
getText
Retrieves the localizable description of this policy.- Specified by:
getTextin classProfileOutput- Parameters:
locale- user locale- Returns:
- output policy description
-
getValueNames
Retrieves a list of names of the value parameter.- Specified by:
getValueNamesin classProfileOutput- Returns:
- a list of property names
-
getValue
Description copied from class:ProfileOutputRetrieves the value of the given value parameter by name.- Specified by:
getValuein classProfileOutput- Parameters:
name- property namelocale- user localerequest- request- Returns:
- property value
- Throws:
EProfileException- failed to retrieve value
-
setValue
public void setValue(String name, Locale locale, IRequest request, String value) throws EPropertyException Sets the value of the given value parameter by name.- Specified by:
setValuein classProfileOutput- Parameters:
name- property namelocale- user localerequest- requestvalue- property value- Throws:
EPropertyException
-
getConfigNames
Description copied from interface:IConfigTemplateReturns a list of configuration parameter names.- Returns:
- parameter names
-
getConfigDescriptor
Description copied from interface:IConfigTemplateReturns the descriptors of configuration parameter.- Parameters:
locale- user localename- configuration parameter name- Returns:
- descriptor
-
setConfig
Description copied from interface:IConfigTemplateSets configuration parameter.- Parameters:
name- parameter namevalue- parameter value- Throws:
EPropertyException- failed to set parameter
-
getConfig
Description copied from interface:IConfigTemplateRetrieves configuration parameter by name.- Returns:
- parameter
-
getDefaultConfig
-