public class OleCopyHelperServiceImpl extends Object implements OleCopyHelperService
Constructor and Description |
---|
OleCopyHelperServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkCopyEntry(org.kuali.rice.core.api.util.type.KualiDecimal noOfCopies,
String location,
Integer itemCount,
org.kuali.rice.core.api.util.type.KualiDecimal noOfCopiesOrdered,
org.kuali.rice.core.api.util.type.KualiInteger noOfPartsOrdered,
List<OleCopies> copiesList,
String volumeNumber,
boolean isRoute) |
boolean |
checkForCopiesAndLocation(org.kuali.rice.core.api.util.type.KualiDecimal noOfCopies,
String location) |
boolean |
checkForItemCopiesGreaterThanQuantity(org.kuali.rice.core.api.util.type.KualiDecimal noOfCopies,
org.kuali.rice.core.api.util.type.KualiDecimal noOfCopiesOrdered) |
boolean |
checkForTotalCopiesGreaterThanQuantity(List<OleCopies> copyList,
org.kuali.rice.core.api.util.type.KualiDecimal noOfCopies,
org.kuali.rice.core.api.util.type.KualiDecimal noOfCopiesOrdered) |
boolean |
checkForTotalCopiesGreaterThanQuantityAtSubmit(List<OleCopies> copyList,
org.kuali.rice.core.api.util.type.KualiDecimal noOfCopiesOrdered) |
HashMap<String,List<OleCopy>> |
getCopyListBasedOnCopyNumber(List<OleCopy> copyList,
Integer noOfParts) |
HashMap<String,List<OleCopy>> |
getCopyListBasedOnLocation(List<OleCopy> copyList,
String bibId) |
DocstoreClientLocator |
getDocstoreClientLocator() |
int |
getReceiptStatusDetails(String receiptStatusCd) |
static boolean |
isNumber(String value) |
boolean |
isValidVolumeNumber(String volumeNumber,
String pattern) |
List<OleCopies> |
setCopiesToLineItem(List<OleCopy> copyList,
org.kuali.rice.core.api.util.type.KualiInteger noOfParts,
String bibId)
This method will set copies into list of copies for LineItem.
|
List<OleCopy> |
setCopyValues(OleRequisitionCopies itemCopy,
String bibId,
List<String> volChar)
This method takes RequisitionItem as parameter, it will calculate and set copyList
lineItem
|
List<OleCopy> |
setCopyValuesForList(List<OleCopies> itemCopies,
String bibId,
BibId bibTree)
This method takes RequisitionItem as parameter, it will calculate and set copyList
lineItem
|
void |
updateRequisitionAndPOItems(OlePurchaseOrderItem olePurchaseOrderItem,
OleLineItemReceivingItem oleLineItemReceivingItem,
OleCorrectionReceivingItem oleCorrectionReceivingItem,
boolean isReceiving) |
boolean |
volumeNumberValidation(Integer itemCount,
org.kuali.rice.core.api.util.type.KualiInteger noOfPartsOrdered,
String volumeNumber,
List<OleCopies> copiesList,
boolean isRoute) |
public OleCopyHelperServiceImpl()
public DocstoreClientLocator getDocstoreClientLocator()
public HashMap<String,List<OleCopy>> getCopyListBasedOnLocation(List<OleCopy> copyList, String bibId)
getCopyListBasedOnLocation
in interface OleCopyHelperService
public HashMap<String,List<OleCopy>> getCopyListBasedOnCopyNumber(List<OleCopy> copyList, Integer noOfParts)
getCopyListBasedOnCopyNumber
in interface OleCopyHelperService
public List<OleCopies> setCopiesToLineItem(List<OleCopy> copyList, org.kuali.rice.core.api.util.type.KualiInteger noOfParts, String bibId)
setCopiesToLineItem
in interface OleCopyHelperService
copyList
- noOfParts
- public List<OleCopy> setCopyValues(OleRequisitionCopies itemCopy, String bibId, List<String> volChar)
setCopyValues
in interface OleCopyHelperService
itemCopy
- public List<OleCopy> setCopyValuesForList(List<OleCopies> itemCopies, String bibId, BibId bibTree)
setCopyValuesForList
in interface OleCopyHelperService
itemCopies
- public boolean checkCopyEntry(org.kuali.rice.core.api.util.type.KualiDecimal noOfCopies, String location, Integer itemCount, org.kuali.rice.core.api.util.type.KualiDecimal noOfCopiesOrdered, org.kuali.rice.core.api.util.type.KualiInteger noOfPartsOrdered, List<OleCopies> copiesList, String volumeNumber, boolean isRoute)
checkCopyEntry
in interface OleCopyHelperService
public boolean checkForCopiesAndLocation(org.kuali.rice.core.api.util.type.KualiDecimal noOfCopies, String location)
public boolean checkForItemCopiesGreaterThanQuantity(org.kuali.rice.core.api.util.type.KualiDecimal noOfCopies, org.kuali.rice.core.api.util.type.KualiDecimal noOfCopiesOrdered)
public boolean checkForTotalCopiesGreaterThanQuantity(List<OleCopies> copyList, org.kuali.rice.core.api.util.type.KualiDecimal noOfCopies, org.kuali.rice.core.api.util.type.KualiDecimal noOfCopiesOrdered)
public boolean checkForTotalCopiesGreaterThanQuantityAtSubmit(List<OleCopies> copyList, org.kuali.rice.core.api.util.type.KualiDecimal noOfCopiesOrdered)
checkForTotalCopiesGreaterThanQuantityAtSubmit
in interface OleCopyHelperService
public boolean volumeNumberValidation(Integer itemCount, org.kuali.rice.core.api.util.type.KualiInteger noOfPartsOrdered, String volumeNumber, List<OleCopies> copiesList, boolean isRoute)
public void updateRequisitionAndPOItems(OlePurchaseOrderItem olePurchaseOrderItem, OleLineItemReceivingItem oleLineItemReceivingItem, OleCorrectionReceivingItem oleCorrectionReceivingItem, boolean isReceiving)
updateRequisitionAndPOItems
in interface OleCopyHelperService
public int getReceiptStatusDetails(String receiptStatusCd)
public boolean isValidVolumeNumber(String volumeNumber, String pattern)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.