diff --git a/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java b/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java index 26d1ebd9fb..aa66e6f86c 100644 --- a/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java @@ -51,7 +51,6 @@ import org.alfresco.repo.web.scripts.FileTypeImageUtils; import org.alfresco.repo.workflow.WorkflowModel; import org.alfresco.service.cmr.avm.AVMNodeDescriptor; import org.alfresco.service.cmr.avm.AVMService; -import org.alfresco.service.cmr.avm.locking.AVMLockingService; import org.alfresco.service.cmr.avmsync.AVMDifference; import org.alfresco.service.cmr.avmsync.AVMSyncService; import org.alfresco.service.cmr.dictionary.DataTypeDefinition; @@ -133,7 +132,6 @@ public class SubmitDialog extends BaseDialogBean transient private AVMService avmService; transient private WorkflowService workflowService; transient private AVMSyncService avmSyncService; - transient private AVMLockingService avmLockingService; transient private FormsService formsService; transient private SandboxFactory sandboxFactory; transient private SandboxService sandboxService; @@ -180,23 +178,6 @@ public class SubmitDialog extends BaseDialogBean return this.avmSyncService; } - /** - * @param avmLockingService The AVMLockingService to set - */ - public void setAvmLockingService(AVMLockingService avmLockingService) - { - this.avmLockingService = avmLockingService; - } - - protected AVMLockingService getAvmLockingService() - { - if (this.avmLockingService == null) - { - this.avmLockingService = Repository.getServiceRegistry(FacesContext.getCurrentInstance()).getAVMLockingService(); - } - return this.avmLockingService; - } - /** * @param avmBrowseBean The AVM BrowseBean to set */ @@ -509,7 +490,7 @@ public class SubmitDialog extends BaseDialogBean String submitLabel = this.label; String submitComment = this.comment; - getSandboxService().submitList(sbStoreId, nodes, this.expirationDates, submitLabel, submitComment); + getSandboxService().submitListNodes(sbStoreId, nodes, this.expirationDates, submitLabel, submitComment); // if we get this far return the default outcome return this.getDefaultFinishOutcome(); diff --git a/source/web/WEB-INF/faces-config-beans.xml b/source/web/WEB-INF/faces-config-beans.xml index 273ea9ba51..f599b4d639 100644 --- a/source/web/WEB-INF/faces-config-beans.xml +++ b/source/web/WEB-INF/faces-config-beans.xml @@ -4090,10 +4090,6 @@ avmSyncService #{AVMSyncService} - - avmLockingService - #{AVMLockingService} - avmBrowseBean #{AVMBrowseBean}