|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationPropertiesService
Service level implementation of CRUD for ApplicationProperties
which are administrative
level configuration settings that boil down to a key and a value. In addition to key and value are other metadata
properties as modelled by ApplicationPropertyMetadata
including default value, type and i18n keys etc.
Method Summary | |
---|---|
ApplicationProperty |
getApplicationProperty(String key)
Retrieves a property with the given key. |
List<ApplicationProperty> |
getEditableApplicationProperties()
Retrieves all properties that can be edited dynamically by the user. |
Validated<ApplicationProperty> |
setApplicationProperty(String key,
String value)
Stores the given value for the given key in the underlying data store. |
Method Detail |
---|
List<ApplicationProperty> getEditableApplicationProperties() throws DataAccessException
DataAccessException
- if there is a problem with the backing store.ApplicationProperty getApplicationProperty(String key) throws DataAccessException
key
- the property's key.
DataAccessException
- if there is a problem with the backing store.Validated<ApplicationProperty> setApplicationProperty(String key, String value) throws DataAccessException
key
- the key.value
- the string representation of the value.
DataAccessException
- if the key cannot be stored due to a problem with the backing store.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |