Class ConvertToPdfAction
java.lang.Object
com.saperion.ngc.resultset.multiselect.ConvertToPdfAction
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
ConvertToPdfAction
public ConvertToPdfAction()
-
-
Method Details
-
execute
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:
-
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:
-