</types>
</extension>
+ <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" point="lifecycle">
+
+ <documentation>CollectionSpace core default life cycle definition.</documentation>
+
+ <lifecycle name="cs_default" defaultInitial="active">
+ <transitions>
+ <transition name="delete" destinationState="deleted">
+ <description>Move document to trash (temporary delete)</description>
+ </transition>
+ <transition name="undelete" destinationState="active">
+ <description>Recover the document from trash</description>
+ </transition>
+ </transitions>
+ <states>
+ <state name="active" description="Default state" initial="true">
+ <transitions>
+ <transition>delete</transition>
+ </transitions>
+ </state>
+ <state name="deleted" description="Document is deleted">
+ <transitions>
+ <transition>undelete</transition>
+ </transitions>
+ </state>
+ </states>
+ </lifecycle>
+ </extension>
+
+ <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" point="lifecycle">
+
+ <documentation>CollectionSpace "locking" life cycle definition.</documentation>
+
+ <lifecycle name="cs_locking" defaultInitial="active">
+ <transitions>
+ <transition name="lock" destinationState="locked">
+ <description>Lock document</description>
+ </transition>
+ <transition name="unlock" destinationState="active">
+ <description>Unlock the document</description>
+ </transition>
+ <transition name="delete" destinationState="deleted">
+ <description>Move document to trash (temporary delete)</description>
+ </transition>
+ <transition name="undelete" destinationState="active">
+ <description>Recover the document from trash</description>
+ </transition>
+ </transitions>
+ <states>
+ <state name="active" description="Default state" initial="true">
+ <transitions>
+ <transition>delete</transition>
+ <transition>lock</transition>
+ </transitions>
+ </state>
+ <state name="locked" description="Locked state">
+ <transitions>
+ <transition>unlock</transition>
+ </transitions>
+ </state>
+ <state name="deleted" description="Document is deleted">
+ <transitions>
+ <transition>undelete</transition>
+ </transitions>
+ </state>
+ </states>
+ </lifecycle>
+ </extension>
+
</component>