org.apache.lenya.cms.cocoon.acting
Class WorkflowInvokerAction

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.acting.AbstractAction
          extended by org.apache.cocoon.acting.ServiceableAction
              extended by org.apache.lenya.cms.cocoon.acting.WorkflowInvokerAction
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.cocoon.acting.Action

public class WorkflowInvokerAction
extends org.apache.cocoon.acting.ServiceableAction

Action to invoke a workflow transition independently from the request document URL. Parameters:


Field Summary
static java.lang.String AREA
          AREA The area
static java.lang.String DOCUMENT_UUID
          DOCUMENT_UUID The document id
static java.lang.String EVENT
          EVENT The event
static java.lang.String LANGUAGE
          LANGUAGE The language
 
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
 
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
 
Constructor Summary
WorkflowInvokerAction()
           
 
Method Summary
 java.util.Map act(org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, java.util.Map objectModel, java.lang.String source, org.apache.avalon.framework.parameters.Parameters parameters)
           
 
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AREA

public static final java.lang.String AREA
AREA The area

See Also:
Constant Field Values

DOCUMENT_UUID

public static final java.lang.String DOCUMENT_UUID
DOCUMENT_UUID The document id

See Also:
Constant Field Values

LANGUAGE

public static final java.lang.String LANGUAGE
LANGUAGE The language

See Also:
Constant Field Values

EVENT

public static final java.lang.String EVENT
EVENT The event

See Also:
Constant Field Values
Constructor Detail

WorkflowInvokerAction

public WorkflowInvokerAction()
Method Detail

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,
                         org.apache.avalon.framework.parameters.Parameters parameters)
                  throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
Action.act(org.apache.cocoon.environment.Redirector, org.apache.cocoon.environment.SourceResolver, java.util.Map, java.lang.String, org.apache.avalon.framework.parameters.Parameters)


Copyright $ Apache Software Foundation. All Rights Reserved.