<managed-bean>
<managed-bean-name>NewEditionDialog</managed-bean-name>
<managed-bean-class>com.alcatellucent.gerard.gdoc.bean.dialog.NewEditionDialog</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>browseBean</property-name>
<value>#{BrowseBean}</value>
</managed-property>
<managed-property>
<property-name>checkOutCheckInService</property-name>
<value>#{CheckOutCheckInService}</value>
</managed-property>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
</managed-bean>
this.workCopyRef = this.checkOutCheckInService.checkout(documentRef, destSpaceRef, ContentModel.ASSOC_CONTAINS, ContentModel.TYPE_CONTAINER);
<managed-bean>
<managed-bean-name>NewEditionDialog</managed-bean-name>
<managed-bean-class>com.alcatellucent.gerard.gdoc.bean.dialog.NewEditionDialog</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>browseBean</property-name>
<value>#{BrowseBean}</value>
</managed-property>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
<managed-property>
<managed-property>
<property-name>copyService</property-name>
<value>#{CopyService}</value>
</managed-property>
<managed-property>
<property-name>lockService</property-name>
<value>#{LockService}</value>
</managed-property>
</managed-bean>
this.lockService.lock(documentRef, LockType.READ_ONLY_LOCK);
this.workCopyRef = this.copyService.copy(documentRef, destSpaceRef, ContentModel.ASSOC_CONTAINS, ContentModel.TYPE_CONTAINER);
FacesContext fc = FacesContext.getCurrentInstance();
this.checkOutCheckInService = Repository.getServiceRegistry(fc).getCheckOutCheckInService();
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.