Changeset 29674
- Timestamp:
- 01/27/08 17:28:42 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
org.nuxeo.ecm.core/branches/1.4/nuxeo-core/src/main/resources/OSGI-INF/LifeCycleCoreExtensions.xml
r29479 r29674 4 4 5 5 <documentation> 6 Nuxeo core life cycle contributions.6 Nuxeo core life cycle contributions. 7 7 8 @version 1.09 @author <a href="mailto:ja@nuxeo.com">Julien Anguenot</a>8 @version 1.0 9 @author <a href="mailto:ja@nuxeo.com">Julien Anguenot</a> 10 10 </documentation> 11 11 12 <require>org.nuxeo.ecm.core.repository.jcr.lifecycle.JCRLifeCycleManager</require> 12 <require> 13 org.nuxeo.ecm.core.repository.jcr.lifecycle.JCRLifeCycleManager 14 </require> 13 15 14 <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"15 point="lifecycle">16 <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" 17 point="lifecycle"> 16 18 17 19 <documentation> … … 45 47 </transitions> 46 48 </state> 47 <state name="approved" description="Content has been validated"/> 49 <state name="approved" description="Content has been validated"> 50 <transitions> 51 <transition>delete</transition> 52 </transitions> 53 </state> 48 54 <state name="obsolete" description="Content is obsolete"> 49 55 <transitions> … … 61 67 62 68 <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" 63 point="types">69 point="types"> 64 70 65 71 <documentation> org.nuxeo.ecm.platform/branches/5.1/nuxeo-platform-webapp-core/src/main/java/org/nuxeo/ecm/webapp/action/DeleteActionsBean.java
r29616 r29674 506 506 document.followTransition(DELETE_TRANSITION); 507 507 } else { 508 // FIXME: should be checked sooner so that no exception is thrown 508 509 throw new ClientException("Impossible to move document=" 509 510 + docModel.getPathAsString() … … 865 866 } 866 867 868 // FIXME: should check permissions 867 869 public boolean getCanRestoreCurrentDoc() throws ClientException { 868 870 DocumentModel currentDoc = navigationContext.getCurrentDocument();
