@Transactional public class B2BPurchaseOrderServiceImpl extends Object implements B2BPurchaseOrderService
Constructor and Description |
---|
B2BPurchaseOrderServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected String |
getContractManagerEmail(ContractManager cm)
Retrieve the Contract Manager's email
|
String |
getCxml(PurchaseOrderDocument purchaseOrder,
String requisitionInitiatorId,
String password,
ContractManager contractManager,
String contractManagerEmail,
String vendorDuns)
Returns the cxml of the Purchase Order for electronic transmission to the vendor
|
protected org.kuali.rice.kim.api.identity.PersonService |
getPersonService() |
protected boolean |
isProduction()
Throws an exception if running on production
|
String |
sendPurchaseOrder(PurchaseOrderDocument purchaseOrder)
Send the Purchase Order
|
void |
setB2bDao(B2BDao b2bDao) |
void |
setB2bEnvironment(String environment) |
void |
setB2bPurchaseOrderIdentity(String b2bPurchaseOrderIdentity) |
void |
setB2bPurchaseOrderPassword(String purchaseOrderPassword) |
void |
setB2bPurchaseOrderURL(String purchaseOrderURL) |
void |
setB2bUserAgent(String userAgent) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
void |
setRequisitionService(RequisitionService requisitionService) |
String |
verifyCxmlPOData(PurchaseOrderDocument purchaseOrder,
String requisitionInitiatorId,
String password,
ContractManager contractManager,
String contractManagerEmail,
String vendorDuns)
Verifies that each piece of data required for the PO cXML is present.
|
public B2BPurchaseOrderServiceImpl()
public String sendPurchaseOrder(PurchaseOrderDocument purchaseOrder)
B2BPurchaseOrderService
sendPurchaseOrder
in interface B2BPurchaseOrderService
B2BPurchaseOrderService.sendPurchaseOrder(org.kuali.ole.module.purap.document.PurchaseOrderDocument)
public String getCxml(PurchaseOrderDocument purchaseOrder, String requisitionInitiatorId, String password, ContractManager contractManager, String contractManagerEmail, String vendorDuns)
B2BPurchaseOrderService
getCxml
in interface B2BPurchaseOrderService
purchaseOrder
- PurchaseOrderDocument - PO datapassword
- String - password for PO transmissioncontractManager
- ContractManager - contract manager for the POcontractManagerEmail
- String - email address for the contract managervendorDuns
- String - vendor DUNS number for the POorg.kuali.ole.module.purap.document.service.B2BPurchaseOrderService#getCxml(org.kuali.ole.module.purap.document.PurchaseOrderDocument,
org.kuali.rice.kim.api.identity.Person, java.lang.String, org.kuali.ole.vnd.businessobject.ContractManager,
java.lang.String, java.lang.String)
public String verifyCxmlPOData(PurchaseOrderDocument purchaseOrder, String requisitionInitiatorId, String password, ContractManager contractManager, String contractManagerEmail, String vendorDuns)
B2BPurchaseOrderService
verifyCxmlPOData
in interface B2BPurchaseOrderService
org.kuali.ole.module.purap.document.service.B2BPurchaseOrderService#verifyCxmlPOData(org.kuali.ole.module.purap.document.PurchaseOrderDocument,
org.kuali.rice.kim.api.identity.Person, java.lang.String, org.kuali.ole.vnd.businessobject.ContractManager,
java.lang.String, java.lang.String)
protected String getContractManagerEmail(ContractManager cm)
protected org.kuali.rice.kim.api.identity.PersonService getPersonService()
public void setRequisitionService(RequisitionService requisitionService)
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
protected boolean isProduction()
public void setB2bEnvironment(String environment)
public void setB2bUserAgent(String userAgent)
public void setB2bPurchaseOrderURL(String purchaseOrderURL)
public void setB2bPurchaseOrderIdentity(String b2bPurchaseOrderIdentity)
public void setB2bPurchaseOrderPassword(String purchaseOrderPassword)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.