|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProfileOutput
This interface represents a output policy which provides information on how to build the result page for the enrollment.
Method Summary | |
---|---|
IConfigStore |
getConfigStore()
Retrieves configuration store. |
java.lang.String |
getName(java.util.Locale locale)
Retrieves the localizable name of this policy. |
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. |
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. |
void |
populate(IProfileContext ctx,
IRequest request)
Populates the request with this policy default. |
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 interface com.netscape.certsrv.property.IConfigTemplate |
---|
getConfig, getConfigDescriptor, getConfigNames, setConfig |
Method Detail |
---|
void init(IProfile profile, IConfigStore config) throws EProfileException
profile
- owner of this policyconfig
- configuration store
EProfileException
- failed to initializeIConfigStore getConfigStore()
void populate(IProfileContext ctx, IRequest request) throws EProfileException
ctx
- profile contextrequest
- request
EProfileException
- failed to populatejava.lang.String getName(java.util.Locale locale)
locale
- user locale
java.lang.String getText(java.util.Locale locale)
locale
- user locale
java.util.Enumeration getValueNames()
IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
locale
- user localename
- property name
java.lang.String getValue(java.lang.String name, java.util.Locale locale, IRequest request) throws EProfileException
name
- property namelocale
- user localerequest
- request
EProfileException
- failed to retrieve valuevoid setValue(java.lang.String name, java.util.Locale locale, IRequest request, java.lang.String value) throws EPropertyException
name
- property namelocale
- user localerequest
- requestvalue
- property value
EProfileException
- failed to retrieve value
EPropertyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |