Class ProfileInput
java.lang.Object
com.netscape.cms.profile.common.ProfileInput
- All Implemented Interfaces:
IConfigTemplate
- Direct Known Subclasses:
EnrollInput
This interface represents a input policy which
provides information on how to create the
end-user enrollment page.
- Version:
- $Revision$, $Date$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract IConfigStoreReturns configuration store.abstract StringRetrieves the localizable name of this policy.abstract StringRetrieves the localizable description of this policy.abstract StringRetrieves value from the request.abstract IDescriptorgetValueDescriptor(Locale locale, String name) Retrieves the descriptor of the given value property by name.abstract Enumeration<String> Retrieves a list of names of the property.abstract voidPopulates the request with this policy default.abstract voidSets the value of the given property by name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.netscape.certsrv.property.IConfigTemplate
getConfig, getConfigDescriptor, getConfigNames, setConfig
-
Constructor Details
-
ProfileInput
public ProfileInput()
-
-
Method Details
-
getConfigStore
Returns configuration store.- Returns:
- configuration store
-
populate
-
getName
-
getText
-
getValueNames
Retrieves a list of names of the property.- Returns:
- a list of property names
-
getValueDescriptor
Retrieves the descriptor of the given value property by name.- Parameters:
locale- user localename- property name- Returns:
- descriptor of the property
-
getValue
public abstract String getValue(String name, Locale locale, IRequest request) throws EProfileException Retrieves value from the request.- Parameters:
name- property namelocale- user localerequest- request- Throws:
EProfileException- failed to get value
-
setValue
public abstract void setValue(String name, Locale locale, IRequest request, String value) throws EPropertyException Sets the value of the given property by name.- Parameters:
name- property namelocale- user localerequest- requestvalue- value- Throws:
EPropertyException
-