org.apache.lenya.workflow
Interface Workflowable
public interface Workflowable
Interface for objects which can be workflowed.
- Version:
- $Id: Workflowable.java 473861 2006-11-12 03:51:14Z gregor $
getVersions
Version[] getVersions()
- Returns:
- The versions in chronological order.
getLatestVersion
Version getLatestVersion()
- Returns:
- The latest version.
newVersion
void newVersion(Workflow workflow,
Version version)
- Adds a new version.
- Parameters:
workflow
- The workflow.version
- The version.
getWorkflowSchemaURI
java.lang.String getWorkflowSchemaURI()
- Returns:
- The URI to resolve the schema configuration from.
Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.