From 2f68bf73da8b6010a32cdf6ca25900142e3f8b20 Mon Sep 17 00:00:00 2001 From: Gavin Cornwell Date: Mon, 21 May 2007 15:15:48 +0000 Subject: [PATCH] First cut of pending submission UI git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5735 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- config/alfresco/workflow/wcmWorkflowModel.xml | 18 ++++++++++++++++-- .../java/org/alfresco/repo/jscript/Node.java | 3 +-- .../service/namespace/NamespaceService.java | 5 +++++ 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/config/alfresco/workflow/wcmWorkflowModel.xml b/config/alfresco/workflow/wcmWorkflowModel.xml index ecb15544c6..19bae2c4ac 100644 --- a/config/alfresco/workflow/wcmWorkflowModel.xml +++ b/config/alfresco/workflow/wcmWorkflowModel.xml @@ -4,7 +4,8 @@ - + + @@ -64,7 +65,20 @@ - + + + + + false + false + + + wca:webfolder + true + false + + + bpm:assignees wcmwf:submission diff --git a/source/java/org/alfresco/repo/jscript/Node.java b/source/java/org/alfresco/repo/jscript/Node.java index e1d439497a..b5396d5073 100644 --- a/source/java/org/alfresco/repo/jscript/Node.java +++ b/source/java/org/alfresco/repo/jscript/Node.java @@ -1802,8 +1802,7 @@ public class Node implements Serializable, Scopeable // TODO: DC: Allow debug output of property values - for now it's disabled as this could potentially // follow a large network of nodes. Unfortunately, JBPM issues unprotected debug statements // where node.toString is used - will request this is fixed in next release of JBPM. - return "Node Type: " + getType() + "\nNode Properties: " + this.getProperties().size() + - "\nNode Aspects: " + this.getAspects().toString(); + return "Node Type: " + getType() + ", Node Aspects: " + this.getAspects().toString(); } else { diff --git a/source/java/org/alfresco/service/namespace/NamespaceService.java b/source/java/org/alfresco/service/namespace/NamespaceService.java index 9c077932bb..e9720fe97b 100644 --- a/source/java/org/alfresco/service/namespace/NamespaceService.java +++ b/source/java/org/alfresco/service/namespace/NamespaceService.java @@ -118,6 +118,11 @@ public interface NamespaceService extends NamespacePrefixResolver /** WCM Application Model Prefix */ static final String WCMAPP_MODEL_PREFIX = "wca"; + /** WCM Workflow Model Prefix */ + static final String WCMWF_MODEL = "wcmwf"; + + /** WCM Workflow Model URI */ + static final String WCMWF_MODEL_1_0_URI = "http://www.alfresco.org/model/wcmworkflow/1.0"; /** * Register a prefix for namespace uri.