Package de.uplanet.lucy.server.binding
Interface IWebAppBinding
- All Known Subinterfaces:
 IWebPageBinding
public interface IWebAppBinding
- 
Method Summary
Modifier and TypeMethodDescriptionbooleanhasSystemProperty(String p_strKey) Returns the system property.booleanChecks if an value can resolved by the given binding and the value is not empty.booleanisValueAvailable(String p_strBinding) Checks if an value can resolved by the given binding.removeValue(String p_strBinding) Removes a value for the given binding.Adds or changed a value for the given binding.systemProperty(String p_strKey) Returns the system property. 
- 
Method Details
- 
getValue
- Parameters:
 p_strBinding- The binding string- Returns:
 - Returns the value for the binding. If no value set for the binding an empty value will returned.
 - Throws:
 de.uplanet.lucy.binding.InvalidBindingRuntimeException- if the binding string has an invalid format.
 - 
isValueAvailable
Checks if an value can resolved by the given binding. The value returned by thegetValue(String)could be empty (IIxValue.hasValue()== false).- Parameters:
 p_strBinding- The binding to check (notnull)- Returns:
 - Returns 
trueif a value for the given binding is available otherwisefalsewill returned. - Throws:
 de.uplanet.lucy.binding.InvalidBindingRuntimeException- if the binding string has an invalid format.
 - 
hasValue
Checks if an value can resolved by the given binding and the value is not empty. The value returned by thegetValue(String)is not empty (IIxValue.hasValue()== true).- Parameters:
 p_strBinding- The binding to check (notnull)- Returns:
 - Returns 
trueif a value for the given binding is available otherwisefalsewill returned. - Throws:
 de.uplanet.lucy.binding.InvalidBindingRuntimeException- if the binding string has an invalid format.
 - 
setValue
Adds or changed a value for the given binding. On a read only binding type a exception will be thrown on trying to change a value.- Parameters:
 p_strBinding- The binding (notnull)p_value- The physical value, that would be set/changed for the binding.- Returns:
 - Returns the old physical value or 
nullif no old physical value is set. - Throws:
 de.uplanet.lucy.binding.InvalidBindingRuntimeException- if the binding string has an invalid format.RuntimeException- if binding is not writable.
 - 
removeValue
Removes a value for the given binding. On a read only binding type a exception will be thrown on trying to delete a existing value.- Parameters:
 p_strBinding- The binding string (notnull)- Returns:
 - Returns the old physical value or 
nullif no old value exists. - Throws:
 de.uplanet.lucy.binding.InvalidBindingRuntimeException- if the binding string has an invalid format.RuntimeException- if binding is not writable.
 - 
getAppGuid
String getAppGuid()- Returns:
 - Returns the current application GUID
 
 - 
systemProperty
Returns the system property. Where the key must be case sensitive.- Parameters:
 p_strKey- The system property key- Returns:
 - Returns the system property value of the current application, never null.
 If no system property value with the key exists, a empty IIxValue (
IIxValue.hasValue()== false) object will returned. 
 - 
hasSystemProperty
Returns the system property. Where the key must be case sensitive.- Parameters:
 p_strKey- The system property key- Returns:
 - Returns 
trueif a system property in the current application exits otherwisefalse 
 
 -