Publishing: Added "publish-content" action to provide easy access to the publishing service.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2011-10-07 17:13:47 +00:00
parent 5b87277b9d
commit b66a76f001
13 changed files with 542 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ public class PublishingIntegratedTest extends BaseSpringTest
PublishingDetails details = publishingService.createPublishingDetails()
.addNodesToPublish(nodes)
.setPublishChannel(channel.getId())
.setPublishChannelId(channel.getId())
.setSchedule(schedule);
String eventId = publishingService.scheduleNewEvent(details);
@@ -124,7 +124,7 @@ public class PublishingIntegratedTest extends BaseSpringTest
PublishingDetails details = publishingService.createPublishingDetails()
.addNodesToPublish(nodes)
.setPublishChannel(channel.getId())
.setPublishChannelId(channel.getId())
.setSchedule(schedule);
String eventId = publishingService.scheduleNewEvent(details);
PublishingEvent event = publishingService.getPublishingEvent(eventId);