mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added a new REST method, publishing-events-query.post which allows you to query for publishing events based on id or published nodes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -348,8 +348,7 @@ public class PublishingEventHelper
|
||||
Map<QName, Serializable> parameters = new HashMap<QName, Serializable>();
|
||||
parameters.put(PROP_WF_PUBLISHING_EVENT, eventNode);
|
||||
parameters.put(WorkflowModel.ASSOC_PACKAGE, workflowService.createPackage(null));
|
||||
//TODO Will this handle the timezone?
|
||||
parameters.put(PROP_WF_SCHEDULED_PUBLISH_DATE, scheduledTime.getTime());
|
||||
parameters.put(PROP_WF_SCHEDULED_PUBLISH_DATE, scheduledTime);
|
||||
|
||||
//Start workflow
|
||||
WorkflowPath path = workflowService.startWorkflow(getPublshingWorkflowDefinitionId(), parameters);
|
||||
|
Reference in New Issue
Block a user