Uses of Class
com.onenetwork.platform.integ.sap.IDoc
Package | Description |
---|---|
com.onenetwork.platform.integ.sap |
Used for parsing, processing and generating SAP "IDoc" files.
|
-
Uses of IDoc in com.onenetwork.platform.integ.sap
Methods in com.onenetwork.platform.integ.sap that return IDoc Modifier and Type Method Description IDoc
IDocService. parse(java.lang.String input, IDocDef idocDef)
Given IDoc data an an IDocDef, parse the data and return an IDoc objectMethods in com.onenetwork.platform.integ.sap that return types with arguments of type IDoc Modifier and Type Method Description abstract java.util.List<IDoc>
IDocMapper. generate(java.util.List<? extends Model> modelList)
Your implementation should convert the given Models into IDocs and return the result.Methods in com.onenetwork.platform.integ.sap with parameters of type IDoc Modifier and Type Method Description void
IDocMapper. addTransactionReferences(java.util.List<EdiMQTransRef> emqTransRefs, IDoc iDoc)
This method can be overridden by subclass mappers to provide the implementation for adding one or more EdiMQTransRef entries into the List present in the method parameter with related transaction ref number and it model level type.abstract void
IDocMapper. populateRefTransDetailsInEdiMsgQueue(EdiMessageQueue ediMessageQueue, IDoc iDoc)
This method must be overridden by subclass mappers to provide the implementation for updating the edi message queue with transaction ref numbers (primary, secondary, tertiary) where applicable.void
IDocService. printIDoc(IDoc iDoc, java.io.Writer writer)
This method is used to write an IDoc object in standard "flat" file format to a writer.void
IDocService. printIDocXML(IDoc iDoc, java.io.Writer writer)
This method is used to write an IDoc object in "XML" file format to a writer.abstract ModelList
IDocMapper. process(IDoc iDoc)
Your implementation should convert the given IDoc to models, write them (e.g.abstract void
IDocMapper. setSenderReceiverOrgsOnEMQ(EdiMessageQueue ediMessageQueue, IDoc idoc)
Implement this method to populate sender and receiver information on EDIMessageQueue by 1)Use the IDoc param to derive the senderOrg and receiverOrg based on the sender and receiver of the IDoc respectively.void
IDocMapper. validateIDoc(IDoc iDoc)
Override this method when you want to skip validation or customize the validation process that determine how to validate the IDoc The default implementation will attempt to validate the IDoc object against its IDocDef object derived from the metadata XML file.Method parameters in com.onenetwork.platform.integ.sap with type arguments of type IDoc Modifier and Type Method Description protected void
BaseIDocOutboundGenerator. generateMultipleIDocPerPayload(java.util.List<IDoc> iDocs, IDocMapper mapper, EDIMessagingContext ediMessagingContext, ModelOutboundProcessingContext processingContext)
Generates one single payload containing multiple IDoc'sprotected void
BaseIDocOutboundGenerator. generateSingleIDocPerPayload(java.util.List<IDoc> iDocs, IDocMapper mapper, EDIMessagingContext ediMessagingContext, ModelOutboundProcessingContext processingContext)
Generates separate payload for each IDoc