Changeset 29781
- Timestamp:
- 01/30/08 14:59:21 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
org.nuxeo.ecm.core/trunk/nuxeo-core/src/main/resources/OSGI-INF/LifeCycleCoreExtensions.xml
r29482 r29781 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/trunk/nuxeo-platform-webapp-core/src/main/java/org/nuxeo/ecm/webapp/action/DeleteActionsBean.java
r29565 r29781 505 505 document.followTransition(DELETE_TRANSITION); 506 506 } else { 507 // FIXME: should be checked sooner so that no exception is thrown 507 508 throw new ClientException("Impossible to move document=" 508 509 + docModel.getPathAsString() … … 874 875 } 875 876 876 public boolean getCanRestoreCurrentDoc() throws ClientException{ 877 // FIXME: should check permissions 878 public boolean getCanRestoreCurrentDoc() throws ClientException { 877 879 DocumentModel currentDoc = navigationContext.getCurrentDocument(); 878 880 if (currentDoc != null) {
