org.alfresco.service.cmr.publishing
Interface PublishingQueue

All Known Implementing Classes:
PublishingQueueImpl

public interface PublishingQueue

Since:
4.0

Method Summary
 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.
 java.lang.String scheduleNewEvent(PublishingDetails publishingDetails)
          Adds the supplied publishing package onto the queue.
 

Method Detail

createPublishingDetails

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.

Returns:
A publishing package that can be populated before being placed on the publishing queue.

scheduleNewEvent

java.lang.String scheduleNewEvent(PublishingDetails publishingDetails)
Adds the supplied publishing package onto the queue.

Parameters:
publishingDetails - The publishing package that is to be enqueued
Returns:
The identifier of the newly scheduled event


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