|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectConfiguration
This interface represents a holder for all the configuration information. E.g. Its fields and description
Method Summary | |
---|---|
boolean |
allFieldsHidden()
Determines if there are any non-hidden fields. |
String |
getDescription(Map params)
The Description of this instance of an Object Configuration |
String[] |
getEnabledFieldKeys()
The enabled property keys for this configuration. |
String |
getFieldDefault(String key)
Retrieves the default value for property with specified key |
String |
getFieldDescription(String key)
Retrieves the description of a property with the specified key |
String[] |
getFieldKeys()
All the property keys for this configuration. |
String |
getFieldName(String key)
Retrieves the name of a property with the specified key |
int |
getFieldType(String key)
Retrieves the type of the property with the specified key |
Map |
getFieldValues(String key)
Retrieves a map of available values for property with the specified key. |
void |
init(Map params)
Initialises the object with some parameters |
boolean |
isEnabled(String key)
Is a particular property enabled at the moment - may be a runtime check. |
boolean |
isI18NValues(String key)
|
Method Detail |
---|
void init(Map params)
params
- Map of initialisation paramsString getFieldName(String key) throws ObjectConfigurationException
key
- Key of the property
ObjectConfigurationException
String getFieldDescription(String key) throws ObjectConfigurationException
key
- Key of the property
ObjectConfigurationException
int getFieldType(String key) throws ObjectConfigurationException
key
- Key of the property
ObjectConfigurationException
String getFieldDefault(String key) throws ObjectConfigurationException
key
- Key of the property
ObjectConfigurationException
Map getFieldValues(String key) throws ObjectConfigurationException
key
- Key of the property
ObjectConfigurationException
String[] getFieldKeys()
String[] getEnabledFieldKeys()
boolean isEnabled(String key)
key
- the property's key.
String getDescription(Map params)
params
- Params used to derive
boolean allFieldsHidden()
boolean isI18NValues(String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |