Implemented Unpublishing of content.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-08-07 15:42:23 +00:00
parent 1ebd026918
commit 9696a74002
15 changed files with 149 additions and 77 deletions

View File

@@ -50,7 +50,6 @@ public class ChannelImpl implements Channel
/**
* {@inheritDoc}
*/
@Override
public String getId()
{
return nodeRef.toString();
@@ -91,7 +90,6 @@ public class ChannelImpl implements Channel
/**
* {@inheritDoc}
*/
@Override
public void publish(NodeRef nodeToPublish)
{
channelHelper.addPublishedAspect(nodeToPublish, nodeRef);
@@ -104,17 +102,17 @@ public class ChannelImpl implements Channel
/**
* {@inheritDoc}
*/
@Override
public void unPublish(NodeRef nodeToUnpublish)
{
// TODO Auto-generated method stub
if(channelType.canUnpublish())
{
channelType.unpublish(nodeToUnpublish, getProperties());
}
}
/**
* {@inheritDoc}
*/
@Override
public void updateStatus(String status)
{
channelType.updateStatus(this, status, getProperties());