Class ServletDownloadAction
- java.lang.Object
-
- com.saperion.ngc.resultset.multiselect.ServletDownloadAction
-
- All Implemented Interfaces:
MultiSelectAction
public class ServletDownloadAction extends java.lang.Object implements MultiSelectAction
Multiselect-Action to download a single Content element.
-
-
Constructor Summary
Constructors Constructor Description ServletDownloadAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(java.util.List<Content> contentList)
Executes the action on the specified list of contents.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.
-
-
-
Method Detail
-
execute
public void execute(java.util.List<Content> contentList)
Executes the action on the specified list of contents.- Specified by:
execute
in interfaceMultiSelectAction
- Parameters:
contentList
- list of contents- See Also:
MultiSelectAction.execute(java.util.List)
-
preloadContent
public 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.- Specified by:
preloadContent
in interfaceMultiSelectAction
- Returns:
- true if content needs to be preloaded
- See Also:
MultiSelectAction.preloadContent()
-
-