mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Here's a skeletal workflow for the Gartner demo. Doesn't do anything besides
printing a log message and showing up appropriately in task lists. The task screens aren't quite delectable but they show up. Fixed a misplaced store level property and added a new one ".website.name" to user sandbox stores so that the corresponding staging sandbox can be determined efficiently from a user sandbox. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -73,6 +73,30 @@
|
|||||||
</property-sheet>
|
</property-sheet>
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
<!-- WCM Workflow Submit. -->
|
||||||
|
|
||||||
|
<config evaluator="node-type" condition="wcmwf:startSubmit">
|
||||||
|
<property-sheet>
|
||||||
|
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
|
||||||
|
<show-property name="wcmwf:description" ignore-if-missing="false" />
|
||||||
|
<show-property name="wcmwf:sourcePath" ignore-if-missing="false" />
|
||||||
|
<separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
|
||||||
|
<show-association name="wcmwf:assignee" ignore-if-missing="false" />
|
||||||
|
</property-sheet>
|
||||||
|
</config>
|
||||||
|
|
||||||
|
<config evaluator="node-type" condition="wcwmf:review">
|
||||||
|
<property-sheet>
|
||||||
|
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
|
||||||
|
<show-property name="bpm:taskId" ignore-if-missing="false" />
|
||||||
|
<show-property name="wcmwf:description" ignore-if-missing="false" />
|
||||||
|
<show-property name="wcmwf:sourcePath" ignore-if-missing="false" />
|
||||||
|
<show-property name="bpm:status" ignore-if-missing="false" />
|
||||||
|
<show-property name="bpm:dueDate" ignore-if-missing="false" />
|
||||||
|
<show-property name="bpm:priority" ignore-if-missing="false" />
|
||||||
|
</property-sheet>
|
||||||
|
</config>
|
||||||
|
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
@@ -69,6 +69,6 @@ public final class AVMConstants
|
|||||||
public final static String PROP_SANDBOX_AUTHOR_MAIN = ".sandbox.author.main";
|
public final static String PROP_SANDBOX_AUTHOR_MAIN = ".sandbox.author.main";
|
||||||
public final static String PROP_SANDBOX_AUTHOR_PREVIEW = ".sandbox.author.preview";
|
public final static String PROP_SANDBOX_AUTHOR_PREVIEW = ".sandbox.author.preview";
|
||||||
public final static String PROP_DNS = ".dns.";
|
public final static String PROP_DNS = ".dns.";
|
||||||
|
public final static String PROP_WEBSITE_NAME = ".website.name";
|
||||||
public final static String SPACE_ICON_WEBSITE = "space-icon-website";
|
public final static String SPACE_ICON_WEBSITE = "space-icon-website";
|
||||||
}
|
}
|
||||||
|
@@ -274,7 +274,7 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
|||||||
//this.fileFolderService.create(AVMNodeConverter.ToNodeRef(-1, path), AVMConstants.DIR_APPBASE, ContentModel.TYPE_AVM_PLAIN_FOLDER);
|
//this.fileFolderService.create(AVMNodeConverter.ToNodeRef(-1, path), AVMConstants.DIR_APPBASE, ContentModel.TYPE_AVM_PLAIN_FOLDER);
|
||||||
|
|
||||||
// tag the store with the store type
|
// tag the store with the store type
|
||||||
this.avmService.setStoreProperty(stagingStore,
|
this.avmService.setStoreProperty(previewStore,
|
||||||
QName.createQName(null, AVMConstants.PROP_SANDBOX_STAGING_PREVIEW),
|
QName.createQName(null, AVMConstants.PROP_SANDBOX_STAGING_PREVIEW),
|
||||||
new PropertyValue(DataTypeDefinition.TEXT, null));
|
new PropertyValue(DataTypeDefinition.TEXT, null));
|
||||||
|
|
||||||
@@ -325,6 +325,12 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
|||||||
QName.createQName(null, AVMConstants.PROP_SANDBOX_AUTHOR_MAIN),
|
QName.createQName(null, AVMConstants.PROP_SANDBOX_AUTHOR_MAIN),
|
||||||
new PropertyValue(DataTypeDefinition.TEXT, null));
|
new PropertyValue(DataTypeDefinition.TEXT, null));
|
||||||
|
|
||||||
|
// tag the store with the base name of the website so that corresponding
|
||||||
|
// staging areas can be found.
|
||||||
|
this.avmService.setStoreProperty(userStore,
|
||||||
|
QName.createQName(null, AVMConstants.PROP_WEBSITE_NAME),
|
||||||
|
new PropertyValue(DataTypeDefinition.TEXT, name));
|
||||||
|
|
||||||
// tag the store with the DNS name property
|
// tag the store with the DNS name property
|
||||||
tagStoreDNSPath(userStore);
|
tagStoreDNSPath(userStore);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user