org.alfresco.repo.web.scripts.publishing
Class PublishingModelBuilder

java.lang.Object
  extended by org.alfresco.repo.web.scripts.publishing.PublishingModelBuilder
All Implemented Interfaces:
PublishingWebScriptConstants

public class PublishingModelBuilder
extends java.lang.Object
implements PublishingWebScriptConstants

Since:
4.0

Field Summary
 
Fields inherited from interface org.alfresco.repo.web.scripts.publishing.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 Summary
PublishingModelBuilder()
           
 
Method Summary
 java.util.Map buildChannel(org.alfresco.service.cmr.publishing.channels.Channel channel)
           
 java.util.List buildChannels(java.util.List channels)
           
 java.util.Map buildChannelType(org.alfresco.service.cmr.publishing.channels.ChannelType type)
           
 java.util.List buildChannelTypes(java.util.List types)
           
 java.util.Map buildPublishingEvent(org.alfresco.service.cmr.publishing.PublishingEvent event, org.alfresco.service.cmr.publishing.channels.ChannelService channelService)
           
 java.util.Map buildPublishingEventForNode(org.alfresco.service.cmr.publishing.PublishingEvent event, org.alfresco.service.cmr.repository.NodeRef node, org.alfresco.service.cmr.publishing.channels.ChannelService channelService)
           
 java.util.List buildPublishingEvents(java.util.List events, org.alfresco.service.cmr.publishing.channels.ChannelService channelService)
           
 java.util.List buildPublishingEventsForNode(java.util.List events, org.alfresco.service.cmr.repository.NodeRef node, org.alfresco.service.cmr.publishing.channels.ChannelService channelService)
           
static java.lang.String getUrl(org.alfresco.service.cmr.publishing.channels.Channel channel)
           
static java.lang.String getUrl(org.alfresco.service.cmr.publishing.channels.ChannelType type)
           
static java.lang.String getUrl(org.alfresco.service.cmr.publishing.PublishingEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublishingModelBuilder

public PublishingModelBuilder()
Method Detail

buildPublishingEventForNode

public java.util.Map buildPublishingEventForNode(org.alfresco.service.cmr.publishing.PublishingEvent event,
                                                 org.alfresco.service.cmr.repository.NodeRef node,
                                                 org.alfresco.service.cmr.publishing.channels.ChannelService channelService)

buildPublishingEventsForNode

public java.util.List buildPublishingEventsForNode(java.util.List events,
                                                   org.alfresco.service.cmr.repository.NodeRef node,
                                                   org.alfresco.service.cmr.publishing.channels.ChannelService channelService)

buildPublishingEvent

public java.util.Map buildPublishingEvent(org.alfresco.service.cmr.publishing.PublishingEvent event,
                                          org.alfresco.service.cmr.publishing.channels.ChannelService channelService)

buildPublishingEvents

public java.util.List buildPublishingEvents(java.util.List events,
                                            org.alfresco.service.cmr.publishing.channels.ChannelService channelService)

buildChannel

public java.util.Map buildChannel(org.alfresco.service.cmr.publishing.channels.Channel channel)

buildChannels

public java.util.List buildChannels(java.util.List channels)

buildChannelType

public java.util.Map buildChannelType(org.alfresco.service.cmr.publishing.channels.ChannelType type)

buildChannelTypes

public java.util.List buildChannelTypes(java.util.List types)

getUrl

public static java.lang.String getUrl(org.alfresco.service.cmr.publishing.PublishingEvent event)

getUrl

public static java.lang.String getUrl(org.alfresco.service.cmr.publishing.channels.ChannelType type)

getUrl

public static java.lang.String getUrl(org.alfresco.service.cmr.publishing.channels.Channel channel)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.