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

@@ -406,7 +406,7 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest
private NodeRef publishNode(NodeRef source, String message, boolean publish)
{
PublishingDetails details = publishingService.createPublishingDetails();
details.setPublishChannel(channel.getId());
details.setPublishChannelId(channel.getId());
if (publish)
{
details.addNodesToPublish(source);