|
||||||||||
| 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.B2BShoppingServiceImpl
@Transactional public class B2BShoppingServiceImpl
| Constructor Summary | |
|---|---|
B2BShoppingServiceImpl()
|
|
| Method Summary | |
|---|---|
protected RequisitionItem |
createRequisitionItem(B2BShoppingCartItem item,
Integer itemLine)
|
List |
createRequisitionsFromCxml(B2BShoppingCart message,
org.kuali.rice.kim.bo.Person user)
Create requisition(s) from cxml and return list for display |
protected List |
getAllVendorItems(List items,
String vendorId,
boolean dunsNumberEnabled)
Get all the items for a specific vendor |
protected List |
getAllVendors(List items,
boolean dunsNumberEnabled)
Get all the vendors in a single shopping cart by the vendor number. |
protected B2BInformation |
getB2bShoppingConfigurationInformation()
|
String |
getPunchOutUrl(org.kuali.rice.kim.bo.Person user)
Get URL to punch out to |
protected String |
getSupplierIdFromFirstItem(List reqItems)
The supplier id is received on the cxml at the item level, but we store it at the Requisition at the document level. |
protected String |
getVendorNumber(B2BShoppingCartItem item,
boolean dunsNumberEnabled)
Gets the vendor number from the specified B2BShoppingCartItem, depending on whether DUNS is enabled for B2B: If yes, vendor DUNS number is retrieved from the SupplierId-DUNS tag in the B2B cxml file; otherwise vendor ID is retrieved from the Extrinsic-ExternalSupplierId tag. |
void |
setB2bDao(B2BDao b2bDao)
|
void |
setB2bEnvironment(String environment)
|
void |
setB2bPunchbackURL(String punchbackURL)
|
void |
setB2bPunchoutURL(String punchoutURL)
|
void |
setB2bShoppingIdentity(String b2bShoppingIdentity)
|
void |
setB2bShoppingPassword(String password)
|
void |
setB2bUserAgent(String userAgent)
|
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
|
void |
setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
|
void |
setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
void |
setPersistenceService(org.kuali.rice.kns.service.PersistenceService persistenceService)
|
void |
setPhoneNumberService(PhoneNumberService phoneNumberService)
|
void |
setPurapService(PurapService purapService)
|
void |
setPurchasingService(PurchasingService purchasingService)
|
void |
setVendorService(VendorService vendorService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public B2BShoppingServiceImpl()
| Method Detail |
|---|
protected B2BInformation getB2bShoppingConfigurationInformation()
public String getPunchOutUrl(org.kuali.rice.kim.bo.Person user)
B2BShoppingService
getPunchOutUrl in interface B2BShoppingServiceorg.kuali.kfs.module.purap.document.service.B2BService#getPunchOutUrl(org.kuali.rice.kim.bo.Person)
public List createRequisitionsFromCxml(B2BShoppingCart message,
org.kuali.rice.kim.bo.Person user)
throws org.kuali.rice.kew.exception.WorkflowException
B2BShoppingService
createRequisitionsFromCxml in interface B2BShoppingServiceuser - User doing the requisitioning
org.kuali.rice.kew.exception.WorkflowExceptionorg.kuali.kfs.module.purap.document.service.B2BService#createRequisitionsFromCxml(org.kuali.kfs.module.purap.util.cxml.B2BParserHelper,
org.kuali.rice.kim.bo.Person)
protected List getAllVendors(List items,
boolean dunsNumberEnabled)
items - Items in the shopping cart
protected List getAllVendorItems(List items,
String vendorId,
boolean dunsNumberEnabled)
items - List of all itemsvendorId - String containing "vendorHeaderId-vendorDetailId"
protected RequisitionItem createRequisitionItem(B2BShoppingCartItem item,
Integer itemLine)
protected String getSupplierIdFromFirstItem(List reqItems)
reqItems -
protected String getVendorNumber(B2BShoppingCartItem item,
boolean dunsNumberEnabled)
item - the specified B2BShoppingCartItem.
public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
public void setVendorService(VendorService vendorService)
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
public void setB2bDao(B2BDao b2bDao)
public void setPhoneNumberService(PhoneNumberService phoneNumberService)
public void setPurapService(PurapService purapService)
public void setPurchasingService(PurchasingService purchasingService)
public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
public void setPersistenceService(org.kuali.rice.kns.service.PersistenceService persistenceService)
public void setB2bEnvironment(String environment)
public void setB2bPunchoutURL(String punchoutURL)
public void setB2bPunchbackURL(String punchbackURL)
public void setB2bUserAgent(String userAgent)
public void setB2bShoppingIdentity(String b2bShoppingIdentity)
public void setB2bShoppingPassword(String password)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||