{http://www.alfresco.org/model/content/1.0}content
*
- * @author yanipig
+ * @author Yannick Pignot
*/
public class AddTranslationWithoutContentDialog extends BaseDialogBean
{
diff --git a/source/java/org/alfresco/web/bean/ml/AddTranslationlDialog.java b/source/java/org/alfresco/web/bean/ml/AddTranslationlDialog.java
index 2375ecd175..befe60eb3f 100644
--- a/source/java/org/alfresco/web/bean/ml/AddTranslationlDialog.java
+++ b/source/java/org/alfresco/web/bean/ml/AddTranslationlDialog.java
@@ -151,8 +151,7 @@ public class AddTranslationlDialog extends AddContentDialog
return multilingualContentService;
}
- public void setMultilingualContentService(
- MultilingualContentService multilingualContentService)
+ public void setMultilingualContentService(MultilingualContentService multilingualContentService)
{
this.multilingualContentService = multilingualContentService;
}
diff --git a/source/java/org/alfresco/web/bean/ml/EditMLContainerDialog.java b/source/java/org/alfresco/web/bean/ml/EditMLContainerDialog.java
index bfa08f1698..49e6daae86 100644
--- a/source/java/org/alfresco/web/bean/ml/EditMLContainerDialog.java
+++ b/source/java/org/alfresco/web/bean/ml/EditMLContainerDialog.java
@@ -39,7 +39,7 @@ import org.alfresco.web.bean.repository.Node;
/**
* Dialog bean to edit an existing multilingual container.
*
- * @author yanipig
+ * @author Yannick Pignot
*/
public class EditMLContainerDialog extends BaseDialogBean
{
diff --git a/source/java/org/alfresco/web/bean/ml/MakeMultilingualDialog.java b/source/java/org/alfresco/web/bean/ml/MakeMultilingualDialog.java
index 916bbc38e2..9b86a10392 100644
--- a/source/java/org/alfresco/web/bean/ml/MakeMultilingualDialog.java
+++ b/source/java/org/alfresco/web/bean/ml/MakeMultilingualDialog.java
@@ -42,7 +42,7 @@ import org.alfresco.web.bean.repository.Node;
/**
* Dialog bean to make a node multilingual
*
- * @author yanipig
+ * @author Yannick Pignot
*/
public class MakeMultilingualDialog extends BaseDialogBean
{
diff --git a/source/java/org/alfresco/web/bean/ml/NewEditionWizard.java b/source/java/org/alfresco/web/bean/ml/NewEditionWizard.java
new file mode 100644
index 0000000000..2137b6f46c
--- /dev/null
+++ b/source/java/org/alfresco/web/bean/ml/NewEditionWizard.java
@@ -0,0 +1,447 @@
+/*
+ * Copyright (C) 2005-2007 Alfresco Software Limited.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+ * As a special exception to the terms and conditions of version 2.0 of
+ * the GPL, you may redistribute this Program in connection with Free/Libre
+ * and Open Source Software ("FLOSS") applications as described in Alfresco's
+ * FLOSS exception. You should have recieved a copy of the text describing
+ * the FLOSS exception, and it is also available here:
+ * http://www.alfresco.com/legal/licensing"
+ */
+package org.alfresco.web.bean.ml;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+
+import javax.faces.context.FacesContext;
+import javax.faces.model.SelectItem;
+
+import org.alfresco.model.ContentModel;
+import org.alfresco.repo.version.VersionModel;
+import org.alfresco.service.cmr.lock.LockService;
+import org.alfresco.service.cmr.lock.LockStatus;
+import org.alfresco.service.cmr.ml.ContentFilterLanguagesService;
+import org.alfresco.service.cmr.ml.EditionService;
+import org.alfresco.service.cmr.ml.MultilingualContentService;
+import org.alfresco.service.cmr.repository.NodeRef;
+import org.alfresco.service.cmr.repository.NodeService;
+import org.alfresco.service.cmr.version.Version;
+import org.alfresco.service.cmr.version.VersionType;
+import org.alfresco.web.app.AlfrescoNavigationHandler;
+import org.alfresco.web.bean.repository.Node;
+import org.alfresco.web.bean.wizard.BaseWizardBean;
+
+/**
+ * Wizard bean to create a new edition from an existing MLContainer.
+ *
+ * @author yanipig
+ */
+public class NewEditionWizard extends BaseWizardBean
+{
+ protected EditionService editionService;
+ protected MultilingualContentService multilingualContentService;
+ protected ContentFilterLanguagesService contentFilterLanguagesService;
+ protected LockService lockService;
+
+ protected NodeRef mlContainerToVersion;
+
+ private List<%@ include file="../parts/titlebar.jsp" %> | ||||||||||||||||||
<%@ include file="../parts/shelf.jsp" %> | - + <%-- Work Area --%>
|
+
+ |
+
+ |