Point checkin.

Now direct submit notifications to virt server occur,
 and within workflow-driven submits, the virt server
 is notified about the worflow sandbox;  this allows
 the reviewer to see what's being reviewed in-context.

 TODO:  revert, update of virt server when content moves
        to staging from a workflow sanbox, handling destruction 
        of workflow sandboxes, and oddly enough, submitAll  
        (the webapp uses a different wizard for that).
 

 Gory details:

   projects/catalina-virtual/source/java/org/alfresco/catalina/host/AVMHostConfig.java
        Now more forgiving about if whether it is passed appBase, a webapp, 
        or a path within a webapp on update & remove notifications

   projects/web-client/source/java/org/alfresco/web/bean/wcm/AVMWorkflowUtil.java
        Takes a SandboxInfo instead of a store id.
        This makes it easier to get name of workflow sandbox for virt server update.

   projects/web-client/source/java/org/alfresco/web/bean/wcm/CreateWebContentWizard.java
        Passing SandboxInfo, instead of store id
   
   projects/web-client/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java
        Added notification to allow reviewer to see submitted changes in-context
        via the virtualization server








git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4968 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jon Cox
2007-01-30 14:53:13 +00:00
parent 6488e47205
commit 7e13957e36
3 changed files with 113 additions and 7 deletions

View File

@@ -368,9 +368,14 @@ public class CreateWebContentWizard extends BaseContentWizard
}
LOGGER.debug("creating workflow package with " + srcPaths.size() + " files");
// Create workflow sandbox for workflow package
SandboxInfo sandboxInfo = SandboxFactory.createWorkflowSandbox(storeId);
final NodeRef packageNodeRef =
AVMWorkflowUtil.createWorkflowPackage(srcPaths,
storeId,
sandboxInfo,
path,
avmSubmittedAspect,
this.avmSyncService,