mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Status Updates can now be sent when publishing content to a channel.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -109,6 +109,16 @@ public class ChannelHelper
|
||||
return createChannelNode(environment, channelType, channelName, properties);
|
||||
}
|
||||
|
||||
public Channel getChannel(NodeRef environment, String channelName, ChannelService channelService)
|
||||
{
|
||||
NodeRef channelNode = getChannelNodeForEnvironment(environment, channelName);
|
||||
if(channelNode != null)
|
||||
{
|
||||
return buildChannelObject(channelNode, channelService);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public NodeRef getChannelNodeForEnvironment(NodeRef environment, String channelName)
|
||||
{
|
||||
QName channelQName = getChannelQName(channelName);
|
||||
@@ -343,5 +353,5 @@ public class ChannelHelper
|
||||
{
|
||||
this.contentService = contentService;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user