org.yawlfoundation.yawl.worklet.support
Class CaseMap

java.lang.Object
  extended by org.yawlfoundation.yawl.worklet.support.CaseMap

public class CaseMap
extends Object

The CaseMap class maintains a two way mapping between case ids and worklet names for worklet instances that have been launched by a particular checked out item or handler runner and are currently executing. It is used exclusively by the WorkletRecord class.

Version:
0.8, 04-09/2006
Author:
Michael Adams

Constructor Summary
CaseMap()
           
 
Method Summary
 void addCase(String caseID, String workletName)
           
 Set<String> getAllCaseIDs()
           
 Set<String> getAllWorkletNames()
           
 String getCaseID(String workletName)
           
 String getCaseIdCSVList()
           
 List<String> getCaseIdList()
           
 Map<String,String> getCaseMapAsCSVLists()
           
 String getWorkletCSVList()
           
 List<String> getWorkletList()
           
 String getWorkletName(String caseID)
           
 boolean hasRunningWorklets()
           
 void removeAllCases()
           
 void removeCase(String caseID)
           
 void removeWorklet(String workletName)
           
 void restore(String caseIdList, String wNameList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseMap

public CaseMap()
Method Detail

addCase

public void addCase(String caseID,
                    String workletName)

getWorkletName

public String getWorkletName(String caseID)

getCaseID

public String getCaseID(String workletName)

removeCase

public void removeCase(String caseID)

removeWorklet

public void removeWorklet(String workletName)

removeAllCases

public void removeAllCases()

getAllCaseIDs

public Set<String> getAllCaseIDs()

getAllWorkletNames

public Set<String> getAllWorkletNames()

getCaseIdList

public List<String> getCaseIdList()

getWorkletList

public List<String> getWorkletList()

getWorkletCSVList

public String getWorkletCSVList()

getCaseIdCSVList

public String getCaseIdCSVList()

getCaseMapAsCSVLists

public Map<String,String> getCaseMapAsCSVLists()

hasRunningWorklets

public boolean hasRunningWorklets()

restore

public void restore(String caseIdList,
                    String wNameList)


Copyright © 2004-2012 The YAWL Foundation.