Class CustomizedDocumentsView
- java.lang.Object
-
- org.primefaces.showcase.view.data.dataexporter.CustomizedDocumentsView
-
- All Implemented Interfaces:
Serializable
@Named @RequestScoped public class CustomizedDocumentsView extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomizedDocumentsView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomizationOptions()ExcelOptionsgetExcelOpt()PDFOptionsgetPdfOpt()List<Product>getProducts()List<Product>getProducts2()voidinit()voidpostProcessXLS(Object document)voidpreProcessPDF(Object document)voidsetExcelOpt(ExcelOptions excelOpt)voidsetPdfOpt(PDFOptions pdfOpt)voidsetService(ProductService service)
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
customizationOptions
public void customizationOptions()
-
getExcelOpt
public ExcelOptions getExcelOpt()
-
setExcelOpt
public void setExcelOpt(ExcelOptions excelOpt)
-
getPdfOpt
public PDFOptions getPdfOpt()
-
setPdfOpt
public void setPdfOpt(PDFOptions pdfOpt)
-
setService
public void setService(ProductService service)
-
postProcessXLS
public void postProcessXLS(Object document)
-
preProcessPDF
public void preProcessPDF(Object document) throws IOException, com.lowagie.text.BadElementException, com.lowagie.text.DocumentException
- Throws:
IOExceptioncom.lowagie.text.BadElementExceptioncom.lowagie.text.DocumentException
-
-