public class PublishingQueueImpl extends java.lang.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(java.lang.String message,
org.alfresco.service.cmr.repository.NodeRef nodeToLinkTo,
java.util.Collection channelNames) |
StatusUpdate |
createStatusUpdate(java.lang.String message,
org.alfresco.service.cmr.repository.NodeRef nodeToLinkTo,
java.lang.String[] channelNames) |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef() |
java.util.List |
getPublishingEvents(PublishingEventFilter filter) |
java.lang.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 PublishingQueuepublic StatusUpdate createStatusUpdate(java.lang.String message, org.alfresco.service.cmr.repository.NodeRef nodeToLinkTo, java.lang.String[] channelNames)
public StatusUpdate createStatusUpdate(java.lang.String message, org.alfresco.service.cmr.repository.NodeRef nodeToLinkTo, java.util.Collection channelNames)
public java.util.List getPublishingEvents(PublishingEventFilter filter)
public PublishingEventFilter createPublishingEventFilter()
public java.lang.String scheduleNewEvent(PublishingDetails publishingDetails)
scheduleNewEvent in interface PublishingQueuepublishingDetails - The publishing package that is to be enqueuedpublic org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.