org.yawlfoundation.yawl.twitterService
Class TwitterService

java.lang.Object
  extended by org.yawlfoundation.yawl.engine.interfce.interfaceB.InterfaceBWebsideController
      extended by org.yawlfoundation.yawl.twitterService.TwitterService

public class TwitterService
extends InterfaceBWebsideController

A simple service that provides for status updates to the YAWL Twitter account

Author:
Michael Adams
Created/Last Date:
25/07/2009

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
TwitterService()
           
 
Method Summary
 YParameter[] describeRequiredParams()
          Override this method if you wish to allow other tools to find out what input parameters are required for your custom YAWL service to work.
 void handleCancelledWorkItemEvent(WorkItemRecord workItemRecord)
          Receives notification from the engine that an active workitem has been cancelled.
 void handleEnabledWorkItemEvent(WorkItemRecord wir)
          Receives notification from the engine of an enabled workitem.
 
Methods inherited from class org.yawlfoundation.yawl.engine.interfce.interfaceB.InterfaceBWebsideController
checkConnection, checkInWorkItem, checkInWorkItem, checkInWorkItem, checkOut, checkOutAllInstancesOfThisTask, connect, destroy, doGet, getAuthenticationConfig, getCachedWorkItem, getChildren, getEngineStoredWorkItem, getIBCache, getModel, getResourcingSpecs, getSpecificationData, getSpecificationData, getSpecificationPrototypesList, getTaskInformation, getTaskInformation, handleCancelledCaseEvent, handleCaseResumedEvent, handleCaseSuspendedEvent, handleCaseSuspendingEvent, handleCompleteCaseEvent, 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

TwitterService

public TwitterService()
Method Detail

handleEnabledWorkItemEvent

public void handleEnabledWorkItemEvent(WorkItemRecord wir)
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:
wir - 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

describeRequiredParams

public YParameter[] describeRequiredParams()
Description copied from class: InterfaceBWebsideController
Override this method if you wish to allow other tools to find out what input parameters are required for your custom YAWL service to work.

Overrides:
describeRequiredParams in class InterfaceBWebsideController
Returns:
an array of input parameters.


Copyright © 2004-2012 The YAWL Foundation.