filenet.vw.api

Class VWReceiveInstruction

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable


public final class VWReceiveInstruction
extends VWInstructionDefinition
implements java.io.Serializable
This class represents a Process Engine workflow step instruction that allows a Process Engine to communicate through a local web service listener and receive either an XML message or a set of Process Engine workflow operation parameters.

Create an instance of this class with VWCompoundStepDefinition.createReceiveInstruction(String,String).

Types of Message Management

This class provides two groups of methods for communication over a partner link, depending on the type of message management desired; an instance of this class should use message management methods from one group or the other, but not both. The two types of partner link-related message management that this class handles are the following:

See Also:
VWPartnerLinkDefinition, VWWebServiceParameterDefinition, Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      VWWebServiceParameterDefinition createParameter(java.lang.String theName, java.lang.String theValue, int theType, boolean theIsArray)
      Creates a parameter with name, direction, value, and type information.
      void deleteAllParameters()
      Deletes all parameter definitions for this receive instruction.
      void deleteParameter(int theSequenceNumber)
      Deletes a parameter definition from the set of parameter definitions stored in this receive instruction.
      boolean getAuthentication()
      Gets the value of theAuthenticationFlag, indicating whether a Web Service security header for caller authentication is generated for this operation.
      int getCorrelationParameterSequenceNumber()
      Gets the correlation parameter sequence number of this receive instruction; may be -1 if there is no correlation parameter.
      java.lang.String getCorrelationSetName()
      Gets the correlation set name.
      java.lang.String[][] getCorrelationSetProperties()
      Gets the correlation set properties.
      java.lang.String getCorrelationValueExpression()
      Gets an expression that evaluates to the correlation set parameter value for this receive instruction; may be null.
      java.lang.String getMessageExpr()
      Gets the message expression of this receive instruction.
      java.lang.String getMessageFromElementName()
      Gets the name of the schema element that defines the WSDL message associated with this receive message, where the schema is defined in the containing workflow definition.
      java.lang.String getMessageFromSchemaName()
      Gets the name of the schema that defines the WSDL message associated with this receive message, where the schema is defined in the containing workflow definition.
      int getOnlineId()
      Gets the online ID, if available, or -1.
      java.lang.String getOperationName()
      Gets the operation name of this receive instruction.
      VWWebServiceParameterDefinition getParameterDefinition(int theSequenceNumber)
      Gets a parameter definition from the set of parameter definitions stored in this receive instruction.
      VWWebServiceParameterDefinition[] getParameterDefinitions()
      Gets the parameter definitions stored in this receive instruction.
      java.lang.String getPartnerLinkName()
      Gets the partner link name of this receive instruction.
      java.lang.String[] getSecurityGroup()
      Gets the security group assigned for this receive instruction.
      java.lang.String getTimeoutExpr()
      Gets the timeout expression of this receive instruction, in the same format in which the expression was set.
      java.lang.String getTimeoutMapName()
      Gets the timeout map name of this receive instruction.
      void setAuthentication(boolean theAuthenticationFlag)
      Sets the value of theAuthenticationFlag, indicating a Web Service security header authenticating the caller is to be used for this operation.
      void setCorrelationParameterSequenceNumber(int theParamSeqNumber)
      Sets the correlation parameter sequence number of this receive instruction; may be -1, indicating there is no correlation parameter.
      void setCorrelationSetName(java.lang.String theName)
      Sets the correlation set name; may be null.
      void setCorrelationSetProperties(java.lang.String[][] theProps)
      Sets the output correlation set properties.
      void setCorrelationValueExpression(java.lang.String theValueExpr)
      Sets an expression that evaluates to the correlation set parameter value for this receive instruction; may be null.
      void setMessageExpr(java.lang.String theMsgExpr)
      Sets the message expression of this receive instruction.
      void setMessageFromElementName(java.lang.String theElement)
      Sets the name of the schema element that defines the WSDL message associated with this receive message, where the schema is defined in the containing workflow definition.
      void setMessageFromSchemaName(java.lang.String theSchema)
      Sets the name of the schema that defines the WSDL message associated with this receive message, where the schema is defined in the containing workflow definition.
      void setOperationName(java.lang.String theOperationName)
      Sets the operation name of this receive instruction, which must be the name of an operation on the port type defined in the associated partner link.
      void setPartnerLinkName(java.lang.String thePartnerLinkName)
      Sets the partner link name of this receive instruction.
      void setSecurityGroup(java.lang.String[] theSecurityGroup)
      Sets the security group to use for this receive instruction.
      void setTimeoutExpr(java.lang.String theTimeoutExpr)
      Sets the timeout expression of this receive instruction; must be a valid time expression.
      void setTimeoutMapName(java.lang.String theTimeoutMapName)
      Sets the timeout map name of this receive instruction.
      java.lang.String toString()
      Gets the name of this VWReceiveInstruction instruction
      void toXML(java.lang.StringBuffer theBuffer)
      void toXPDL(java.lang.String indentA, java.lang.StringBuffer theBuffer)
      void validate(VWSession theSession, java.util.Vector EDefVector, VWCompoundStepDefinition myStep)
      Deprecated. 
      Use VWWorkflowDefinition or VWWorkflowCollectionDefinition validate methods.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

© Copyright IBM Corporation 2002, 2013. All rights reserved.