Class EDITransactionSetFactory

java.lang.Object
com.onenetwork.platform.integ.edi.EDITransactionSetFactory

public class EDITransactionSetFactory
extends java.lang.Object
Platform wrapper around OBOE TransactionSetFactory. Do not use TransactionSetFactory directly, use this class instead.
  • Constructor Summary

    Constructors 
    Constructor Description
    EDITransactionSetFactory()  
  • Method Summary

    Modifier and Type Method Description
    static com.americancoders.edi.TransactionSet buildTransactionSet​(java.lang.String inTSID)
    Use the default searchDirective to look for the rules file.
    static com.americancoders.edi.TransactionSet buildTransactionSet​(java.lang.String inTSID, java.lang.String inSearchDirective, java.lang.String inVersionDirectory, java.lang.String inReceiverIDDirectory, java.lang.String inSenderIDDirectory, java.lang.String inTestOrProductionDirectory)
    Uses searchDirective (either specified or from OBOE properties) Finds the rules directory using the comma separated values from searchDirective to find the closest match in terms of the rules file to be used.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • buildTransactionSet

      public static com.americancoders.edi.TransactionSet buildTransactionSet​(java.lang.String inTSID) throws com.americancoders.edi.OBOEException
      Use the default searchDirective to look for the rules file.
      Parameters:
      inTSID -
      Returns:
      TransactionSet built using the corresponding rules
      Throws:
      com.americancoders.edi.OBOEException
    • buildTransactionSet

      public static com.americancoders.edi.TransactionSet buildTransactionSet​(java.lang.String inTSID, java.lang.String inSearchDirective, java.lang.String inVersionDirectory, java.lang.String inReceiverIDDirectory, java.lang.String inSenderIDDirectory, java.lang.String inTestOrProductionDirectory) throws com.americancoders.edi.OBOEException
      Uses searchDirective (either specified or from OBOE properties) Finds the rules directory using the comma separated values from searchDirective to find the closest match in terms of the rules file to be used. Last option is to fall back on the default rules file
      Parameters:
      inTSID -
      inSearchDirective -
      inVersionDirectory -
      inReceiverIDDirectory -
      inSenderIDDirectory -
      inTestOrProductionDirectory -
      Returns:
      TransactionSet built using the corresponding rules
      Throws:
      com.americancoders.edi.OBOEException