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
This commit is contained in:
Gavin Cornwell
2007-05-21 15:15:48 +00:00
parent 6f4ab835fe
commit 2f68bf73da
3 changed files with 22 additions and 4 deletions

View File

@@ -4,7 +4,8 @@
<imports> <imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/> <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/> <import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/>
<import uri="http://www.alfresco.org/model/wcmappmodel/1.0" prefix="wca"/>
</imports> </imports>
<namespaces> <namespaces>
@@ -64,7 +65,20 @@
<constraint ref="wcmwf:reviewType" /> <constraint ref="wcmwf:reviewType" />
</constraints> </constraints>
</property> </property>
</properties> </properties>
<associations>
<association name="wcmwf:webproject">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>wca:webfolder</class>
<mandatory>true</mandatory>
<many>false</many>
</target>
</association>
</associations>
<mandatory-aspects> <mandatory-aspects>
<aspect>bpm:assignees</aspect> <aspect>bpm:assignees</aspect>
<aspect>wcmwf:submission</aspect> <aspect>wcmwf:submission</aspect>

View File

@@ -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 // 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 // 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. // where node.toString is used - will request this is fixed in next release of JBPM.
return "Node Type: " + getType() + "\nNode Properties: " + this.getProperties().size() + return "Node Type: " + getType() + ", Node Aspects: " + this.getAspects().toString();
"\nNode Aspects: " + this.getAspects().toString();
} }
else else
{ {

View File

@@ -118,6 +118,11 @@ public interface NamespaceService extends NamespacePrefixResolver
/** WCM Application Model Prefix */ /** WCM Application Model Prefix */
static final String WCMAPP_MODEL_PREFIX = "wca"; 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. * Register a prefix for namespace uri.