|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.workflow.impl.WorkflowInstanceImpl
org.apache.lenya.cms.workflow.WorkflowDocument
public class WorkflowDocument
| Constructor Summary | |
|---|---|
protected |
WorkflowDocument(Document document)
Create a new WorkflowDocument |
| Method Summary | |
|---|---|
Document |
getDocument()
Returns the document of this WorkflowDocument object. |
protected WorkflowImpl |
getWorkflow(java.lang.String workflowName)
(non-Javadoc) |
void |
invoke(Situation situation,
java.lang.String eventName)
DOCUMENT ME! |
| Methods inherited from class org.apache.lenya.workflow.impl.WorkflowInstanceImpl |
|---|
addWorkflowListener, fire, getCurrentState, getExecutableEvents, getNextTransition, getState, getValue, getVariableInstance, getWorkflow, getWorkflowImpl, initVariableInstances, invoke, isSynchronized, removeWorkflowListener, setCurrentState, setValue, setWorkflow, setWorkflow |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected WorkflowDocument(Document document)
throws WorkflowException
WorkflowDocument
document - the document
WorkflowException - if an error occurs| Method Detail |
|---|
public Document getDocument()
public void invoke(Situation situation,
java.lang.String eventName)
throws WorkflowException
situation - DOCUMENT ME!eventName - DOCUMENT ME!
WorkflowException - DOCUMENT ME!
protected WorkflowImpl getWorkflow(java.lang.String workflowName)
throws WorkflowException
getWorkflow in class WorkflowInstanceImplworkflowName - The workflow identifier.
WorkflowException - when the workflow could not be created.WorkflowInstanceImpl.getWorkflow(java.lang.String)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||