Uses of Class
com.onenetwork.platform.integ.edi.EDIMessagingContext
Package | Description |
---|---|
com.onenetwork.platform.integ.edi |
Used for parsing, processing and generating EDI messages in X12 and/or EDIFACT format.
|
com.onenetwork.platform.integ.oagis | |
com.onenetwork.platform.integ.sap |
Used for parsing, processing and generating SAP "IDoc" files.
|
-
Uses of EDIMessagingContext in com.onenetwork.platform.integ.edi
Methods in com.onenetwork.platform.integ.edi that return EDIMessagingContext Modifier and Type Method Description protected EDIMessagingContext
BaseEDIOutboundGenerator. getEDIMessagingContext(Partner partner, PlatformUserContext pltUserContext)
Build EDIMessagingContext that will be used to get the outbound mapper.EDIMessagingContext
EDIMapper. getEDIMessagingContext()
Methods in com.onenetwork.platform.integ.edi with parameters of type EDIMessagingContext Modifier and Type Method Description QueueRef
EDIMapper. chooseOutboundQueue(com.americancoders.edi.Envelope envelope, EDIMessagingContext ctx)
Override this method to choose the outbound queue for the given Envelope to be placed in.java.lang.String
EDIService. convertEnvelopeToString(com.americancoders.edi.Envelope envelope, EDIEnvelopeInfo ediEnvelopeInfo, EDIMessagingContext ediMessagingContext)
This method converts the envelope into a formatted Stringjava.lang.String
EDIService. convertEnvelopeToString(com.americancoders.edi.Envelope envelope, EDIMessagingContext ediMessagingContext)
Deprecated.protected EDIMessage
BaseEDIOutboundGenerator. createAndSendEnvelope(java.util.List<com.americancoders.edi.TransactionSet> txnSetsToSend, EDIMessagingContext ediMsgCtx, EDIEnvelopeInfo ediEnvelopeInfo, boolean createEdiMqEntries)
This method creates and envelope and usesEDIUtil.send
to send the envelope.com.americancoders.edi.Envelope
EDI824Service. createEDI824Envelope(ModelList wfResponse, EDIMessagingContext ediMessagingContext)
Creates and 824 envelope using the workflow responseEDI824ErrorDef
EDI824Service. createEDI824ErrorDef(com.americancoders.edi.DocumentErrors docErrors, java.lang.String edi824AckCode, java.lang.String ediErrorCode, EDIMessagingContext ediMsgContext)
Create EDI824ErrorDef using the errors captured in DocumentErrors.com.americancoders.edi.TransactionSet
EDI824Service. createEDI824TransactionSet(EDI824ErrorDef edi824ErrorDef, EDIMessagingContext ediMessagingContext)
Creates and 824 transaction set using the errors captured inEDI824ErrorDef
com.americancoders.edi.Envelope
EDIService. createEnvelope(java.util.List<com.americancoders.edi.TransactionSet> transactionSets, InterchangeInfo interchangeInfo, EDIEnvelopeInfo ediEnvelopeInfo, EDIMessagingContext ediMessagingContext)
This method creates a default OBOE envelope based on the EDI Format - either X12 / EDIFACT with Interchange Control Version Number 00401 and default sender and receiver as "OneNetwork" and "Client"com.americancoders.edi.Envelope
EDIMapper. generateOutbound824(ModelList wfResponse, EDIMessagingContext ediMessagingContext)
Method which should be overridden by the module mappers to create outbound 824 envelope based on the workflow response which will be sent by the platform.java.util.List<EdiConfig>
EDIConfigService. getEdiConfigs(EDIMessagingContext ediMessagingContext)
This method finds the EdiConfig records associated with the EDI Identifiers and the partner by using ediMessagingContext;protected EDIDelimiters
BaseEDIOutboundGenerator. getEDIDelimitersFromPartnerConfig(EDIMessagingContext ediMsgCtx, EDIEnvelopeInfo ediEnvelopeInfo)
Method to get the EDIDelimiters as specified in EDIPartnerConfig model.EDIEnvelopeInfo
EDIService. getEDIEnvelopeInfo(com.americancoders.edi.Envelope envelope, EDIDelimiters ediDelimiters, EDIMessagingContext ediMessagingContext)
This method creates EDIEnvelope object consisting of delimiters , control numbers information for the envelopeprotected EDIEnvelopeInfo
BaseEDIOutboundGenerator. getEDIEnvelopeInfoToBuildEnvelope(EDIMessagingContext ediMsgContext, EDIDelimiters ediDelimiters)
Method to buildEDIEnvelopeInfo
object to capture delimiters and other control number related data used for EDIUtil.send processprotected InterchangeInfo
BaseEDIOutboundGenerator. getInterchangeInfoToBuildEnvelope(EDIMessagingContext ediMsgContext)
Method to buildInterchangeInfo
object to capture sender/receiver EDI data used for EDIUtil.send process.protected EDIMapper
BaseEDIOutboundGenerator. getOutboundMapper(EDIMessagingContext ediMessagingContext)
Method to get the outbound mapper using which the EDI transaction set will be formedvoid
EDI824Service. populateRefTransNumberOn824(com.americancoders.edi.Envelope envelope824, EDIMessagingContext ediMsgContext)
Use this method to update the reference transaction numbers on the EDI 824.void
EDIMapper. populateRefTransNumberOn824(com.americancoders.edi.Envelope envelope824, EDIMessagingContext ediMsgContext)
Override this method when the reference transaction number on the 824 transaction set needs to be populated on a segment other than OTI.REF.boolean
EDIMapper. preprocessOutboundEnvelope(com.americancoders.edi.Envelope envelope, EDIMessagingContext ctx)
Override this method to update the content of an outbound generated envelope just before sending.protected EDIMessage
BaseEDIOutboundGenerator. send(com.americancoders.edi.Envelope envelope, EDIEnvelopeInfo ediEnvelopeInfo, EDIMessagingContext messagingContext, boolean createEdiMqEntries)
"Sends" the EDI data by enqueuing it to the outbound queue referred by the IntegSubs.protected EDIMessage
BaseEDIOutboundGenerator. send(com.americancoders.edi.Envelope envelope, EDIMessagingContext messagingContext)
Deprecated.protected EDIMessage
BaseEDIOutboundGenerator. send(com.americancoders.edi.Envelope envelope, EDIMessagingContext messagingContext, boolean createEdiMqEntries)
Deprecated.EDIMessage
EDIService. send(com.americancoders.edi.Envelope envelope, EDIEnvelopeInfo ediEnvelopeInfo, QueueRef queue, boolean createEdiMsgQueueEntries, EDIMessagingContext ediMessagingContext)
This method is used to send an outbound EDI envelope to the outbox queue returned by the mapper.EDIMessage
EDIService. send(com.americancoders.edi.Envelope envelope, QueueRef queue, boolean createEdiMsgQueueEntries, EDIMessagingContext ediMessagingContext)
Deprecated.void
EDIMapper. setEDIMessagingContext(EDIMessagingContext messagingContext)
-
Uses of EDIMessagingContext in com.onenetwork.platform.integ.oagis
Fields in com.onenetwork.platform.integ.oagis declared as EDIMessagingContext Modifier and Type Field Description protected EDIMessagingContext
OAGISMapper. ediMsgContext
Methods in com.onenetwork.platform.integ.oagis that return EDIMessagingContext Modifier and Type Method Description protected EDIMessagingContext
BaseOAGISOutboundGenerator. getEDIMessagingContext(PlatformUserContext pltUserContext)
Build a new EDIMessagingContext from the given user context, used to get the outbound mapper.EDIMessagingContext
OAGISMapper. getEDIMessagingContext()
Methods in com.onenetwork.platform.integ.oagis with parameters of type EDIMessagingContext Modifier and Type Method Description EdiMessageQueue
OAGISService. buildEdiMessageQueueForOutbound(java.lang.Object oagis, EDIMessagingContext ediMessagingContext)
Creates the EDIMessageQueue object and populates with the default values from the EDIMessagingContextvoid
OAGISService. createOAGISXML(java.lang.Object oagis, java.lang.String oagisVersion, java.io.Writer writer, EDIMessagingContext ediMessagingContext, ModelOutboundProcessingContext processingContext, boolean isSkipValidation)
This method is used to write an OAGIS object in "XML" file format to a writer.protected void
BaseOAGISOutboundGenerator. generateSingleOAGISPerPayload(java.util.List<java.lang.Object> oagisList, OAGISMapper mapper, EDIMessagingContext ediMessagingContext, ModelOutboundProcessingContext processingContext)
Generates separate payload for each OAGISOAGISMapper
OAGISService. getInboundMapper(EDIMessagingContext ediMsgContext)
This method uses the EDIInboundRoute data to determine the Inbound Interface and hence the inbound mapper class name for the particular OAGIS message.protected OAGISMapper
BaseOAGISOutboundGenerator. getOutboundMapper(EDIMessagingContext ediMessagingContext, ModelOutboundProcessingContext processingContext)
Method to get the OAGISMapper to be used to form the outbound OAGIS.OAGISMapper
OAGISService. getOutboundMapper(java.lang.Long senderOrgId, java.lang.Long receiverOrgId, EDIMessagingContext ediMessagingContext, QueueRef queueRef)
This method uses the EDIOutboundRoute data to determine the Outbound Interface and hence the outbound mapper class name for the particular OAGIS message.void
OAGISMapper. setEDIMessagingContext(EDIMessagingContext ediMsgContext)
EDIMessagingContext which captures information about the current OAGIS.abstract void
OAGISMapper. setSenderReceiverOrgsOnEMContext(EDIMessagingContext ediMsgContext, java.lang.Object oagis)
This method can be overridden by subclass mappers to provide the implementation for adding sender and receiver information into EDIMessagingContext in order to create Application Area by using OAGIS object.void
OAGISService. updateEdiMessageQueues(java.util.List<EdiMessageQueue> ediMsgQueuesToUpdate, EDIMessagingContext ediMessagingContext)
Updates EDIMessageQueuesConstructors in com.onenetwork.platform.integ.oagis with parameters of type EDIMessagingContext Constructor Description OAGISMapper(EDIMessagingContext ediMsgContext)
-
Uses of EDIMessagingContext in com.onenetwork.platform.integ.sap
Fields in com.onenetwork.platform.integ.sap declared as EDIMessagingContext Modifier and Type Field Description protected EDIMessagingContext
IDocMapper. ediMsgContext
Methods in com.onenetwork.platform.integ.sap that return EDIMessagingContext Modifier and Type Method Description protected EDIMessagingContext
BaseIDocOutboundGenerator. getEDIMessagingContext(PlatformUserContext pltUserContext)
Build a new EDIMessagingContext from the given user context, used to get the outbound mapper.EDIMessagingContext
IDocMapper. getEDIMessagingContext()
EDIMessagingContext which captures information about the current IDoc.Methods in com.onenetwork.platform.integ.sap with parameters of type EDIMessagingContext 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 IDocIDocMapper
IDocService. getInboundMapper(EDIMessagingContext ediMsgContext)
This method uses the EDIInboundRoute data to determine the Inbound Interface and hence the inbound mapper class name for the particular IDoc message.protected IDocMapper
BaseIDocOutboundGenerator. getOutboundMapper(EDIMessagingContext ediMessagingContext, ModelOutboundProcessingContext processingContext)
Method to get the IDocMapper to be used to form the outbound IDoc.IDocMapper
IDocService. getOutboundMapper(java.lang.Long senderOrgId, java.lang.Long receiverOrgId, EDIMessagingContext messagingContext, QueueRef queueRef)
This method uses the EDIOutboundRoute data to determine the Outbound Interface and hence the outbound mapper class name for the particular IDoc message.void
IDocMapper. setEDIMessagingContext(EDIMessagingContext ediMsgContext)
EDIMessagingContext which captures information about the current IDoc.Constructors in com.onenetwork.platform.integ.sap with parameters of type EDIMessagingContext Constructor Description IDocMapper(java.lang.String moduleOrEptPrefix, java.lang.String metadataFileName, EDIMessagingContext ediMsgContext)
This method is used to create and load the IDocDef object from the metadata XML file within the module or EPT.