public abstract class ProfileOutput extends java.lang.Object implements IConfigTemplate
Constructor and Description |
---|
ProfileOutput() |
Modifier and Type | Method and Description |
---|---|
abstract IConfigStore |
getConfigStore()
Retrieves configuration store.
|
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.
|
abstract 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.
|
abstract java.util.Enumeration<java.lang.String> |
getValueNames()
Retrieves a list of names of the value parameter.
|
abstract void |
init(IConfigStore config)
Initializes this default policy.
|
abstract void |
populate(java.util.Map<java.lang.String,java.lang.String> ctx,
IRequest request)
Populates the request with this policy default.
|
abstract 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfig, getConfigDescriptor, getConfigNames, setConfig
public abstract void init(IConfigStore config) throws EProfileException
config
- configuration storeEProfileException
- failed to initializepublic abstract IConfigStore getConfigStore()
public abstract void populate(java.util.Map<java.lang.String,java.lang.String> ctx, IRequest request) throws EProfileException
ctx
- profile contextrequest
- requestEProfileException
- failed to populatepublic abstract java.lang.String getName(java.util.Locale locale)
locale
- user localepublic abstract java.lang.String getText(java.util.Locale locale)
locale
- user localepublic abstract java.util.Enumeration<java.lang.String> getValueNames()
public abstract IDescriptor getValueDescriptor(java.util.Locale locale, java.lang.String name)
locale
- user localename
- property namepublic abstract java.lang.String getValue(java.lang.String name, java.util.Locale locale, IRequest request) throws EProfileException
name
- property namelocale
- user localerequest
- requestEProfileException
- failed to retrieve valuepublic abstract void setValue(java.lang.String name, java.util.Locale locale, IRequest request, java.lang.String value) throws EPropertyException
name
- property namelocale
- user localerequest
- requestvalue
- property valueEPropertyException