@Transactional public class PrintServiceImpl extends Object implements PrintService
Modifier and Type | Field and Description |
---|---|
protected static boolean |
TRANSMISSION_IS_NOT_RETRANSMIT |
protected static boolean |
TRANSMISSION_IS_RETRANSMIT |
Constructor and Description |
---|
PrintServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Collection |
generateBulkReceivingPDF(BulkReceivingDocument blkRecDoc,
ByteArrayOutputStream baosPDF) |
protected Collection |
generatePurchaseOrderPdf(PurchaseOrderDocument po,
ByteArrayOutputStream byteArrayOutputStream,
boolean isRetransmit,
String environment,
List<PurchaseOrderItem> retransmitItems)
Creates purchase order pdf document given the input parameters.
|
Collection |
generatePurchaseOrderPdf(PurchaseOrderDocument po,
ByteArrayOutputStream byteArrayOutputStream,
String environment,
List<PurchaseOrderItem> retransmitItems)
Create the Purchase Order Pdf document for non-retransmission and send it back to the Action so that it can be dealt with.
|
Collection |
generatePurchaseOrderPdfForRetransmission(PurchaseOrderDocument po,
ByteArrayOutputStream byteArrayOutputStream,
String environment,
List<PurchaseOrderItem> retransmitItems)
Create the Purchase Order Pdf document for retransmission and send it back to the Action so that it can be dealt with.
|
Collection |
generatePurchaseOrderQuotePdf(PurchaseOrderDocument po,
PurchaseOrderVendorQuote povq,
ByteArrayOutputStream byteArrayOutputStream,
String environment)
Create the Purchase Order Quote Pdf document and send it back to the Action so that it can be dealt with.
|
Collection |
generatePurchaseOrderQuoteRequestsListPdf(PurchaseOrderDocument po,
ByteArrayOutputStream byteArrayOutputStream)
Create the Purchase Order Quote Requests List Pdf document and send it back to the Action so that it can be dealt with.
|
PurchaseOrderParameters |
getPurchaseOrderParameters() |
protected PurchaseOrderTransmitParameters |
getPurchaseOrderQuoteRequestsListPdfParameters(PurchaseOrderDocument po)
Returns the PurchaseOrderPdfParameters given the PurchaseOrderDocument.
|
protected Collection |
savePurchaseOrderPdf(PurchaseOrderDocument po,
boolean isRetransmit,
String environment)
Saves the purchase order pdf document.
|
Collection |
savePurchaseOrderPdf(PurchaseOrderDocument po,
String environment)
Create the Purchase Order Pdf document for non-retransmission and save it so that it can be faxed in a later process.
|
Collection |
savePurchaseOrderPdfForRetransmission(PurchaseOrderDocument po,
String environment)
Create the Purchase Order Pdf document for retransmission and save it so that it can be faxed in a later process.
|
Collection |
savePurchaseOrderQuotePdf(PurchaseOrderDocument po,
PurchaseOrderVendorQuote povq,
String environment)
Create the Purchase Order Quote Pdf document and save it so that it can be faxed in a later process.
|
Collection |
savePurchaseOrderQuoteRequestsListPdf(PurchaseOrderDocument po)
Create the Purchase Order Quote Requests List Pdf document and save it so that it can be faxed in a later process.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService) |
void |
setImageService(ImageService imageService) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
void |
setPurchaseOrderParameters(PurchaseOrderParameters purchaseOrderParameters) |
protected static final boolean TRANSMISSION_IS_RETRANSMIT
protected static final boolean TRANSMISSION_IS_NOT_RETRANSMIT
public PrintServiceImpl()
public Collection generatePurchaseOrderQuoteRequestsListPdf(PurchaseOrderDocument po, ByteArrayOutputStream byteArrayOutputStream)
PrintService
generatePurchaseOrderQuoteRequestsListPdf
in interface PrintService
po
- The PurchaseOrderDocument.byteArrayOutputStream
- ByteArrayOutputStream that the action is using, where the pdf will be printed to.PrintService.generatePurchaseOrderQuoteRequestsListPdf(org.kuali.ole.module.purap.document.PurchaseOrderDocument, java.io.ByteArrayOutputStream)
public Collection savePurchaseOrderQuoteRequestsListPdf(PurchaseOrderDocument po)
PrintService
savePurchaseOrderQuoteRequestsListPdf
in interface PrintService
po
- The PurchaseOrderDocument.PrintService.savePurchaseOrderQuoteRequestsListPdf(org.kuali.ole.module.purap.document.PurchaseOrderDocument)
protected PurchaseOrderTransmitParameters getPurchaseOrderQuoteRequestsListPdfParameters(PurchaseOrderDocument po)
po
- The PurchaseOrderDocument object to be used to obtain the PurchaseOrderPdfParameters.public Collection generatePurchaseOrderQuotePdf(PurchaseOrderDocument po, PurchaseOrderVendorQuote povq, ByteArrayOutputStream byteArrayOutputStream, String environment)
PrintService
generatePurchaseOrderQuotePdf
in interface PrintService
po
- PurchaseOrderDocument that holds the Quote.povq
- PurchaseOrderVendorQuote that is being transmitted to.byteArrayOutputStream
- ByteArrayOutputStream that the action is using, where the pdf will be printed to.environment
- The current environment used (e.g. DEV if it is a development environment).PrintService.generatePurchaseOrderQuotePdf(org.kuali.ole.module.purap.document.PurchaseOrderDocument, org.kuali.ole.module.purap.businessobject.PurchaseOrderVendorQuote, java.io.ByteArrayOutputStream, java.lang.String)
public Collection savePurchaseOrderQuotePdf(PurchaseOrderDocument po, PurchaseOrderVendorQuote povq, String environment)
PrintService
savePurchaseOrderQuotePdf
in interface PrintService
po
- PurchaseOrderDocument that holds the Quote.povq
- PurchaseOrderVendorQuote that is being transmitted to.environment
- The current environment used (e.g. DEV if it is a development environment).PrintService.savePurchaseOrderQuotePdf(org.kuali.ole.module.purap.document.PurchaseOrderDocument, org.kuali.ole.module.purap.businessobject.PurchaseOrderVendorQuote, java.lang.String)
protected Collection generatePurchaseOrderPdf(PurchaseOrderDocument po, ByteArrayOutputStream byteArrayOutputStream, boolean isRetransmit, String environment, List<PurchaseOrderItem> retransmitItems)
po
- The PurchaseOrderDocument.byteArrayOutputStream
- ByteArrayOutputStream that the action is using, where the pdf will be printed to.isRetransmit
- boolean true if this is a retransmit purchase order document.environment
- The current environment used (e.g. DEV if it is a development environment).retransmitItems
- The items selected by the user to be retransmitted.public Collection generatePurchaseOrderPdf(PurchaseOrderDocument po, ByteArrayOutputStream byteArrayOutputStream, String environment, List<PurchaseOrderItem> retransmitItems)
PrintService
generatePurchaseOrderPdf
in interface PrintService
po
- The PurchaseOrderDocument.byteArrayOutputStream
- ByteArrayOutputStream that the action is using, where the pdf will be printed to.environment
- The current environment used (e.g. DEV if it is a development environment).retransmitItems
- The items selected by the user to be retransmitted.org.kuali.ole.module.purap.document.service.PrintService#generatePurchaseOrderPdf(org.kuali.ole.module.purap.document.PurchaseOrderDocument,
java.io.ByteArrayOutputStream, java.lang.String)
public Collection generatePurchaseOrderPdfForRetransmission(PurchaseOrderDocument po, ByteArrayOutputStream byteArrayOutputStream, String environment, List<PurchaseOrderItem> retransmitItems)
PrintService
generatePurchaseOrderPdfForRetransmission
in interface PrintService
po
- The PurchaseOrderDocument.byteArrayOutputStream
- ByteArrayOutputStream that the action is using, where the pdf will be printed to.environment
- The current environment used (e.g. DEV if it is a development environment).retransmitItems
- The items selected by the user to be retransmitted.org.kuali.ole.module.purap.document.service.PrintService#generatePurchaseOrderPdfForRetransmission(org.kuali.ole.module.purap.document.PurchaseOrderDocument,
java.io.ByteArrayOutputStream, java.lang.String)
protected Collection savePurchaseOrderPdf(PurchaseOrderDocument po, boolean isRetransmit, String environment)
po
- The PurchaseOrderDocument.isRetransmit
- boolean true if this is a retransmit purchase order document.environment
- The current environment used (e.g. DEV if it is a development environment).public Collection savePurchaseOrderPdf(PurchaseOrderDocument po, String environment)
PrintService
savePurchaseOrderPdf
in interface PrintService
po
- The PurchaseOrderDocument.environment
- The current environment used (e.g. DEV if it is a development environment).PrintService.savePurchaseOrderPdf(org.kuali.ole.module.purap.document.PurchaseOrderDocument,
java.lang.String)
public Collection savePurchaseOrderPdfForRetransmission(PurchaseOrderDocument po, String environment)
PrintService
savePurchaseOrderPdfForRetransmission
in interface PrintService
po
- The PurchaseOrderDocument.environment
- The current environment used (e.g. DEV if it is a development environment).PrintService.savePurchaseOrderPdfForRetransmission(org.kuali.ole.module.purap.document.PurchaseOrderDocument,
java.lang.String)
public Collection generateBulkReceivingPDF(BulkReceivingDocument blkRecDoc, ByteArrayOutputStream baosPDF)
generateBulkReceivingPDF
in interface PrintService
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public void setImageService(ImageService imageService)
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService)
public void setPurchaseOrderParameters(PurchaseOrderParameters purchaseOrderParameters)
public PurchaseOrderParameters getPurchaseOrderParameters()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.