public class PublishingQueueImpl extends Object implements PublishingQueue
Constructor and Description |
---|
PublishingQueueImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PublishingEventHelper publishingEventHelper) |
Modifier and Type | Method and Description |
---|---|
PublishingDetails |
createPublishingDetails()
A factory method to create an empty publishing package that can be populated before being passed into
a call to the
PublishingQueue.scheduleNewEvent(PublishingDetails) operation. |
PublishingEventFilter |
createPublishingEventFilter() |
StatusUpdate |
createStatusUpdate(String message,
org.alfresco.service.cmr.repository.NodeRef nodeToLinkTo,
Collection<String> channelNames) |
StatusUpdate |
createStatusUpdate(String message,
org.alfresco.service.cmr.repository.NodeRef nodeToLinkTo,
String... channelNames) |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef() |
List<PublishingEvent> |
getPublishingEvents(PublishingEventFilter filter) |
String |
scheduleNewEvent(PublishingDetails publishingDetails)
Adds the supplied publishing package onto the queue.
|
public PublishingQueueImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, PublishingEventHelper publishingEventHelper)
public PublishingDetails createPublishingDetails()
PublishingQueue.scheduleNewEvent(PublishingDetails)
operation.createPublishingDetails
in interface PublishingQueue
public StatusUpdate createStatusUpdate(String message, org.alfresco.service.cmr.repository.NodeRef nodeToLinkTo, String... channelNames)
public StatusUpdate createStatusUpdate(String message, org.alfresco.service.cmr.repository.NodeRef nodeToLinkTo, Collection<String> channelNames)
public List<PublishingEvent> getPublishingEvents(PublishingEventFilter filter)
public PublishingEventFilter createPublishingEventFilter()
public String scheduleNewEvent(PublishingDetails publishingDetails)
PublishingQueue
scheduleNewEvent
in interface PublishingQueue
publishingDetails
- The publishing package that is to be enqueuedpublic org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Copyright © 2005–2017 Alfresco Software. All rights reserved.