Package com.e1c.g5.dt.applications
Interface IApplicationAttributeRepository
- All Known Implementing Classes:
- ApplicationAttributeRepository,- PreferenceBasedAttributeRepository,- ServerApplicationAttributeRepository
public interface IApplicationAttributeRepository
The application attribute repository provides the access to the application attributes presented by key-value pairs.
- 
Method SummaryModifier and TypeMethodDescriptiongetAttribute(IApplication application, String key) Returns the attribute value by thekeyfor the specifiedapplication.voidsetAttribute(IApplication application, String key, String value) Sets the specified attribute for the givenapplication.
- 
Method Details- 
setAttributeSets the specified attribute for the givenapplication.- Parameters:
- application- the application to set the attribute, cannot be- null.
- key- the string field that represents the key of the attribute, cannot be- null.
- value- the string field that represents the value of the attribute, can be- null.
- Throws:
- ApplicationException- if repostiory request failed
 
- 
getAttributeReturns the attribute value by thekeyfor the specifiedapplication.- Parameters:
- application- the application to obtain the attribute, cannot be- null.
- key- the string field that represents the key of the attribute, cannot be- null.
- Returns:
- the string field that represents the value of the attribute, never null.
- Throws:
- ApplicationException- if repostiory request failed
 
 
-