public class PublishingModelBuilder extends Object implements PublishingWebScriptConstants
CAN_PUBLISH, CAN_PUBLISH_STATUS_UPDATES, CAN_UNPUBLISH, CHANNEL, CHANNEL_AUTH_STATUS, CHANNEL_ID, CHANNEL_IDS, CHANNEL_NAME, CHANNEL_NODE_TYPE, CHANNEL_TYPE, COMMENT, CONTENT_ROOT_NODE_TYPE, CREATED_TIME, CREATOR, EVENT_TYPE, ICON, ID, MAX_STATUS_LENGTH, MESSAGE, NAME, NODE_REF, NODEREF, PUBLISH_NODES, PUBLISHING_CHANNELS, SCHEDULED_TIME, STATUS, STATUS_UPDATE, STATUS_UPDATE_CHANNELS, SUPPORTED_CONTENT_TYPES, SUPPORTED_MIME_TYPES, TITLE, UNPUBLISH_NODES, URL, URL_LENGTH, VERSION
Constructor and Description |
---|
PublishingModelBuilder() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
buildChannel(Channel channel) |
List<Map<String,Object>> |
buildChannels(List<Channel> channels) |
Map<String,Object> |
buildChannelType(ChannelType type) |
List<Map<String,Object>> |
buildChannelTypes(List<ChannelType> types) |
Map<String,Object> |
buildPublishingEvent(PublishingEvent event,
ChannelService channelService) |
Map<String,Object> |
buildPublishingEventForNode(PublishingEvent event,
org.alfresco.service.cmr.repository.NodeRef node,
ChannelService channelService) |
List<Map<String,Object>> |
buildPublishingEvents(List<PublishingEvent> events,
ChannelService channelService) |
List<Map<String,Object>> |
buildPublishingEventsForNode(List<PublishingEvent> events,
org.alfresco.service.cmr.repository.NodeRef node,
ChannelService channelService) |
static String |
getUrl(Channel channel) |
static String |
getUrl(ChannelType type) |
static String |
getUrl(PublishingEvent event) |
public Map<String,Object> buildPublishingEventForNode(PublishingEvent event, org.alfresco.service.cmr.repository.NodeRef node, ChannelService channelService)
public List<Map<String,Object>> buildPublishingEventsForNode(List<PublishingEvent> events, org.alfresco.service.cmr.repository.NodeRef node, ChannelService channelService)
public Map<String,Object> buildPublishingEvent(PublishingEvent event, ChannelService channelService)
public List<Map<String,Object>> buildPublishingEvents(List<PublishingEvent> events, ChannelService channelService)
public Map<String,Object> buildChannelType(ChannelType type)
public static String getUrl(PublishingEvent event)
public static String getUrl(ChannelType type)
Copyright © 2005–2017 Alfresco Software. All rights reserved.