public class OLESerialReceivingImportProcessor extends Object
Modifier and Type | Field and Description |
---|---|
static List<String> |
recordTypeList |
Constructor and Description |
---|
OLESerialReceivingImportProcessor() |
Modifier and Type | Method and Description |
---|---|
OLESerialReceivingRecordSummary |
createOLESerialReceivingDocumentFromCsv(String serialReceivingDocument,
String serialReceivingType,
String serialReceivingHistory) |
OLESerialReceivingRecordSummary |
createOLESerialReceivingDocumentFromXml(String xmlContent)
This method returns the result of the loading process
|
OLESerialReceivingDocument |
generateSerialReceivingDocument(OLESerialReceivingDocument oleSerialReceivingDocument)
This method creates the actual serial receiving document with the given input values
|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
DocstoreClientLocator |
getDocstoreClientLocator() |
OLESerialReceivingDocuments |
getOleSerialReceivingRecordList(String serialReceivingXMLContent)
This method reads the incoming xml content and convert the xml into OLESerialReceivingDocuments object
|
OLESerialReceivingService |
getOleSerialReceivingService() |
String |
getParameter(String name,
String namespaceCode,
String componentCode) |
String |
getSerialReceivingDocumentXMLContent(OLESerialReceivingDocument oleSerialReceivingDocument) |
String |
getSerialReceivingFailureDocumentsXmlContent(OLESerialReceivingFailureDocuments oleSerialReceivingFailureDocuments)
This msthod is used to generate the oleSerialReceivingFailureDocuments content
|
String |
getSerialReceivingFailureHistoriesXmlContent(OLESerialReceivingFailureHistories oleSerialReceivingFailureHistories) |
String |
getSerialReceivingFailureTypesXmlContent(OLESerialReceivingFailureTypes oleSerialReceivingFailureTypes) |
String |
getSerialReceivingXMLContent(OLESerialReceivingDocuments oleSerialReceivingDocuments)
This method reads the incoming xml content and convert the xml into OLESerialReceivingDocuments object
|
static List<String> |
getSerialRecordTypeList() |
boolean |
isSerialRecordAlreadyExist(OLESerialReceivingDocument oleSerialReceivingDocument)
This method is used to check whether there is a serial receiving document for the given combination of bib and instance
|
boolean |
isValidPO(String poId,
String bibId,
String instanceId)
This method checks the bibId instanceId and Po Id are interlinked
|
boolean |
isValidSubscriptionStatus(String subscriptionStatus)
This method is used to check whether the subscription status send is valid one or not
|
List<OLESerialReceivingDocument> |
processSerialReceivingDocument(String serialReceivingDocumentContent) |
Map<String,List<OLESerialReceivingHistory>> |
processSerialReceivingHistory(String serialReceivingHistoryContent) |
Map<String,List<OLESerialReceivingType>> |
processSerialReceivingType(String serialReceivingTypeContent) |
boolean |
validateSerialReceivingDocument(OLESerialReceivingDocument oleSerialReceivingDocument)
This method is used to check whether the generated serial receiving document contains the required fields
|
boolean |
validBibAndInstance(String bibId,
String instanceId) |
public static final List<String> recordTypeList
public OLESerialReceivingImportProcessor()
public DocstoreClientLocator getDocstoreClientLocator()
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public OLESerialReceivingService getOleSerialReceivingService()
public OLESerialReceivingDocuments getOleSerialReceivingRecordList(String serialReceivingXMLContent) throws Exception
serialReceivingXMLContent
- Exception
public String getSerialReceivingXMLContent(OLESerialReceivingDocuments oleSerialReceivingDocuments) throws Exception
oleSerialReceivingDocuments
- Exception
public String getSerialReceivingDocumentXMLContent(OLESerialReceivingDocument oleSerialReceivingDocument) throws Exception
Exception
public String getSerialReceivingFailureDocumentsXmlContent(OLESerialReceivingFailureDocuments oleSerialReceivingFailureDocuments)
oleSerialReceivingFailureDocuments
- public String getSerialReceivingFailureTypesXmlContent(OLESerialReceivingFailureTypes oleSerialReceivingFailureTypes)
oleSerialReceivingFailureTypes
- public String getSerialReceivingFailureHistoriesXmlContent(OLESerialReceivingFailureHistories oleSerialReceivingFailureHistories)
public boolean isValidSubscriptionStatus(String subscriptionStatus)
subscriptionStatus
- public boolean isValidPO(String poId, String bibId, String instanceId)
poId
- bibId
- instanceId
- public boolean validBibAndInstance(String bibId, String instanceId)
public boolean validateSerialReceivingDocument(OLESerialReceivingDocument oleSerialReceivingDocument)
oleSerialReceivingDocument
- public boolean isSerialRecordAlreadyExist(OLESerialReceivingDocument oleSerialReceivingDocument)
oleSerialReceivingDocument
- public OLESerialReceivingDocument generateSerialReceivingDocument(OLESerialReceivingDocument oleSerialReceivingDocument)
oleSerialReceivingDocument
- public OLESerialReceivingRecordSummary createOLESerialReceivingDocumentFromXml(String xmlContent)
xmlContent
- public OLESerialReceivingRecordSummary createOLESerialReceivingDocumentFromCsv(String serialReceivingDocument, String serialReceivingType, String serialReceivingHistory)
public List<OLESerialReceivingDocument> processSerialReceivingDocument(String serialReceivingDocumentContent)
public Map<String,List<OLESerialReceivingHistory>> processSerialReceivingHistory(String serialReceivingHistoryContent)
public Map<String,List<OLESerialReceivingType>> processSerialReceivingType(String serialReceivingTypeContent)
public static List<String> getSerialRecordTypeList()
public String getParameter(String name, String namespaceCode, String componentCode)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.