org.yawlfoundation.yawl.testService
Class TestService

java.lang.Object
  extended by org.yawlfoundation.yawl.engine.interfce.interfaceB.InterfaceBWebsideController
      extended by org.yawlfoundation.yawl.testService.TestService

public class TestService
extends InterfaceBWebsideController

Created by IntelliJ IDEA. User: Default Date: 17/09/2007 Time: 17:48:13 To change this template use File | Settings | File Templates.


Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.engine.interfce.interfaceB.InterfaceBWebsideController
_ibCache, _interfaceBClient, _logger, _report, engineLogonName, engineLogonPassword, XSD_ANYURI_TYPE, XSD_NAMESPACE, XSD_NCNAME_TYPE, XSD_STRINGTYPE
 
Constructor Summary
TestService()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Override this method to provide a welcome screen for your Custom YAWL Service For instance you could redirect to a JSP or just write typical servlet doGet() code inside your subclass.
 String execJSP(String urlStr)
           
 String getTaskParametersInOrder()
           
 void handleCancelledWorkItemEvent(WorkItemRecord workItemRecord)
          Receives notification from the engine that an active workitem has been cancelled.
 void handleCompleteCaseEvent(String caseID, String casedata)
          Receives notification from the engine that an active case has been completed.
 void handleEnabledWorkItemEvent(WorkItemRecord enabledWorkItem)
          Receives notification from the engine of an enabled workitem.
 String initWorkletListener()
           
 String testClientConnect()
           
 String testCostModel()
           
 String testDocumentType()
           
 String testRdrConclusion()
           
 String testWorkletClient()
           
 String testXNode()
           
 String testXNodeComparator()
           
 String testXNodeParser()
           
 
Methods inherited from class org.yawlfoundation.yawl.engine.interfce.interfaceB.InterfaceBWebsideController
checkConnection, checkInWorkItem, checkInWorkItem, checkInWorkItem, checkOut, checkOutAllInstancesOfThisTask, connect, describeRequiredParams, destroy, getAuthenticationConfig, getCachedWorkItem, getChildren, getEngineStoredWorkItem, getIBCache, getModel, getResourcingSpecs, getSpecificationData, getSpecificationData, getSpecificationPrototypesList, getTaskInformation, getTaskInformation, handleCancelledCaseEvent, handleCaseResumedEvent, handleCaseSuspendedEvent, handleCaseSuspendingEvent, handleEngineInitialisationCompletedEvent, handleStartCaseEvent, handleTimerExpiryEvent, handleWorkItemStatusChangeEvent, logContactError, prepareReplyRootElement, setEngineLogonName, setEngineLogonPassword, setRemoteAuthenticationDetails, setUpInterfaceBClient, successful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestService

public TestService()
Method Detail

handleEnabledWorkItemEvent

public void handleEnabledWorkItemEvent(WorkItemRecord enabledWorkItem)
Description copied from class: InterfaceBWebsideController
Receives notification from the engine of an enabled workitem. Typically, a custom service will implement this method to check out the work item, and process it as appropriate for the service.

Specified by:
handleEnabledWorkItemEvent in class InterfaceBWebsideController
Parameters:
enabledWorkItem - the enabled work item

handleCancelledWorkItemEvent

public void handleCancelledWorkItemEvent(WorkItemRecord workItemRecord)
Description copied from class: InterfaceBWebsideController
Receives notification from the engine that an active workitem has been cancelled. A custom service will implement this method to take any cleanup action on a previously checked out workitem.

Specified by:
handleCancelledWorkItemEvent in class InterfaceBWebsideController
Parameters:
workItemRecord - the cancelled work item

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws IOException,
                  javax.servlet.ServletException
Description copied from class: InterfaceBWebsideController
Override this method to provide a welcome screen for your Custom YAWL Service For instance you could redirect to a JSP or just write typical servlet doGet() code inside your subclass.

Overrides:
doGet in class InterfaceBWebsideController
Parameters:
request - the request
response - the response.
Throws:
IOException - if an error is detected when the servlet handles the GET request
javax.servlet.ServletException - if the request for the GET could not be handled

initWorkletListener

public String initWorkletListener()

execJSP

public String execJSP(String urlStr)
               throws IOException
Throws:
IOException

testRdrConclusion

public String testRdrConclusion()

testXNode

public String testXNode()

testXNodeParser

public String testXNodeParser()

testWorkletClient

public String testWorkletClient()

testCostModel

public String testCostModel()

testDocumentType

public String testDocumentType()

testXNodeComparator

public String testXNodeComparator()

testClientConnect

public String testClientConnect()

getTaskParametersInOrder

public String getTaskParametersInOrder()

handleCompleteCaseEvent

public void handleCompleteCaseEvent(String caseID,
                                    String casedata)
Description copied from class: InterfaceBWebsideController
Receives notification from the engine that an active case has been completed. By overriding this method a service can process case completion events as required.

Overrides:
handleCompleteCaseEvent in class InterfaceBWebsideController
Parameters:
caseID - the id of the completed case.
casedata - the set of net-level data for the case when it completes


Copyright © 2004-2012 The YAWL Foundation.