Interface IBindingProcessor


  • public interface IBindingProcessor
    • Method Detail

      • getValue

        IIxValue getValue​(IBindingContext p_ctx,
                          IBindingKey p_binding)
        Parameters:
        p_ctx - The binding context (not null)
        p_binding - Tries to get the value. (not null)
        Returns:
        Returns the value or an empty value if no value found for the given binding.
      • isValueAvailable

        boolean isValueAvailable​(IBindingContext p_ctx,
                                 IBindingKey p_binding)
        Checks if an value can resolved by the given binding. The value returned by the getValue(IBindingContext, IBindingKey) could be empty (IIxValue.hasValue() == false).
        Parameters:
        p_ctx - The binding context (not null).
        p_binding - The binding to check (not null)
        Returns:
        Returns true if a value for the given binding is available otherwise false will returned.
      • hasValue

        boolean hasValue​(IBindingContext p_ctx,
                         IBindingKey p_binding)
        Checks if an value can resolved by the given binding. The value returned by the getValue(IBindingContext, IBindingKey) not be empty (IIxValue.hasValue() == true).
        Parameters:
        p_ctx - The binding context (not null).
        p_binding - The binding to check (not null)
        Returns:
        Returns true if a value for the given binding is available and not empty otherwise false will returned.
      • getValue

        IIxValue getValue​(de.uplanet.lucy.server.binding.IBindingTypeContext p_ctx,
                          IBindingKey p_binding)
        Parameters:
        p_ctx - The binding context (not null)
        p_binding - Tries to get the value. (not null)
        Returns:
        Returns the value or an empty value if no value found for the given binding.
      • isValueAvailable

        boolean isValueAvailable​(de.uplanet.lucy.server.binding.IBindingTypeContext p_ctx,
                                 IBindingKey p_binding)
        Checks if an value can resolved by the given binding. The value returned by the getValue(IBindingContext, IBindingKey) could be empty (IIxValue.hasValue() == false).
        Parameters:
        p_ctx - The binding context (not null).
        p_binding - The binding to check (not null)
        Returns:
        Returns true if a value for the given binding is available otherwise false will returned.
      • hasValue

        boolean hasValue​(de.uplanet.lucy.server.binding.IBindingTypeContext p_ctx,
                         IBindingKey p_binding)
        Checks if an value can resolved by the given binding. The value returned by the getValue(IBindingContext, IBindingKey) could be empty (IIxValue.hasValue() == false).
        Parameters:
        p_ctx - The binding context (not null).
        p_binding - The binding to check (not null)
        Returns:
        Returns true if a value for the given binding is available and not empty otherwise false will returned.
      • setValue

        Optional<IIxValue> setValue​(IBindingContext p_ctx,
                                    IBindingKey p_binding,
                                    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_ctx - The binding context (not null).
        p_binding - The binding (not null)
        p_value - The physical value, that would be set/changed for the binding.
        Returns:
        Returns the optional old physical value.
      • removeValue

        Optional<IIxValue> removeValue​(IBindingContext p_ctx,
                                       IBindingKey p_binding)
        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_ctx - The binding context (not null).
        p_binding - The binding (not null)
        Returns:
        Returns the optional old physical value.
      • getAppointmentBindingTypeProcessor

        de.uplanet.lucy.server.binding.IAppointmentBindingTypeProcessor getAppointmentBindingTypeProcessor()
        Returns:
        Returns the appointment binding type processor (not null).
      • getControlBindingTypeProcessor

        de.uplanet.lucy.server.binding.IControlBindingTypeProcessor getControlBindingTypeProcessor()
        Returns:
        Returns the update control binding type processor (not null).
      • getSystemPropertyBindingTypeProcessor

        de.uplanet.lucy.server.binding.ISystemPropertyBindingTypeProcessor getSystemPropertyBindingTypeProcessor()
        Returns:
        Returns the system property binding type processor
      • getResourceBindingTypeProcessor

        de.uplanet.lucy.server.binding.IResourceBindingTypeProcessor getResourceBindingTypeProcessor()
        Returns:
        Returns the resource binding type processor
      • getRequestBindingTypeProcessor

        de.uplanet.lucy.server.binding.IRequestBindingTypeProcessor getRequestBindingTypeProcessor()
        Returns:
        Returns the request binding type processor
      • getSessionBindingTypeProcessor

        de.uplanet.lucy.server.binding.ISessionBindingTypeProcessor getSessionBindingTypeProcessor()
        Returns:
        Returns the session binding type processor
      • getSharedStateBindingTypeProcessor

        de.uplanet.lucy.server.binding.ISharedStateBindingTypeProcessor getSharedStateBindingTypeProcessor()
        Returns:
        Returns the shared state binding type processor
      • getUserBindingTypeProcessor

        de.uplanet.lucy.server.binding.IUserBindingTypeProcessor getUserBindingTypeProcessor()
        Returns:
        Returns the user binding type processor
      • getStateBindingTypeProcessor

        de.uplanet.lucy.server.binding.IStateBindingTypeProcessor getStateBindingTypeProcessor()
        Returns:
        Returns the state binding type processor
      • getTargetArgumentBindingTypeProcessor

        de.uplanet.lucy.server.binding.ITargetArgumentBindingTypeProcessor getTargetArgumentBindingTypeProcessor()
        Returns:
        Returns the state binding type processor
      • getRtCache

        de.uplanet.lucy.server.rtcache.IRtCache getRtCache()
        Returns:
        Returns the RTCache instance (not null)
      • getContainerBindingTypeProcessor

        de.uplanet.lucy.server.binding.IContainerBindingTypeProcessor getContainerBindingTypeProcessor()
        Returns:
        Returns the read container type processor (not null)
      • canValueBindEarly

        boolean canValueBindEarly​(IBindingKey p_binding)
        Parameters:
        p_binding - The binding to check (not null)
        Returns:
        Returns true if the given binding can be used for early binding otherwise false.
      • canValueBindLate

        boolean canValueBindLate​(IBindingKey p_binding)
        Parameters:
        p_binding - The binding to check (not null)
        Returns:
        Returns true if the given binding can be used for a late binding otherwise false.
      • getBindingTypeProcessor

        de.uplanet.lucy.server.binding.IBindingTypeProcessor getBindingTypeProcessor​(IBindingKey p_binding)
        Parameters:
        p_binding - Tries to get the value. (not null)
        Returns:
        The binding type processor.