Package com.e1c.g5.dt.applications
Interface IApplicationAttributeRepository
- 
 public interface IApplicationAttributeRepositoryThe application attribute repository provides the access to the application attributes presented by key-value pairs.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>getAttribute(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 Detail- 
setAttributevoid setAttribute(IApplication application, String key, String value) throws ApplicationException Sets 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
 
 - 
getAttributeOptional<String> getAttribute(IApplication application, String key) throws ApplicationException Returns 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
 
 
- 
 
-