Uses of Class
com.wm.app.tn.doc.BizDocEnvelope

Packages that use BizDocEnvelope
com.wm.app.tn.db   
com.wm.app.tn.delivery   
com.wm.app.tn.doc   
com.wm.app.tn.route   
 

Uses of BizDocEnvelope in com.wm.app.tn.db
 

Methods in com.wm.app.tn.db that return BizDocEnvelope
static BizDocEnvelope BizDocStore.getDocument(java.sql.Connection conn, java.lang.String docId, boolean content)
           
static BizDocEnvelope BizDocStore.getDocument(java.sql.Connection conn, java.lang.String docId, boolean content, java.lang.String archive)
           
static BizDocEnvelope BizDocStore.getDocument(java.sql.Connection conn, java.lang.String docId, boolean content, java.lang.String[] includeParts, java.lang.String[] excludeParts)
           
static BizDocEnvelope BizDocStore.getDocument(java.sql.Connection conn, java.lang.String docId, boolean content, java.lang.String[] includeParts, java.lang.String[] excludeParts, java.lang.String archive)
           
static BizDocEnvelope BizDocStore.getDocument(java.lang.String docId, boolean content)
          Get a BizDoc by ID.
static BizDocEnvelope BizDocStore.getDocument(java.lang.String docId, boolean content, java.lang.String archive)
           
static BizDocEnvelope BizDocStore.getDocument(java.lang.String docId, boolean content, java.lang.String[] includeParts, java.lang.String[] excludeParts)
          Get a BizDoc by ID.
static BizDocEnvelope BizDocStore.getDocument(java.lang.String docId, boolean content, java.lang.String[] includeParts, java.lang.String[] excludeParts, java.lang.String archive)
           
 

Methods in com.wm.app.tn.db with parameters of type BizDocEnvelope
static boolean BizDocStore.changeRepeatByOne(BizDocEnvelope doc)
          Change the repeat number on a document.
static boolean BizDocStore.changeRepeatByOneForResubmission(BizDocEnvelope doc)
          Change the repeat number on a document.
static boolean BizDocStore.changeStatus(BizDocEnvelope doc, java.lang.String sys, java.lang.String usr)
          Change the status on a document.
static boolean BizDocStore.changeStatus(BizDocEnvelope doc, java.lang.String sys, java.lang.String usr, java.lang.String dataType)
          Change the status on a document.
static void BDDocAttributeOperations.getAttributeValues(java.sql.Connection conn, BizDocEnvelope doc)
           
static int BDRelationshipOperations.insert(java.sql.Connection conn, BizDocEnvelope doc)
           
static boolean BizDocStore.insertDocument(BizDocEnvelope doc, boolean content)
          Insert a BizDoc as new into the datastore.
static void DeliveryOperations.notifyJobs(BizDocEnvelope doc)
           
static boolean BizDocStore.queueForDelivery(BizDocEnvelope doc)
          For internal use only
static boolean BizDocStore.queueForPolling(BizDocEnvelope doc)
          For internal use only
static boolean BizDocStore.relateDocuments(BizDocEnvelope from, BizDocEnvelope to, java.lang.String rel)
          Related the two specified documents.
static int BDRelationshipOperations.select(java.sql.Connection conn, BizDocEnvelope doc)
           
static int BDDocAttributeOperations.setAttributeValues(java.sql.Connection conn, BizDocEnvelope doc)
           
static int BizDocStore.updateAttributes(BizDocEnvelope doc)
          Updates user attributes in the database on the supplied bizdoc.
static int BDDocAttributeOperations.updateAttributeValues(BizDocEnvelope doc)
           
static boolean BizDocStore.updateConversationID(BizDocEnvelope doc)
          Update Conversation ID in the database on the supplied bizdoc.
static void BizDocStore.updateSystemAttributes(BizDocEnvelope doc)
          Updates system attributes in the database on the supplied bizdoc.
static boolean BDDocAttributeOperations.updateSystemAttributes(BizDocEnvelope doc)
           
 

Uses of BizDocEnvelope in com.wm.app.tn.delivery
 

Methods in com.wm.app.tn.delivery that return BizDocEnvelope
 BizDocEnvelope GuaranteedJob.getBizDocEnvelope()
           
 

Methods in com.wm.app.tn.delivery with parameters of type BizDocEnvelope
static void QueuingUtils.addActivityEntry(int type, BizDocEnvelope doc, java.lang.String brief, java.lang.String full)
           
static DeliveryJob DeliveryUtils.createQueuedJob(BizDocEnvelope doc, java.lang.String qname)
          For internal use only.
static com.wm.data.IData DeliveryUtils.createServiceData(BizDocEnvelope env, boolean primary, java.lang.String protocol, java.lang.String username, java.lang.String password)
          Creates service data needed for wm.tn.transport services.
static com.wm.data.IData DeliveryUtils.createServiceData(BizDocEnvelope env, boolean primary, java.lang.String protocol, java.lang.String service, java.lang.String username, java.lang.String password)
          Creates service data needed for wm.tn.transport services.
static void QueuingUtils.enqueueDocument(BizDocEnvelope doc, java.lang.String qName)
           
static com.wm.data.IData DeliveryUtils.getPartnerContext(BizDocEnvelope bd, java.lang.String protocol)
          Attempts to get a com.wm.b2b.client.Context to a partner server if possible.
static com.wm.data.IData DeliveryUtils.getProfileLimits(BizDocEnvelope env)
          Retrieves the default values from the Partner Profile for delivery retry limit and time to wait for the receiver.
static void QueuingUtils.logDeliveryFailure(BizDocEnvelope doc, GuaranteedJob job, java.lang.String msg)
           
static void DeliveryUtils.notifyJobs(BizDocEnvelope doc)
          For internal use only.
 void GuaranteedJob.setBizDocEnvelope(BizDocEnvelope bizdoc)
           
 void DeliveryJob.setBizDocEnvelope(BizDocEnvelope bizdoc)
          Sets the bizdoc and sets up the inputs for the DeliveryService.
 

Constructors in com.wm.app.tn.delivery with parameters of type BizDocEnvelope
DeliveryJob(java.lang.String jobId, java.lang.String serverId, DeliveryService service, BizDocEnvelope bizdoc, long ttw, int retryLimit, int retryFactor, java.lang.String username, java.lang.String password)
          Define a new Job
GuaranteedJob(java.lang.String jobId, java.lang.String serverId, DeliveryService service, BizDocEnvelope bizdoc, com.wm.data.IData svcInput, long ttw, int retryLimit, int retryFactor)
          Define a new Job
 

Uses of BizDocEnvelope in com.wm.app.tn.doc
 

Methods in com.wm.app.tn.doc that return BizDocEnvelope
 BizDocEnvelope XMLDocType.createEnvelope(com.wm.data.IData in)
          Factory method for creating a new BizDocEnvelope for a document of this type.
 BizDocEnvelope UnknownDocType.createEnvelope(com.wm.data.IData in)
           
 BizDocEnvelope TestDocType.createEnvelope(com.wm.data.IData in)
           
 BizDocEnvelope MissingDocType.createEnvelope(com.wm.data.IData in)
           
 BizDocEnvelope FFDocType.createEnvelope(com.wm.data.IData in)
          Creates a BizDocEnvelope for a flat file document and initializes it from the pipeline in.
abstract  BizDocEnvelope BizDocType.createEnvelope(com.wm.data.IData in)
          Factory method for creating new BizDocs of this type.
static BizDocEnvelope BizDocEnvelope.createReply(BizDocEnvelope doc)
          Create a reply of the same type as the supplied document.
static BizDocEnvelope BizDocEnvelope.createReply(BizDocEnvelope doc, BizDocType replyType)
          Create a reply of the supplied type.
 BizDocEnvelope CorruptDocException.getEnvelope()
           
 BizDocEnvelope BizDocType.newEnvelope()
          Factory method for creating new uninitialized BizDocs of this type.
static BizDocEnvelope BizDocEnvelope.newEnvelope(BizDocType type)
          Create a new envelope of the supplied type
 BizDocEnvelope BizDocTypeReg.recognizeAndCreate(com.wm.data.IData in)
          Tries to determine the type of the inputted document based upon the existing lists of biz document types and returns a new BizDocEnvelope.
 

Methods in com.wm.app.tn.doc with parameters of type BizDocEnvelope
static boolean BizDocAttribute.checkAttribCondition(BizDocAttribute a, BizDocEnvelope env, java.lang.String op, java.lang.String target)
          For internal use only
 com.wm.data.IData XMLDocType.createPipeline(BizDocEnvelope bizdoc)
          Factory method for creating a pipeline from the given BizDoc.
 com.wm.data.IData UnknownDocType.createPipeline(BizDocEnvelope bizdoc)
          Factory method for creating a pipeline from the given BizDoc.
 com.wm.data.IData TestDocType.createPipeline(BizDocEnvelope bizdoc)
           
 com.wm.data.IData RecordDocType.createPipeline(BizDocEnvelope bizdoc)
          Factory method for creating a pipeline from the given BizDoc.
 com.wm.data.IData MissingDocType.createPipeline(BizDocEnvelope bd)
           
 com.wm.data.IData FFDocType.createPipeline(BizDocEnvelope bizdoc)
           
abstract  com.wm.data.IData BizDocType.createPipeline(BizDocEnvelope bizdoc)
          Factory method for creating a pipeline from the given BizDoc.
static BizDocEnvelope BizDocEnvelope.createReply(BizDocEnvelope doc)
          Create a reply of the same type as the supplied document.
static BizDocEnvelope BizDocEnvelope.createReply(BizDocEnvelope doc, BizDocType replyType)
          Create a reply of the supplied type.
 byte[] XMLDocType.getContentBytes(BizDocEnvelope bizdoc)
          Get content of a bizdoc The content of an XML doc is stored in a content part named, "xmldata".
 byte[] UnknownDocType.getContentBytes(BizDocEnvelope bizdoc)
          Get content of a bizdoc
 byte[] TestDocType.getContentBytes(BizDocEnvelope bizdoc)
           
 byte[] MissingDocType.getContentBytes(BizDocEnvelope bd)
           
 byte[] FFDocType.getContentBytes(BizDocEnvelope bizdoc)
          Returns content of a bizdoc.
abstract  byte[] BizDocType.getContentBytes(BizDocEnvelope bizdoc)
          Abstract method to get content of a bizdoc In general, this is called from the BizDocEnvelope.getContentBytes.
 java.lang.String FFDocType.getContentEncoding(BizDocEnvelope bizdoc)
          Returns the content encoding of a flat file bizdoc.
static java.lang.Object BizDocContentUtil.getContentPartData(BizDocEnvelope bizdoc, java.lang.String partName, java.lang.String getAs, int startIndex, int byteCount)
          Get content of a content part
 java.lang.String XMLDocType.getContentType(BizDocEnvelope bizdoc)
          Determine the content-type of the bizdoc
 java.lang.String UnknownDocType.getContentType(BizDocEnvelope bizdoc)
           
 java.lang.String TestDocType.getContentType(BizDocEnvelope bizdoc)
           
 java.lang.String MissingDocType.getContentType(BizDocEnvelope bd)
           
 java.lang.String FFDocType.getContentType(BizDocEnvelope bizdoc)
          Returns the content-type of a flat file bizdoc.
abstract  java.lang.String BizDocType.getContentType(BizDocEnvelope bizdoc)
          Abstract method for determining the content-type of the bizdoc (eg, text/xml).
 java.lang.Object XMLDocType.getDeliveryContent(BizDocEnvelope bizdoc)
          Get delivery content for the given envelope
 java.lang.Object UnknownDocType.getDeliveryContent(BizDocEnvelope bizdoc)
          Get delivery content for the given envelope
 java.lang.Object FFDocType.getDeliveryContent(BizDocEnvelope bizdoc)
          Gets delivery content for the given envelope.
 java.lang.Object BizDocType.getDeliveryContent(BizDocEnvelope bizdoc)
          Get delivery content for the given envelope
static byte[] FFDocType.getDocumentContent(com.wm.data.IData in, BizDocEnvelope env)
          Get the content bytes from input pipeline.
static com.wm.lang.xml.Document XMLDocType.getDocumentNode(BizDocEnvelope env)
           
 java.io.Reader BizDocType.getFormattedContentPart(BizDocEnvelope bizdoc, java.lang.String partName)
           
 java.lang.String XMLDocType.getFtpFileExtension(BizDocEnvelope bizdoc)
          Get file extension for FTP transport
 java.lang.String FFDocType.getFtpFileExtension(BizDocEnvelope bizdoc)
          Gets the file extension for FTP transport.
 java.lang.String BizDocType.getFtpFileExtension(BizDocEnvelope bizdoc)
          Get file extension for FTP transport
 boolean BizDocType.isFormattedContentPart(BizDocEnvelope bizdoc, java.lang.String partName)
           
 void BizDocTypeReg.mapMonitoredAttributes(com.wm.data.IData in, BizDocEnvelope env)
           
static com.wm.data.IData FFDocType.s_createPipeline(BizDocEnvelope bizdoc)
          Creates a pipeline from a BizDocEnvelope.
 void XMLDocType.setContentBytes(BizDocEnvelope env, byte[] data)
          Set content of a bizdoc The content of an XML doc is stored in a content part named, "xmldata".
 void UnknownDocType.setContentBytes(BizDocEnvelope env, byte[] data)
          Set content of a bizdoc
 void TestDocType.setContentBytes(BizDocEnvelope bizdoc, byte[] data)
           
 void MissingDocType.setContentBytes(BizDocEnvelope bd, byte[] bytes)
           
 void FFDocType.setContentBytes(BizDocEnvelope env, byte[] data)
          Sets content of a bizdoc.
abstract  void BizDocType.setContentBytes(BizDocEnvelope bizdoc, byte[] data)
          Abstract method to set the content bytes.
 void XMLDocType.setContentBytes(BizDocEnvelope env, byte[] data, java.lang.String enc)
          Set content of a bizdoc.
 void CorruptDocException.setEnvelope(BizDocEnvelope env)
           
 void BizDocType.setReceiveSvc(com.wm.data.IData in, BizDocEnvelope bde)
          Support for resubmit: extract TN_parms/$receiveSvc from the pipeline "in" and calls BizDocEnvelope.setReceiveSvc().
static void BizDocAttributeTransform.validateAndSetReceiver(BizDocEnvelope env, java.lang.String id)
           
static void BizDocAttributeTransform.validateAndSetReceiver(BizDocEnvelope env, java.lang.String id, java.lang.String origId)
           
static void BizDocAttributeTransform.validateAndSetSender(BizDocEnvelope env, java.lang.String id)
           
static void BizDocAttributeTransform.validateAndSetSender(BizDocEnvelope env, java.lang.String id, java.lang.String origId)
           
 

Uses of BizDocEnvelope in com.wm.app.tn.route
 

Methods in com.wm.app.tn.route that return BizDocEnvelope
static BizDocEnvelope RoutingActions.mapMonitoredAttributes(java.lang.String docID)
           
 

Methods in com.wm.app.tn.route with parameters of type BizDocEnvelope
static void RoutingActions.addError(BizDocEnvelope doc, ActivityLogEntry a)
          Adds an error to the supplied document.
static ActivityLogEntry RoutingActions.alert(BizDocEnvelope doc, java.lang.String p_id, java.lang.String c_type, java.lang.String sub, java.lang.String msg)
          Sends email.
static PreRoutingFlags PreRoutingFlags.create(BizDocEnvelope d)
           
static void RoutingActions.fillPipeline(com.wm.data.IData pipe, RoutingRule rule, BizDocEnvelope doc)
          For internal use only
 java.lang.String[] RoutingRuleList.getAllMatches(BizDocEnvelope doc, java.lang.String me, java.util.Hashtable atts)
           
static RoutingRule RoutingRuleStore.getFirstMatch(BizDocEnvelope doc)
           
 int RoutingRuleList.getMatchFrom(int idx, BizDocEnvelope doc, java.lang.String me, java.util.Hashtable atts)
           
static com.wm.data.IData RoutingActions.invoke(BizDocEnvelope doc, java.lang.String svc_nm, com.wm.data.IData svc_in, java.lang.String type)
          Invoke a B2B service.
static com.wm.data.IData RoutingActions.invokeWrapper(BizDocEnvelope doc, java.lang.String svc_nm, com.wm.data.IData svc_in, java.lang.String invokeType, boolean throwif)
          For internal use only
 boolean RoutingRule.matches(java.lang.String me, BizDocEnvelope d)
          Answers whether this rule matches the supplied document.
 boolean RoutingRule.matches(java.lang.String me, BizDocEnvelope d, java.util.Hashtable atts)
          Answers whether this rule matches the supplied document.
static boolean RoutingActions.persist(BizDocEnvelope doc, java.lang.String uniq, boolean fail)
          Persists a document to the database.
static boolean RoutingActions.persist(BizDocEnvelope doc, java.lang.String uniq, java.lang.String dupCheckSvc, boolean fail)
          Persists a document to the database.
static boolean RoutingActions.pushStack(RoutingRule rule, BizDocEnvelope doc)
          For internal use only
static java.lang.String RoutingActions.send(BizDocEnvelope doc, java.lang.String proto, com.wm.data.IData pipe)
          Send a document.
static void RoutingActions.setAborted(BizDocEnvelope doc, boolean save)
          Deprecated. use the version of setAborted that allows you to explicitly specify the new system and user status (127)
static void RoutingActions.setAborted(BizDocEnvelope doc, java.lang.String sys, java.lang.String usr, boolean save)
          Puts a document into an "aborted" state, and (possibly) changes its status.
static void RoutingActions.sign(BizDocEnvelope doc, com.wm.data.IData pipe)
          Sign a document using its assigned signing service.
static void RoutingActions.validate(BizDocEnvelope doc, com.wm.data.IData pipe)
          Validate the structure of a document using its assigned validation service.
static void RoutingActions.verify(BizDocEnvelope doc, com.wm.data.IData pipe)
          Verify the signature of a document using its assigned verification service.