Publishing:

- SlideShare channel now tested (the service seems pretty flaky, but the publishing works fine).
- A couple of tweaks to ensure that credentials are being stored correctly for each channel.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2011-07-13 08:21:05 +00:00
parent 23119a80b5
commit f12b5edafa
17 changed files with 563 additions and 37 deletions

View File

@@ -109,7 +109,9 @@ public class ChannelHelper
{
ChannelType channelType = channel.getChannelType();
String channelName = channel.getName();
return createChannelNode(environment, channelType, channelName, properties);
NodeRef envChannel = createChannelNode(environment, channelType, channelName, properties);
nodeService.createAssociation(envChannel, channel.getNodeRef(), PublishingModel.ASSOC_EDITORIAL_CHANNEL);
return envChannel;
}
public Channel getChannel(NodeRef environment, String channelName, ChannelService channelService)