|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.purap.document.service.impl.PrintServiceImpl
@Transactional public class PrintServiceImpl
Field Summary | |
---|---|
protected static boolean |
TRANSMISSION_IS_NOT_RETRANSMIT
|
protected static boolean |
TRANSMISSION_IS_RETRANSMIT
|
Constructor Summary | |
---|---|
PrintServiceImpl()
|
Method Summary | |
---|---|
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.kns.service.BusinessObjectService businessObjectService)
|
void |
setImageDao(ImageDao imageDao)
|
void |
setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
void |
setPurchaseOrderParameters(PurchaseOrderParameters purchaseOrderParameters)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final boolean TRANSMISSION_IS_RETRANSMIT
protected static final boolean TRANSMISSION_IS_NOT_RETRANSMIT
Constructor Detail |
---|
public PrintServiceImpl()
Method Detail |
---|
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.kfs.module.purap.document.PurchaseOrderDocument, java.io.ByteArrayOutputStream)
public Collection savePurchaseOrderQuoteRequestsListPdf(PurchaseOrderDocument po)
PrintService
savePurchaseOrderQuoteRequestsListPdf
in interface PrintService
po
- The PurchaseOrderDocument.
PrintService.savePurchaseOrderQuoteRequestsListPdf(org.kuali.kfs.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.kfs.module.purap.document.PurchaseOrderDocument, org.kuali.kfs.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.kfs.module.purap.document.PurchaseOrderDocument, org.kuali.kfs.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.kfs.module.purap.document.service.PrintService#generatePurchaseOrderPdf(org.kuali.kfs.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.kfs.module.purap.document.service.PrintService#generatePurchaseOrderPdfForRetransmission(org.kuali.kfs.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.kfs.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.kfs.module.purap.document.PurchaseOrderDocument,
java.lang.String)
public Collection generateBulkReceivingPDF(BulkReceivingDocument blkRecDoc, ByteArrayOutputStream baosPDF)
generateBulkReceivingPDF
in interface PrintService
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
public void setImageDao(ImageDao imageDao)
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
public void setPurchaseOrderParameters(PurchaseOrderParameters purchaseOrderParameters)
public PurchaseOrderParameters getPurchaseOrderParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |