001package org.kuali.ole.service; 002 003import org.kuali.ole.batch.bo.OLEBatchProcessJobDetailsBo; 004import org.kuali.ole.batch.bo.OLEBatchProcessProfileBo; 005import org.kuali.ole.docstore.common.document.HoldingsTrees; 006import org.kuali.ole.docstore.common.document.content.bib.marc.BibMarcRecord; 007import org.kuali.ole.ingest.pojo.ProfileAttributeBo; 008import org.kuali.ole.pojo.OleBibRecord; 009import org.kuali.ole.pojo.OleOrderRecord; 010import org.kuali.ole.pojo.OleTxRecord; 011import org.kuali.ole.pojo.edi.EDIOrder; 012import org.kuali.rice.krms.api.engine.EngineResults; 013 014import java.util.List; 015 016/** 017 * Created with IntelliJ IDEA. 018 * User: vivekb 019 * Date: 2/28/13 020 * Time: 11:33 AM 021 * To change this template use File | Settings | File Templates. 022 */ 023public interface OleOrderRecordService { 024 public OleOrderRecord fetchOleOrderRecordForMarcEdi(String bibId, EDIOrder ediOrder, BibMarcRecord bibMarcRecord,int recordPosition, OLEBatchProcessJobDetailsBo job) throws Exception; 025 public OleOrderRecord fetchOleOrderRecordForMarc(String bibId, BibMarcRecord bibMarcRecord,int recordPosition, OLEBatchProcessJobDetailsBo job) throws Exception; 026 public boolean validateDefaultLocation(String defaultLocation); 027 public boolean validateVendorNumber(String vendorNumber); 028 public boolean validateDestinationFieldValues(String destinationFieldValue); 029 public boolean validateForPercentage(String percentage); 030 public boolean validateForNumber(String fieldValue); 031 public boolean checkRequestorName(String requestorName); 032 public boolean validateItemStatus(String itemStatus); 033 public List<OleTxRecord> getQuantityItemPartsLocation(List<BibMarcRecord> bibMarcRecords, OLEBatchProcessJobDetailsBo job); 034}