1 package org.kuali.ole.service;
2
3 import org.kuali.ole.batch.bo.OLEBatchProcessJobDetailsBo;
4 import org.kuali.ole.batch.bo.OLEBatchProcessProfileBo;
5 import org.kuali.ole.docstore.common.document.HoldingsTrees;
6 import org.kuali.ole.docstore.common.document.content.bib.marc.BibMarcRecord;
7 import org.kuali.ole.ingest.pojo.ProfileAttributeBo;
8 import org.kuali.ole.pojo.OleBibRecord;
9 import org.kuali.ole.pojo.OleOrderRecord;
10 import org.kuali.ole.pojo.OleTxRecord;
11 import org.kuali.ole.pojo.edi.EDIOrder;
12 import org.kuali.rice.krms.api.engine.EngineResults;
13
14 import java.util.List;
15
16
17
18
19
20
21
22
23 public interface OleOrderRecordService {
24 public OleOrderRecord fetchOleOrderRecordForMarcEdi(String bibId, EDIOrder ediOrder, BibMarcRecord bibMarcRecord,int recordPosition, OLEBatchProcessJobDetailsBo job) throws Exception;
25 public OleOrderRecord fetchOleOrderRecordForMarc(String bibId, BibMarcRecord bibMarcRecord,int recordPosition, OLEBatchProcessJobDetailsBo job) throws Exception;
26 public boolean validateDefaultLocation(String defaultLocation);
27 public boolean validateVendorNumber(String vendorNumber);
28 public boolean validateDestinationFieldValues(String destinationFieldValue);
29 public boolean validateForPercentage(String percentage);
30 public boolean validateForNumber(String fieldValue);
31 public boolean checkRequestorName(String requestorName);
32 public boolean validateItemStatus(String itemStatus);
33 public List<OleTxRecord> getQuantityItemPartsLocation(List<BibMarcRecord> bibMarcRecords, OLEBatchProcessJobDetailsBo job);
34 }