com.arsdigita.bebop.demo.workflow
Class SampleProcesses

java.lang.Object
  extended bycom.arsdigita.bebop.demo.workflow.SampleProcesses

public class SampleProcesses
extends Object

A class that provides a sample set of workflows and tasks. The class simulates the part of the system that would usually be implemented with a database or some other form of persistant storage.

Warning: This class is only meant for demo purposes. It's use of synchronization will make sure that it becomes a bottleneck under load.

Version:
$Id: //core-platform/dev/src/com/arsdigita/bebop/demo/workflow/SampleProcesses.java#8 $
Author:
David Lutterkort

Field Summary
static String versionId
           
 
Method Summary
 void add(Process p)
           
 Process get(int i)
           
static ListModel getAllTasks(PageState s)
           
static SampleProcesses getInstance()
           
static Process getProcess(Object key)
           
static Task getTask(String key)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Method Detail

getInstance

public static SampleProcesses getInstance()

size

public int size()

get

public Process get(int i)

add

public void add(Process p)

getProcess

public static Process getProcess(Object key)

getTask

public static Task getTask(String key)

getAllTasks

public static ListModel getAllTasks(PageState s)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC