public interface IProfileInput extends IConfigTemplate
| Modifier and Type | Method and Description |
|---|---|
IConfigStore |
getConfigStore()
Returns 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 value from the request.
|
IDescriptor |
getValueDescriptor(java.util.Locale locale,
java.lang.String name)
Retrieves the descriptor of the given value
property by name.
|
java.util.Enumeration<java.lang.String> |
getValueNames()
Retrieves a list of names of the property.
|
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 property by name.
|
getConfig, getConfigDescriptor, getConfigNames, setConfigvoid init(IProfile profile, IConfigStore config) throws EProfileException
profile - owner of this inputconfig - configuration storeEProfileException - failed to initializeIConfigStore getConfigStore()
void populate(IProfileContext ctx, IRequest request) throws EProfileException
ctx - profile contextrequest - requestEProfileException - failed to populatejava.lang.String getName(java.util.Locale locale)
locale - user localejava.lang.String getText(java.util.Locale locale)
locale - user localejava.util.Enumeration<java.lang.String> getValueNames()
IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
locale - user localename - property namejava.lang.String getValue(java.lang.String name,
java.util.Locale locale,
IRequest request)
throws EProfileException
name - property namelocale - user localerequest - requestEProfileException - failed to get valuevoid setValue(java.lang.String name,
java.util.Locale locale,
IRequest request,
java.lang.String value)
throws EPropertyException
name - property namelocale - user localerequest - requestvalue - valueEPropertyException