mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user