Interface MultiSelectAction

All Known Implementing Classes:
ConvertToPdfAction, ServletDownloadAction, ZipAction, ZkDownloadAction

public interface MultiSelectAction
An action that can be used in MultiSelect.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(List<Content> contentList)
    Executes the action on the specified list of contents.
    boolean
    If the action requires the content to be already available as a stream inside each content object, this method has to return true.
  • Method Details

    • execute

      void execute(List<Content> contentList) throws NgcUiException, AuthenticationException
      Executes the action on the specified list of contents.
      Parameters:
      contentList - list of contents
      Throws:
      NgcUiException - exception to be handled by view
      AuthenticationException - re-logon required
    • preloadContent

      boolean preloadContent()
      If the action requires the content to be already available as a stream inside each content object, this method has to return true.
      Returns:
      true if content needs to be preloaded