| java.lang.Object de.danet.an.workflow.clients.wfxml.AbstractResponseGenerator de.danet.an.workflow.clients.wfxml.InstanceResponseGenerator
InstanceResponseGenerator | class InstanceResponseGenerator extends AbstractResponseGenerator (Code) | | This class provides the methods of an
AbstractResponseGenerator that are relevant for the instance.
The Instance resource is the actual "performance of work"; it is the
process instance. It embodies the context information that distinguishes one
process instance from another. Some people call this a "case". A process
instance resource can be used only once: it is created, then it can be
started, it can be paused, resumed, terminated. If things go normally, it
will eventually complete.
author: Dirk Schnelle |
InstanceResponseGenerator | public InstanceResponseGenerator(ObserverRegistry observerRegistry, WorkflowService wfs, ResourceReference resRef)(Code) | | Constructs a new object.
Parameters: observerRegistry - the observer registry. Parameters: wfs - Reference to the workflow engine. Parameters: resRef - the resource reference. |
createStateChangedMessage | public SOAPMessage createStateChangedMessage(String observer, String newState, String oldState) throws SOAPException(Code) | | Creates a state changed notification message for the given observer.
Parameters: observer - the observer Parameters: newState - the new state of the process Parameters: oldState - the old state of the process notification message. throws: SOAPException - error creating the message. |
Methods inherited from de.danet.an.workflow.clients.wfxml.AbstractResponseGenerator | protected SOAPBodyElement createAsapResponseNode(SOAPMessage respMsg, String nodeName) throws SOAPException(Code)(Java Doc) protected SOAPBodyElement createWfxmlResponseNode(SOAPMessage respMsg, String nodeName) throws SOAPException(Code)(Java Doc) abstract public void evaluate(SOAPMessage reqMsg, SOAPMessage respMsg) throws SOAPException, RemoteException(Code)(Java Doc) void fillResponseHeader(SOAPMessage reqMsg, SOAPMessage respMsg) throws SOAPException(Code)(Java Doc) protected SOAPElement findChildNode(SOAPElement element, String key)(Code)(Java Doc) protected SOAPBodyElement getActionElement(SOAPMessage request) throws SOAPException(Code)(Java Doc) protected String getChildTextContent(SOAPMessage message, SOAPElement element, String prefix, String name) throws SOAPException(Code)(Java Doc) protected String getChildsTextContent(SOAPElement element, String key)(Code)(Java Doc) protected String getHeaderValue(SOAPMessage message, String key) throws SOAPException(Code)(Java Doc) protected ObserverRegistry getObserverRegistry()(Code)(Java Doc) abstract protected String getResourceName()(Code)(Java Doc) public ResourceReference getResourceReference()(Code)(Java Doc) public WorkflowService getWorkflowService()(Code)(Java Doc) protected SOAPElement importAsChild(SOAPElement parent, SOAPElement imported) throws SOAPException(Code)(Java Doc) protected static void importSAXAsChild(SOAPMessage message, SOAPElement parent, SAXEventBuffer sax) throws SOAPException(Code)(Java Doc) protected static SOAPElement importW3CNodeAsChild(SOAPElement parent, org.w3c.dom.Node imported) throws SOAPException(Code)(Java Doc) protected void maybeAddTextNode(SOAPElement element, String text) throws SOAPException(Code)(Java Doc) protected byte[] nodeToBytes(SOAPElement node) throws TransformerException(Code)(Java Doc)
|
|
|