Java Doc for PurchaseOrderService.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » purap » service » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » org.kuali.module.purap.service 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.module.purap.service.PurchaseOrderService

All known Subclasses:   org.kuali.module.purap.service.impl.PurchaseOrderServiceImpl,
PurchaseOrderService
public interface PurchaseOrderService (Code)
Defines methods that must be implemented by classes providing a PurchaseOrderService.




Method Summary
public  voidcompletePurchaseOrder(PurchaseOrderDocument po)
     Performs the steps needed to complete the newly approved purchase order document, which consists of setting the current and pending indicators for the purchase order document and if the status is not pending transmission, then calls the attemptsSetupOfInitialOpenOfDocument to set the statuses, the initial open date and save the document.
public  PurchaseOrderDocumentcreateAndRoutePotentialChangeDocument(String documentNumber, String docType, String annotation, List adhocRoutingRecipients, String newDocumentStatusCode)
     Creates and routes the purchase order change document (for example, PurchaseOrderCloseDocument) based on an existing purchase order document.
Parameters:
  documentNumber - The document number of the existing purchase order document from which we try to create a new changedocument.
Parameters:
  docType - The document type of the new change document.
Parameters:
  annotation - The annotation that we'll use to invoke the routeDocument method of DocumentService.
Parameters:
  adhocRoutingRecipients - The adhocRoutingRecipients that we'll use to invoke the routeDocument method ofDocumentService.
Parameters:
  newDocumentStatusCode - The status code that we want to set on the existing purchase order document after the new changedocument is created.
public  PurchaseOrderDocumentcreateAndSavePotentialChangeDocument(String documentNumber, String docType, String newDocumentStatusCode)
     Creates and saves the purchase order change document (for example, PurchaseOrderAmendmentDocument) based on an existing purchase order document.
Parameters:
  documentNumber - The document number of the existing purchase order document from which we try to create a new changedocument.
Parameters:
  docType - The document type of the new change document.
Parameters:
  newDocumentStatusCode - The status code that we want to set on the existing purchase order document after the new changedocument is created.
public  voidcreateAutomaticPurchaseOrderDocument(RequisitionDocument reqDocument)
    
public  PurchaseOrderDocumentcreatePurchaseOrderDocument(RequisitionDocument reqDocument, String newSessionUserId, Integer contractManagerCode)
     Creates a PurchaseOrderDocument from given RequisitionDocument.
public  PurchaseOrderDocumentgetCurrentPurchaseOrder(Integer id)
     Obtains the purchase order document whose current indicator is true, given a purchase order id which is the purapDocumentIdentifier.
Parameters:
  id - The po id (purapDocumentIdentifier) that we'll use to retrieve the current purchase order document.
public  KualiDecimalgetInternalPurchasingDollarLimit(PurchaseOrderDocument po)
     Obtains the internal purchasing dollar limit amount for a purchase order document.
Parameters:
  po - The purchase order document for which this method is obtaining the internal purchasing dollar limit.
public  PurchaseOrderDocumentgetOldestPurchaseOrder(PurchaseOrderDocument po, PurchaseOrderDocument documentBusinessObject)
     Obtains the oldest purchase order given the purchase order object to be used to search, then calls the updateNotes method to set the notes on the oldest purchase order and finally return the oldest purchase order.
Parameters:
  po - The current purchase order object from which we want to obtain the oldest purchase order.
Parameters:
  documentBusinessObject - The documentBusinessObject of the current purchase order object.
public  PurchaseOrderDocumentgetPurchaseOrderByDocumentNumber(String documentNumber)
     Obtains the purchase order document given the document number.
Parameters:
  documentNumber - The document number of the purchase order that we want to retrieve.
public  ArrayList<Note>getPurchaseOrderNotes(Integer id)
     Obtains all the notes that belong to this purchase order given the purchase order id.
Parameters:
  id - The purchase order id (purapDocumentIdentifier).
public  ArrayList<PurchaseOrderQuoteStatus>getPurchaseOrderQuoteStatusCodes()
    
public  voidperformPrintPurchaseOrderPDFOnly(String documentNumber, ByteArrayOutputStream baosPDF)
     Generates and displays the purchase order pdf by invoking the generatePurchaseOrderPdf method of the PrintService.
public  voidperformPurchaseOrderFirstTransmitViaPrinting(String documentNumber, ByteArrayOutputStream baosPDF)
     Creates and displays the pdf document for the purchase order, sets the transmit dates, calls the takeAllActionsForGivenCriteria method in PurApWorkflowIntegrationService to perform all the workflow related steps that are necessary as part of the document initial print transmission and then performs the setup of initial of open document of the purchase order.
public  booleanprintPurchaseOrderQuotePDF(PurchaseOrderDocument po, PurchaseOrderVendorQuote povq, ByteArrayOutputStream baosPDF)
    
public  booleanprintPurchaseOrderQuoteRequestsListPDF(PurchaseOrderDocument po, ByteArrayOutputStream baosPDF)
    
public  voidretransmitPurchaseOrderPDF(PurchaseOrderDocument po, ByteArrayOutputStream baosPDF)
     Generates and displays the purchase order retransmit pdf by invoking the generatePurchaseOrderPdfForRetransmission method of the PrintService.
public  voidsaveDocumentNoValidation(PurchaseOrderDocument document)
     Saves the document without doing validation by invoking the saveDocument method of documentService.
public  voidsetCurrentAndPendingIndicatorsForApprovedPODocuments(PurchaseOrderDocument newPO)
     Sets the current and pending indicators of the new purchase order and the old purchase order as well as its status, then save the purchase order.
public  voidsetCurrentAndPendingIndicatorsForCancelledChangePODocuments(PurchaseOrderDocument newPO)
     Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
public  voidsetCurrentAndPendingIndicatorsForCancelledRemoveHoldPODocuments(PurchaseOrderDocument newPO)
    
public  voidsetCurrentAndPendingIndicatorsForCancelledReopenPODocuments(PurchaseOrderDocument newPO)
     Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
public  voidsetCurrentAndPendingIndicatorsForDisapprovedChangePODocuments(PurchaseOrderDocument newPO)
     Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
public  voidsetCurrentAndPendingIndicatorsForDisapprovedRemoveHoldPODocuments(PurchaseOrderDocument newPO)
     Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
public  voidsetCurrentAndPendingIndicatorsForDisapprovedReopenPODocuments(PurchaseOrderDocument newPO)
     Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
public  voidsetupDocumentForPendingFirstTransmission(PurchaseOrderDocument po, boolean hasActionRequestForDocumentTransmission)
     Update the purchase order document with the appropriate status for pending first transmission if the transmission method code is PRINT, or set the purchase order status to OPEN, set the initial open date and save the purchase order if the transmission method code is not PRINT and the hasActionRequestForDocumentTransmission is false.



Method Detail
completePurchaseOrder
public void completePurchaseOrder(PurchaseOrderDocument po)(Code)
Performs the steps needed to complete the newly approved purchase order document, which consists of setting the current and pending indicators for the purchase order document and if the status is not pending transmission, then calls the attemptsSetupOfInitialOpenOfDocument to set the statuses, the initial open date and save the document.
Parameters:
  po - The newly approved purchase order document that we want to complete.



createAndRoutePotentialChangeDocument
public PurchaseOrderDocument createAndRoutePotentialChangeDocument(String documentNumber, String docType, String annotation, List adhocRoutingRecipients, String newDocumentStatusCode)(Code)
Creates and routes the purchase order change document (for example, PurchaseOrderCloseDocument) based on an existing purchase order document.
Parameters:
  documentNumber - The document number of the existing purchase order document from which we try to create a new changedocument.
Parameters:
  docType - The document type of the new change document.
Parameters:
  annotation - The annotation that we'll use to invoke the routeDocument method of DocumentService.
Parameters:
  adhocRoutingRecipients - The adhocRoutingRecipients that we'll use to invoke the routeDocument method ofDocumentService.
Parameters:
  newDocumentStatusCode - The status code that we want to set on the existing purchase order document after the new changedocument is created. The resulting new purchase order change document created by this method.



createAndSavePotentialChangeDocument
public PurchaseOrderDocument createAndSavePotentialChangeDocument(String documentNumber, String docType, String newDocumentStatusCode)(Code)
Creates and saves the purchase order change document (for example, PurchaseOrderAmendmentDocument) based on an existing purchase order document.
Parameters:
  documentNumber - The document number of the existing purchase order document from which we try to create a new changedocument.
Parameters:
  docType - The document type of the new change document.
Parameters:
  newDocumentStatusCode - The status code that we want to set on the existing purchase order document after the new changedocument is created. The resulting new purchase order change document created by this method.



createAutomaticPurchaseOrderDocument
public void createAutomaticPurchaseOrderDocument(RequisitionDocument reqDocument)(Code)
Creates an automatic purchase order document using the given requisition document
Parameters:
  reqDocument - The requisition document that this method will use to create the Automated Purchase Order (APO).



createPurchaseOrderDocument
public PurchaseOrderDocument createPurchaseOrderDocument(RequisitionDocument reqDocument, String newSessionUserId, Integer contractManagerCode)(Code)
Creates a PurchaseOrderDocument from given RequisitionDocument. Both documents need to be saved after this method is called.
Parameters:
  reqDocument - The requisition document that this method will use to create the purchase order.
Parameters:
  newSessionUserId - The session user id that we'll use to invoke the performLogicWithFakedUserSession method ofPurapService.
Parameters:
  contractManagerCode - The contract manager code that we'll need to set on the purchase order. The purchase order document object that is created by this method.



getCurrentPurchaseOrder
public PurchaseOrderDocument getCurrentPurchaseOrder(Integer id)(Code)
Obtains the purchase order document whose current indicator is true, given a purchase order id which is the purapDocumentIdentifier.
Parameters:
  id - The po id (purapDocumentIdentifier) that we'll use to retrieve the current purchase order document. The current purchase order document (the po whose current indicator is true).



getInternalPurchasingDollarLimit
public KualiDecimal getInternalPurchasingDollarLimit(PurchaseOrderDocument po)(Code)
Obtains the internal purchasing dollar limit amount for a purchase order document.
Parameters:
  po - The purchase order document for which this method is obtaining the internal purchasing dollar limit. The internal purchasing dollar limit for the given purchase order document.



getOldestPurchaseOrder
public PurchaseOrderDocument getOldestPurchaseOrder(PurchaseOrderDocument po, PurchaseOrderDocument documentBusinessObject)(Code)
Obtains the oldest purchase order given the purchase order object to be used to search, then calls the updateNotes method to set the notes on the oldest purchase order and finally return the oldest purchase order.
Parameters:
  po - The current purchase order object from which we want to obtain the oldest purchase order.
Parameters:
  documentBusinessObject - The documentBusinessObject of the current purchase order object. The oldest purchase order whose purchase order id is the same as the current purchase order's id.



getPurchaseOrderByDocumentNumber
public PurchaseOrderDocument getPurchaseOrderByDocumentNumber(String documentNumber)(Code)
Obtains the purchase order document given the document number.
Parameters:
  documentNumber - The document number of the purchase order that we want to retrieve. The purchase order document whose document number is the given document number.



getPurchaseOrderNotes
public ArrayList<Note> getPurchaseOrderNotes(Integer id)(Code)
Obtains all the notes that belong to this purchase order given the purchase order id.
Parameters:
  id - The purchase order id (purapDocumentIdentifier). The list of notes that belong to this purchase order.



getPurchaseOrderQuoteStatusCodes
public ArrayList<PurchaseOrderQuoteStatus> getPurchaseOrderQuoteStatusCodes()(Code)



performPrintPurchaseOrderPDFOnly
public void performPrintPurchaseOrderPDFOnly(String documentNumber, ByteArrayOutputStream baosPDF)(Code)
Generates and displays the purchase order pdf by invoking the generatePurchaseOrderPdf method of the PrintService.
Parameters:
  documentNumber - The document number of the purchase order document that we want to print the pdf.
Parameters:
  baosPDF - The ByteArrayOutputStream object that we'll use to display the pdf on the browser.



performPurchaseOrderFirstTransmitViaPrinting
public void performPurchaseOrderFirstTransmitViaPrinting(String documentNumber, ByteArrayOutputStream baosPDF)(Code)
Creates and displays the pdf document for the purchase order, sets the transmit dates, calls the takeAllActionsForGivenCriteria method in PurApWorkflowIntegrationService to perform all the workflow related steps that are necessary as part of the document initial print transmission and then performs the setup of initial of open document of the purchase order.
Parameters:
  documentNumber - The document number of the purchase order document that we want to perform the first transmit.
Parameters:
  baosPDF - The ByteArrayOutputStream object that was passed in from the struts action so that we could display the pdf onthe browser.



printPurchaseOrderQuotePDF
public boolean printPurchaseOrderQuotePDF(PurchaseOrderDocument po, PurchaseOrderVendorQuote povq, ByteArrayOutputStream baosPDF)(Code)



printPurchaseOrderQuoteRequestsListPDF
public boolean printPurchaseOrderQuoteRequestsListPDF(PurchaseOrderDocument po, ByteArrayOutputStream baosPDF)(Code)



retransmitPurchaseOrderPDF
public void retransmitPurchaseOrderPDF(PurchaseOrderDocument po, ByteArrayOutputStream baosPDF)(Code)
Generates and displays the purchase order retransmit pdf by invoking the generatePurchaseOrderPdfForRetransmission method of the PrintService.
Parameters:
  po - The purchase order document to be retransmitted.
Parameters:
  baosPDF - The ByteArrayOutputStream object that we'll use to display the pdf on the browser.



saveDocumentNoValidation
public void saveDocumentNoValidation(PurchaseOrderDocument document)(Code)
Saves the document without doing validation by invoking the saveDocument method of documentService.
Parameters:
  document - The purchase order document to be saved.



setCurrentAndPendingIndicatorsForApprovedPODocuments
public void setCurrentAndPendingIndicatorsForApprovedPODocuments(PurchaseOrderDocument newPO)(Code)
Sets the current and pending indicators of the new purchase order and the old purchase order as well as its status, then save the purchase order.
Parameters:
  newPO - The new purchase order document that has been approved.



setCurrentAndPendingIndicatorsForCancelledChangePODocuments
public void setCurrentAndPendingIndicatorsForCancelledChangePODocuments(PurchaseOrderDocument newPO)(Code)
Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
Parameters:
  newPO - The new purchase order document that has been canceled.



setCurrentAndPendingIndicatorsForCancelledRemoveHoldPODocuments
public void setCurrentAndPendingIndicatorsForCancelledRemoveHoldPODocuments(PurchaseOrderDocument newPO)(Code)
Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order
Parameters:
  newPO - The new purchase order remove hold document that has been canceled.



setCurrentAndPendingIndicatorsForCancelledReopenPODocuments
public void setCurrentAndPendingIndicatorsForCancelledReopenPODocuments(PurchaseOrderDocument newPO)(Code)
Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
Parameters:
  newPO - The new purchase order reopen document that has been canceled.



setCurrentAndPendingIndicatorsForDisapprovedChangePODocuments
public void setCurrentAndPendingIndicatorsForDisapprovedChangePODocuments(PurchaseOrderDocument newPO)(Code)
Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
Parameters:
  newPO - The new purchase order document that has been disapproved.



setCurrentAndPendingIndicatorsForDisapprovedRemoveHoldPODocuments
public void setCurrentAndPendingIndicatorsForDisapprovedRemoveHoldPODocuments(PurchaseOrderDocument newPO)(Code)
Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
Parameters:
  newPO - The new purchase order remove hold document that has been disapproved.



setCurrentAndPendingIndicatorsForDisapprovedReopenPODocuments
public void setCurrentAndPendingIndicatorsForDisapprovedReopenPODocuments(PurchaseOrderDocument newPO)(Code)
Sets the current and pending indicators of the new purchase order and the old purchase order as well as their statuses, then save the purchase order.
Parameters:
  newPO - The new purchase order reopen document that has been disapproved.



setupDocumentForPendingFirstTransmission
public void setupDocumentForPendingFirstTransmission(PurchaseOrderDocument po, boolean hasActionRequestForDocumentTransmission)(Code)
Update the purchase order document with the appropriate status for pending first transmission if the transmission method code is PRINT, or set the purchase order status to OPEN, set the initial open date and save the purchase order if the transmission method code is not PRINT and the hasActionRequestForDocumentTransmission is false.
Parameters:
  po - The purchase order document whose status to be updated.
Parameters:
  hasActionRequestForDocumentTransmission - boolean true if this purchase order has action request for documenttransmission.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.