Class ConvertToPdfAction
- java.lang.Object
-
- com.saperion.ngc.resultset.multiselect.ConvertToPdfAction
-
- All Implemented Interfaces:
MultiSelectAction
public class ConvertToPdfAction extends java.lang.Object implements MultiSelectAction
Multiselect-action that converts all selected content elements to PDF and then redirects to the PDF-content servlet to deliver a merged PDF to the browser.
-
-
Constructor Summary
Constructors Constructor Description ConvertToPdfAction()
-
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) throws NgcUiException, AuthenticationException
Executes the action on the specified list of contents.- Specified by:
execute
in interfaceMultiSelectAction
- Parameters:
contentList
- list of contents- Throws:
NgcUiException
- exception to be handled by viewAuthenticationException
- re-logon required- 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()
-
-