Interface IWebAppBinding

All Known Subinterfaces:
IWebPageBinding

public interface IWebAppBinding
  • Method Details

    • getValue

      IIxValue getValue(String p_strBinding)
      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

      boolean isValueAvailable(String p_strBinding)
      Checks if an value can resolved by the given binding. The value returned by the getValue(String) could be empty (IIxValue.hasValue() == false).
      Parameters:
      p_strBinding - The binding to check (not null)
      Returns:
      Returns true if a value for the given binding is available otherwise false will returned.
      Throws:
      de.uplanet.lucy.binding.InvalidBindingRuntimeException - if the binding string has an invalid format.
    • hasValue

      boolean hasValue(String p_strBinding)
      Checks if an value can resolved by the given binding and the value is not empty. The value returned by the getValue(String) is not empty (IIxValue.hasValue() == true).
      Parameters:
      p_strBinding - The binding to check (not null)
      Returns:
      Returns true if a value for the given binding is available otherwise false will returned.
      Throws:
      de.uplanet.lucy.binding.InvalidBindingRuntimeException - if the binding string has an invalid format.
    • setValue

      IIxValue setValue(String p_strBinding, IIxValue p_value)
      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 (not null)
      p_value - The physical value, that would be set/changed for the binding.
      Returns:
      Returns the old physical value or null if 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

      IIxValue removeValue(String p_strBinding)
      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 (not null)
      Returns:
      Returns the old physical value or null if 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

      IIxValue systemProperty(String p_strKey)
      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

      boolean hasSystemProperty(String p_strKey)
      Returns the system property. Where the key must be case sensitive.
      Parameters:
      p_strKey - The system property key
      Returns:
      Returns true if a system property in the current application exits otherwise false