Interface ClientSideWidget

All Superinterfaces:
ClientSideElement
All Known Implementing Classes:
SearchServiceClientSideWidget, SkinClientSideWidget, StaticClientSideWidget

public interface ClientSideWidget extends ClientSideElement
This class is a particular client side element that stands for widgets
  • Method Details

    • getFormTypes

      String[] getFormTypes(Map<String,Object> contextParameters)
      Returns the supported types
      Parameters:
      contextParameters - Contextuals parameters transmitted by the environment.
      Returns:
      An non null and non empty list of supported types
    • supportsEnumerated

      boolean supportsEnumerated(Map<String,Object> contextParameters)
      Determine if the widget can handle enumerated values
      Parameters:
      contextParameters - Contextuals parameters transmitted by the environment.
      Returns:
      true if it does
    • supportsNonEnumerated

      boolean supportsNonEnumerated(Map<String,Object> contextParameters)
      Determine if the widget can handle non-enumerated values
      Parameters:
      contextParameters - Contextuals parameters transmitted by the environment.
      Returns:
      true if it does
    • supportsMultiple

      boolean supportsMultiple(Map<String,Object> contextParameters)
      Determine if the widget can handle multiple values
      Parameters:
      contextParameters - Contextuals parameters transmitted by the environment.
      Returns:
      true if it does
    • supportsNonMultiple

      boolean supportsNonMultiple(Map<String,Object> contextParameters)
      Determine if the widget can handle non-multiple values
      Parameters:
      contextParameters - Contextuals parameters transmitted by the environment.
      Returns:
      true if it does