org.apache.lenya.cms.cocoon.components.modules.input
Class WorkflowModule

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.modules.input.AbstractInputModule
          extended by org.apache.lenya.cms.cocoon.components.modules.input.OperationModule
              extended by org.apache.lenya.cms.cocoon.components.modules.input.AbstractPageEnvelopeModule
                  extended by org.apache.lenya.cms.cocoon.components.modules.input.WorkflowModule
All Implemented Interfaces:
org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.cocoon.components.modules.input.InputModule

public class WorkflowModule
extends org.apache.lenya.cms.cocoon.components.modules.input.AbstractPageEnvelopeModule

Module for workflow access.

Version:
$Id: WorkflowModule.java 565823 2007-08-14 16:25:29Z rfrovarp $

Field Summary
static java.lang.String LAST_DATE_PREFIX
          The prefix to get the last date at which a certain event was invoked.
static java.lang.String LAST_USER_PREFIX
          The prefix to get the last user who invoked a certain event.
static java.lang.String STATE
          STATE The state
static java.lang.String VARIABLE_PREFIX
          VARIABLE_PREFIX The variable prefix
 
Fields inherited from class org.apache.lenya.cms.cocoon.components.modules.input.OperationModule
manager
 
Fields inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule
settings
 
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule
ROLE
 
Constructor Summary
WorkflowModule()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name, org.apache.avalon.framework.configuration.Configuration modeConf, java.util.Map objectModel)
           
 java.util.Iterator getAttributeNames(org.apache.avalon.framework.configuration.Configuration modeConf, java.util.Map objectModel)
           
 java.lang.Object[] getAttributeValues(java.lang.String name, org.apache.avalon.framework.configuration.Configuration modeConf, java.util.Map objectModel)
           
protected  org.apache.lenya.workflow.Version getLatestVersion(org.apache.lenya.workflow.Workflowable workflowable, java.lang.String event)
           
 
Methods inherited from class org.apache.lenya.cms.cocoon.components.modules.input.AbstractPageEnvelopeModule
getAttributeName, getEnvelope
 
Methods inherited from class org.apache.lenya.cms.cocoon.components.modules.input.OperationModule
contextualize, getDocumentFactory, initialize, service
 
Methods inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule
configure, dispose
 
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

STATE

public static final java.lang.String STATE
STATE The state

See Also:
Constant Field Values

VARIABLE_PREFIX

public static final java.lang.String VARIABLE_PREFIX
VARIABLE_PREFIX The variable prefix

See Also:
Constant Field Values

LAST_USER_PREFIX

public static final java.lang.String LAST_USER_PREFIX
The prefix to get the last user who invoked a certain event.

See Also:
Constant Field Values

LAST_DATE_PREFIX

public static final java.lang.String LAST_DATE_PREFIX
The prefix to get the last date at which a certain event was invoked.

See Also:
DATE_FORMAT, Constant Field Values
Constructor Detail

WorkflowModule

public WorkflowModule()
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String name,
                                     org.apache.avalon.framework.configuration.Configuration modeConf,
                                     java.util.Map objectModel)
                              throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
getAttribute in interface org.apache.cocoon.components.modules.input.InputModule
Overrides:
getAttribute in class org.apache.cocoon.components.modules.input.AbstractInputModule
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
See Also:
InputModule.getAttribute(java.lang.String, org.apache.avalon.framework.configuration.Configuration, java.util.Map)

getLatestVersion

protected org.apache.lenya.workflow.Version getLatestVersion(org.apache.lenya.workflow.Workflowable workflowable,
                                                             java.lang.String event)

getAttributeNames

public java.util.Iterator getAttributeNames(org.apache.avalon.framework.configuration.Configuration modeConf,
                                            java.util.Map objectModel)
                                     throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
getAttributeNames in interface org.apache.cocoon.components.modules.input.InputModule
Overrides:
getAttributeNames in class org.apache.cocoon.components.modules.input.AbstractInputModule
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
See Also:
InputModule.getAttributeNames(org.apache.avalon.framework.configuration.Configuration, java.util.Map)

getAttributeValues

public java.lang.Object[] getAttributeValues(java.lang.String name,
                                             org.apache.avalon.framework.configuration.Configuration modeConf,
                                             java.util.Map objectModel)
                                      throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
getAttributeValues in interface org.apache.cocoon.components.modules.input.InputModule
Overrides:
getAttributeValues in class org.apache.cocoon.components.modules.input.AbstractInputModule
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
See Also:
InputModule.getAttributeValues(java.lang.String, org.apache.avalon.framework.configuration.Configuration, java.util.Map)


Copyright $ Apache Software Foundation. All Rights Reserved.