Fixing URL issues on publishing.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29035 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-07-14 13:39:07 +00:00
parent 72eb9be0bd
commit 812398be66
7 changed files with 72 additions and 11 deletions

View File

@@ -114,4 +114,13 @@ public class ChannelImpl implements Channel
channelType.updateStatus(this, status, getProperties());
}
/**
* {@inheritDoc}
*/
public String getUrl(NodeRef publishedNode)
{
NodeRef mappedChannel = channelHelper.mapChannelNOde(nodeRef);
NodeRef mappedNode = channelHelper.mapSourceToEnvironment(publishedNode, mappedChannel);
return channelType.getNodeUrl(mappedNode);
}
}