Class CmsDataViewParams

java.lang.Object
org.opencms.ui.dialogs.embedded.CmsDataViewParams

public class CmsDataViewParams extends Object
Class representing the configuration passed to the Vaadin data view dialog by the client.

  • Constructor Details

    • CmsDataViewParams

      Creates a new instance by parsing the query string of the given URI.

      Parameters:
      context - the dialog context
  • Method Details

    • createViewInstance

      Creates the data view instance.

      Parameters:
      cms - the CMS context
      locale - the locale
      Returns:
      the new data view instance
    • isMultiSelect

      public boolean isMultiSelect()
      Return true if the list should have multi-selection enabled.

      Returns:
      true if multi-selection should be enabled
    • prepareCallbackScript

      Creates the script which calls the callback with the result.

      Parameters:
      result - the list of result data items
      Returns:
      the script to call the callback