mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merging DEV/SWIFT to HEAD:
r28365-28366: Implemented call to ChannelType.publish() from PublishingEventAction via ChannelImpl. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -46,4 +46,9 @@ public interface Channel
|
||||
String getName();
|
||||
|
||||
Map<QName, Serializable> getProperties();
|
||||
}
|
||||
|
||||
void publish(NodeRef nodeToPublish);
|
||||
void unPublish(NodeRef nodeToUnpublish);
|
||||
void updateStatus(String status);
|
||||
|
||||
}
|
@@ -19,8 +19,11 @@
|
||||
|
||||
package org.alfresco.service.cmr.publishing.channels;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.cmr.transfer.NodeFilter;
|
||||
import org.alfresco.service.cmr.transfer.NodeFinder;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
@@ -32,9 +35,18 @@ import org.alfresco.service.namespace.QName;
|
||||
public interface ChannelType
|
||||
{
|
||||
String getId();
|
||||
Map<String,String> getCapabilities();
|
||||
QName getChannelNodeType();
|
||||
QName getContentRootNodeType();
|
||||
NodeFinder getNodeFinder();
|
||||
NodeFilter getNodeFilter();
|
||||
void publish(NodeRef nodeToPublish, Map<QName, Serializable> properties);
|
||||
void unpublish(NodeRef nodeToUnpublish, Map<QName, Serializable> properties);
|
||||
void updateStatus(String status, Map<QName, Serializable> properties);
|
||||
|
||||
boolean canPublish();
|
||||
boolean canUnpublish();
|
||||
boolean canPublishStatusUpdates();
|
||||
|
||||
Set<String> getSupportedMimetypes();
|
||||
Set<QName> getSupportedContentTypes();
|
||||
}
|
||||
|
Reference in New Issue
Block a user