org.apache.lenya.cms.workflow
Class WorkflowDocumentSet

java.lang.Object
  extended by org.apache.lenya.workflow.impl.SynchronizedWorkflowInstancesImpl
      extended by org.apache.lenya.cms.workflow.WorkflowDocumentSet
All Implemented Interfaces:
SynchronizedWorkflowInstances

public class WorkflowDocumentSet
extends SynchronizedWorkflowInstancesImpl

A synchronized workflow instance representing a set of documents.


Constructor Summary
WorkflowDocumentSet(DocumentSet documentSet, Document mainDocument)
          Ctor.
 
Method Summary
 
Methods inherited from class org.apache.lenya.workflow.impl.SynchronizedWorkflowInstancesImpl
getExecutableEvents, getInstances, invoke, setInstances, setMainInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowDocumentSet

public WorkflowDocumentSet(DocumentSet documentSet,
                           Document mainDocument)
                    throws WorkflowException
Ctor.

Parameters:
documentSet - The document set.
mainDocument - The main document of the set, i.e. the document to invoke the workflow on if the transition is not synchronized.
Throws:
WorkflowException - when something went wrong.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.