Package de.uplanet.lucy.server.binding
Schnittstelle IWebAppBinding
- Alle bekannten Unterschnittstellen:
IWebPageBinding
public interface IWebAppBinding
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanhasSystemProperty(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.
-
Methodendetails
-
getValue
- Parameter:
p_strBinding- The binding string- Gibt zurück:
- Returns the value for the binding. If no value set for the binding an empty value will returned.
- Löst aus:
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).- Parameter:
p_strBinding- The binding to check (notnull)- Gibt zurück:
- Returns
trueif a value for the given binding is available otherwisefalsewill returned. - Löst aus:
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).- Parameter:
p_strBinding- The binding to check (notnull)- Gibt zurück:
- Returns
trueif a value for the given binding is available otherwisefalsewill returned. - Löst aus:
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.- Parameter:
p_strBinding- The binding (notnull)p_value- The physical value, that would be set/changed for the binding.- Gibt zurück:
- Returns the old physical value or
nullif no old physical value is set. - Löst aus:
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.- Parameter:
p_strBinding- The binding string (notnull)- Gibt zurück:
- Returns the old physical value or
nullif no old value exists. - Löst aus:
de.uplanet.lucy.binding.InvalidBindingRuntimeException- if the binding string has an invalid format.RuntimeException- if binding is not writable.
-
getAppGuid
String getAppGuid()- Gibt zurück:
- Returns the current application GUID
-
systemProperty
Returns the system property. Where the key must be case sensitive.- Parameter:
p_strKey- The system property key- Gibt zurück:
- 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.- Parameter:
p_strKey- The system property key- Gibt zurück:
- Returns
trueif a system property in the current application exits otherwisefalse
-