mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -77,7 +77,7 @@ public class PublishingQueueImplTest extends AbstractPublishingIntegrationTest
|
||||
|
||||
PublishingDetails details = publishingService.createPublishingDetails()
|
||||
.addNodesToPublish(firstNode, secondNode)
|
||||
.setPublishChannel(channelId)
|
||||
.setPublishChannelId(channelId)
|
||||
.setSchedule(schedule)
|
||||
.setComment(comment);
|
||||
|
||||
@@ -143,7 +143,7 @@ public class PublishingQueueImplTest extends AbstractPublishingIntegrationTest
|
||||
List<String> statusChannels = Arrays.asList("test://channel/Channel1", "test://channel/Channel2", "test://channel/Channel3" );
|
||||
String message = "The message";
|
||||
PublishingDetails details = publishingService.createPublishingDetails()
|
||||
.setPublishChannel(channelId)
|
||||
.setPublishChannelId(channelId)
|
||||
.addNodesToPublish(firstNode, secondNode)
|
||||
.setStatusMessage(message)
|
||||
.setStatusNodeToLinkTo(secondNode)
|
||||
@@ -182,7 +182,7 @@ public class PublishingQueueImplTest extends AbstractPublishingIntegrationTest
|
||||
// Publish an event
|
||||
PublishingDetails details = publishingService.createPublishingDetails();
|
||||
details.addNodesToPublish(firstNode, secondNode);
|
||||
details.setPublishChannel(publishChannel.getId());
|
||||
details.setPublishChannelId(publishChannel.getId());
|
||||
try
|
||||
{
|
||||
testHelper.scheduleEvent1Year(details);
|
||||
|
Reference in New Issue
Block a user