]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
14c955b5fd76b0a8ef321e09740d4ba285c3f635
[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   <!-- The definition of the CollectionSpace default lifecycle name "cs_default"  -->
12   <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
13                 point="lifecycle">
14     <documentation>CollectionSpace core default life cycle definition.</documentation>
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         <transition name="undelete" destinationState="project">
21           <description>Undelete the document.</description>
22         </transition>        
23       </transitions>
24       <states>
25         <state name="project" description="Default state" initial="true">
26           <transitions>
27             <transition>delete</transition>
28           </transitions>
29         </state>
30         <state name="deleted" description="Document is deleted">
31           <transitions>
32             <transition>undelete</transition>
33           </transitions>
34         </state>
35       </states>
36     </lifecycle>
37   </extension>
38   
39   <!-- The definition of the CollectionSpace locking lifecycle name "cs_locking"  -->  
40   <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
41                 point="lifecycle">
42     <documentation>CollectionSpace "locking" life cycle definition.</documentation>
43     <lifecycle name="cs_locking" defaultInitial="project">
44       <transitions>
45         <transition name="lock" destinationState="locked">
46           <description>Lock document</description>
47         </transition>
48         <transition name="delete" destinationState="deleted">
49           <description>Move document to trash (temporary delete)</description>
50         </transition>
51         <transition name="undelete" destinationState="project">
52           <description>Undelete the document.</description>
53         </transition>        
54       </transitions>      
55       <states>
56         <state name="project" description="Default state" initial="true">
57           <transitions>
58             <transition>delete</transition>
59             <transition>lock</transition>
60           </transitions>
61         </state>
62         <state name="locked" description="Locked state">
63                 <!-- No transitions allowed from locked state. -->
64         </state>
65         <state name="deleted" description="Document is deleted">
66           <transitions>
67             <transition>undelete</transition>
68           </transitions>
69         </state>
70       </states>
71     </lifecycle>
72   </extension>
73 </component>