java.lang.Object
AbstractLoggable
org.apache.cocoon.acting.AbstractAction
org.apache.lenya.cms.cocoon.acting.WorkflowInvokerAction
- All Implemented Interfaces:
- org.apache.cocoon.acting.Action
- public class WorkflowInvokerAction
- extends org.apache.cocoon.acting.AbstractAction
Action to invoke a workflow transition independently from the request document URL.
Parameters:
- area: The area.
- document-id: The document id.
- language: The language.
- event: The event to invoke.
| Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AREA
public static final java.lang.String AREA
- See Also:
- Constant Field Values
DOCUMENT_ID
public static final java.lang.String DOCUMENT_ID
- See Also:
- Constant Field Values
LANGUAGE
public static final java.lang.String LANGUAGE
- See Also:
- Constant Field Values
EVENT
public static final java.lang.String EVENT
- See Also:
- Constant Field Values
WorkflowInvokerAction
public WorkflowInvokerAction()
act
public java.util.Map act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
java.util.Map objectModel,
java.lang.String source,
Parameters parameters)
throws java.lang.Exception
- Description copied from interface:
org.apache.cocoon.acting.Action
- Controls the processing against some values of the
Dictionary objectModel and returns a
Map object with values used in subsequent
sitemap substitution patterns.
NOTE: This interface is designed so that implentations can be ThreadSafe.
When an action is ThreadSafe, only one instance serves all requests : this
reduces memory usage and avoids pooling.