lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/webapp/lenya/pubs/default/config/workflow/history/tutorial index.xml
Date Fri, 30 May 2003 14:39:29 GMT
andreas     2003/05/30 07:39:29

  Added:       src/webapp/lenya/pubs/default/config/workflow/history
                        index.xml
               src/webapp/lenya/pubs/default/config/workflow workflow.xml
               src/webapp/lenya/pubs/default/config/workflow/history/tutorial
                        index.xml
  Log:
  added workflow definition and history test files
  
  Revision  Changes    Path
  1.1                  cocoon-lenya/src/webapp/lenya/pubs/default/config/workflow/history/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" doctype="simple">
    
    <version state="redaktion" event="create" user="karl" date=""/>
    <version state="review" event="publish" user="karl" date=""/>
    
  </wf:history>
  
  
  1.1                  cocoon-lenya/src/webapp/lenya/pubs/default/config/workflow/workflow.xml
  
  Index: workflow.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!--
      Document   : workflow.xml
      Created on : 8. April 2003, 19:02
      Author     : andreas
      Description:
          Purpose of the document follows.
  -->
  
  <workflow xmlns="http://apache.org/cocoon/lenya/workflow/1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://apache.org/cocoon/lenya/workflow/1.0
          ../../../resources/entities/workflow/workflow.xsd">
  
    <state id="modified" initial="yes"/>
    <state id="pending"/>
    <state id="published"/>
    
    <transition source="modified" destination="pending">
      <event id="publish"/>
      <condition class="org.apache.lenya.cms.workflow.impl.RoleCondition">editor</condition>
    </transition>
          
    <transition source="pending" destination="published">
      <event id="approve"/>
      <condition class="org.apache.lenya.cms.workflow.impl.RoleCondition">manager</condition>
      <action id="publish"/>
    </transition>
          
    <transition source="pending" destination="modified">
      <event id="disapprove"/>
      <condition class="org.apache.lenya.cms.workflow.impl.RoleCondition">manager</condition>
    </transition>
          
    <transition source="published" destination="modified">
      <event id="edit"/>
      <condition class="org.apache.lenya.cms.workflow.impl.RoleCondition">editor</condition>
      <action id="save"/>
    </transition>
          
    <transition source="pending" destination="modified">
      <event id="edit"/>
      <condition class="org.apache.lenya.cms.workflow.impl.RoleCondition">editor</condition>
      <action id="save"/>
    </transition>
          
  </workflow>
  
  
  
  1.1                  cocoon-lenya/src/webapp/lenya/pubs/default/config/workflow/history/tutorial/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <wf:history xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0" doctype="simple">
    
    <version state="redaktion" event="create" user="karl" date=""/>
    <version state="review" event="publish" user="karl" date=""/>
    
  </wf:history>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message