mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Checkpoint of the Submit dialog for user sandbox assets
- first pass of JSP layout - multiple items or all items available for selection - calculation of available workflows, from those assigned to form assets and assigned to the website - creation of AVM workflow package - starting of workflow containing AVM package (appears in users task todo dashlet!) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -116,6 +116,7 @@ public class AVMBrowseBean implements IContextListener
|
||||
private String sandboxTitle = null;
|
||||
private String currentPath = null;
|
||||
private AVMNode currentPathNode = null;
|
||||
private boolean submitAll = false;
|
||||
|
||||
/* component references */
|
||||
private UIRichList foldersRichList;
|
||||
@@ -686,6 +687,21 @@ public class AVMBrowseBean implements IContextListener
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the list of selected items for the current user sandbox view
|
||||
*
|
||||
* @return List of AVMNodeDescriptor objects representing selected items
|
||||
*/
|
||||
public List<AVMNodeDescriptor> getSelectedSandboxItems()
|
||||
{
|
||||
return this.userSandboxes.getSelectedNodes(this.username);
|
||||
}
|
||||
|
||||
public boolean getSubmitAll()
|
||||
{
|
||||
return this.submitAll;
|
||||
}
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// Action event handlers
|
||||
@@ -740,6 +756,14 @@ public class AVMBrowseBean implements IContextListener
|
||||
// update UI state ready for return to the previous screen
|
||||
this.location = null;
|
||||
setCurrentPath(null);
|
||||
|
||||
this.submitAll = false;
|
||||
}
|
||||
|
||||
public void setupSubmitAllAction(ActionEvent event)
|
||||
{
|
||||
setupSandboxAction(event);
|
||||
this.submitAll = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user