org.apache.lenya.cms.usecase .DocumentUsecase org.apache.lenya.cms.workflow.usecases .CheckWorkflow All known Subclasses: org.apache.lenya.cms.workflow.usecases .InvokeWorkflow ,CheckWorkflow public class CheckWorkflow extends DocumentUsecase implements Configurable(Code) Check if a workflow event can be invoked on the current document without actually invoking it.
The event is obtained from the configuration in cocoon.xconf
:
<component-instance name="default/workflow.submit"
logger="lenya.usecases.workflow"
class="org.apache.lenya.cms.workflow.usecases.CheckWorkflow">
<event id="submit"/>
</component-instance>
version: $Id: InvokeWorkflow.java 426254 2006-07-27 21:27:04Z andreas $
ATTRIBUTE_ID final protected static String ATTRIBUTE_ID (Code)
ELEMENT_EVENT final protected static String ELEMENT_EVENT (Code)
configure public void configure(Configuration config) throws ConfigurationException(Code) See Also: org.apache.avalon.framework.configuration.Configurable.configure(org.apache.avalon.framework.configuration.Configuration)
getEvent protected String getEvent()(Code) The workflow event to use.