2 <component name="org.collectionspace.ecm.platform.default.LifeCycleManagerExtensions">
4 <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
7 <type name="CollectionSpaceDocument">default</type>
11 <!-- The definition of the CollectionSpace default lifecycle name "cs_default" -->
12 <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
14 <documentation>CollectionSpace core default life cycle definition.</documentation>
15 <lifecycle name="cs_default" defaultInitial="project">
17 <transition name="delete" destinationState="deleted">
18 <description>Move document to trash (temporary delete)</description>
20 <transition name="undelete" destinationState="project">
21 <description>Undelete the document.</description>
25 <state name="project" description="Default state" initial="true">
27 <transition>delete</transition>
30 <state name="deleted" description="Document is deleted">
32 <transition>undelete</transition>
39 <!-- The definition of the CollectionSpace locking lifecycle name "cs_locking" -->
40 <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
42 <documentation>CollectionSpace "locking" life cycle definition.</documentation>
43 <lifecycle name="cs_locking" defaultInitial="project">
45 <transition name="lock" destinationState="locked">
46 <description>Lock document</description>
48 <transition name="delete" destinationState="deleted">
49 <description>Move document to trash (temporary delete)</description>
51 <transition name="undelete" destinationState="project">
52 <description>Undelete the document.</description>
56 <state name="project" description="Default state" initial="true">
58 <transition>delete</transition>
59 <transition>lock</transition>
62 <state name="locked" description="Locked state">
63 <!-- No transitions allowed from locked state. -->
65 <state name="deleted" description="Document is deleted">
67 <transition>undelete</transition>
74 <!-- The definition of the CollectionSpace SAS lifecycle name "cs_sas" for Shared authority resources -->
76 We have four states: "project", "locked", "deleted", and "locked_deleted".
78 We can move from Project <-> (Locked, Delete) <-> LockedAndDeleted
80 Project <-> (Locked, Delete) uses these transitions: lock, unlock, delete, undelete
81 LockedAndDeleted <-> (Locked, Deleted) uses these transitions: lock_deleted, unlock_deleted, delete_locked, undelete_locked
84 <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
86 <documentation>CollectionSpace "SAS" life cycle definition.</documentation>
87 <lifecycle name="cs_sas" defaultInitial="project">
89 <!-- Transitions TO the "project" state -->
90 <transition name="unlock" destinationState="project">
91 <description>Unlock the document back to project state.</description>
93 <transition name="undelete" destinationState="project">
94 <description>Undelete the document to the project state.</description>
97 <!-- Transitions FROM "project" state TO the "locked" and the "deleted" states -->
98 <transition name="lock" destinationState="locked">
99 <description>Lock a document from the project state</description>
101 <transition name="delete" destinationState="deleted">
102 <description>Soft-delete the document from the project state</description>
105 <!-- Transitions TO "locked_deleted" state -->
106 <transition name="delete_locked" destinationState="locked_deleted">
107 <description>Delete the locked document from the "locked" state</description>
109 <transition name="lock_deleted" destinationState="locked_deleted">
110 <description>Lock the deleted document from the "deleted" state.</description>
113 <!-- Transitions FROM "locked_deleted" state -->
114 <transition name="undelete_locked" destinationState="locked">
115 <description>Undelete the locked document from locked_deleted state</description>
117 <transition name="unlock_deleted" destinationState="deleted">
118 <description>Unlock the deleted document.</description>
124 <state name="project" description="Default state" initial="true">
126 <transition>delete</transition> <!-- To "deleted" state -->
127 <transition>lock</transition> <!-- To "locked" state -->
130 <state name="locked" description="Locked state">
131 <transition>unlock</transition> <!-- To "project" state -->
132 <transition>delete_locked</transition> <!-- To "locked_deleted" state -->
134 <state name="deleted" description="Document is deleted">
136 <transition>undelete</transition> <!-- To "project" state -->
137 <transition>lock_deleted</transition> <!-- To "locked_deleted" state -->
140 <state name="locked_deleted" description="Document is locked and deleted">
142 <transition>unlock_deleted</transition> <!-- To "deleted" state -->
143 <transition>undelete_locked</transition><!-- To "locked" state -->