Interface DisplayElementOperation


public interface DisplayElementOperation
Operation providing means to display an element in the client.
Since:
5.0.102
  • Field Details

  • Method Details

    • setLanguage

      void setLanguage(Language language)
      Defines the language to be displayed.
      Parameters:
      language - The display language.
      Since:
      5.0.102
    • getConfigurator

      @NotNull <C extends DisplayElementOperation.ClientSpecificConfigurator> C getConfigurator(Class<C> configuratorType) throws IllegalArgumentException
      Provides an instance of a configurator as requested by the given type.
      Type Parameters:
      C - The formal configurator type.
      Parameters:
      configuratorType - The type of configurator to get access to.
      Returns:
      An instance of the requested configurator.
      Throws:
      IllegalArgumentException - If the requested type is not supported.
      Since:
      5.0.102
    • perform

      void perform(@NotNull @NotNull IDProvider element) throws OperationSetupException
      Perform this operation wrt. the given element.
      Parameters:
      element - The element to be displayed.
      Throws:
      OperationSetupException - If the operation cannot be performed with the given setup.
      Since:
      5.0.102