]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
8a48d6d548a9676137cf44f9645445b96c34679e
[tmp/jakarta-migration.git] /
1 <?xml version="1.0"?>
2 <component name="org.collectionspace.ecm.platform.default.LifeCycleManagerExtensions">
3
4   <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
5              point="types">
6     <types>
7       <type name="CollectionSpaceDocument">default</type>
8     </types>
9   </extension>
10
11   <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" point="lifecycle">
12
13     <documentation>CollectionSpace core default life cycle definition.</documentation>
14
15     <lifecycle name="cs_default" defaultInitial="project">
16       <transitions>
17         <transition name="delete" destinationState="deleted">
18           <description>Move document to trash (temporary delete)</description>
19         </transition>
20       </transitions>
21       <states>
22         <state name="project" description="Default state" initial="true">
23           <transitions>
24             <transition>delete</transition>
25           </transitions>
26         </state>
27         <state name="deleted" description="Document is deleted">
28                 <!-- No transitions allowed from locked state. -->
29         </state>
30       </states>
31     </lifecycle>
32   </extension>
33   
34   <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" point="lifecycle">
35   
36     <documentation>CollectionSpace "locking" life cycle definition.</documentation>
37
38     <lifecycle name="cs_locking" defaultInitial="project">
39       <transitions>
40         <transition name="lock" destinationState="locked">
41           <description>Lock document</description>
42         </transition>
43         <transition name="delete" destinationState="deleted">
44           <description>Move document to trash (temporary delete)</description>
45         </transition>
46       </transitions>      
47       <states>
48         <state name="project" description="Default state" initial="true">
49           <transitions>
50             <transition>delete</transition>
51             <transition>lock</transition>
52           </transitions>
53         </state>
54         <state name="locked" description="Locked state">
55                 <!-- No transitions allowed from locked state. -->
56         </state>
57         <state name="deleted" description="Document is deleted">
58                 <!-- No transitions allowed from locked state. -->
59         </state>
60       </states>
61     </lifecycle>
62   </extension>
63
64 </component>