org.apache.lenya.cms.cocoon.workflow
Class WorkflowHelper

java.lang.Object
  extended by org.apache.lenya.cms.cocoon.workflow.WorkflowHelper

public class WorkflowHelper
extends java.lang.Object

Workflow helper.


Constructor Summary
WorkflowHelper()
           
 
Method Summary
static Situation buildSituation(java.util.Map objectModel)
          Creates a situation for a Cocoon object model.
static Situation buildSituation(org.apache.cocoon.environment.Request request)
          Creates a situation for a request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowHelper

public WorkflowHelper()
Method Detail

buildSituation

public static Situation buildSituation(java.util.Map objectModel)
                                throws WorkflowException
Creates a situation for a Cocoon object model.

Parameters:
objectModel - The object model.
Returns:
A workflow situation.
Throws:
WorkflowException - when something went wrong.

buildSituation

public static Situation buildSituation(org.apache.cocoon.environment.Request request)
                                throws WorkflowException
Creates a situation for a request.

Parameters:
request - The request.
Returns:
A workflow situation.
Throws:
WorkflowException - when something went wrong.


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