public interface PublishingService
| Modifier and Type | Method and Description |
|---|---|
void |
cancelPublishingEvent(java.lang.String id)
Request that the specified publishing event be cancelled.
|
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.util.List |
getPublishEventsForNode(org.alfresco.service.cmr.repository.NodeRef publishedNode)
Retrieve a list of publishing events for which the specified
node was published. |
PublishingEvent |
getPublishingEvent(java.lang.String id)
Retrieve the publishing event that has the specified identifier
|
java.util.List |
getUnpublishEventsForNode(org.alfresco.service.cmr.repository.NodeRef unpublishedNode)
Retrieve a list of publishing events for which the specified
node was unpublished. |
java.lang.String |
scheduleNewEvent(PublishingDetails publishingDetails)
Adds the supplied publishing package onto the queue.
|
@NotAuditable PublishingEvent getPublishingEvent(java.lang.String id)
id - The identifier of the required publishing eventnull if no such publishing event can
be located@NotAuditable java.util.List getPublishEventsForNode(org.alfresco.service.cmr.repository.NodeRef publishedNode)
node was published.publishedNode - The node that was published.PublishingEvents.@NotAuditable java.util.List getUnpublishEventsForNode(org.alfresco.service.cmr.repository.NodeRef unpublishedNode)
node was unpublished.unpublishedNode - The node that was unpublished.PublishingEvents.@Auditable(parameters="id") void cancelPublishingEvent(java.lang.String id)
id - The identifier of the publishing event that is to be cancelled.@NotAuditable PublishingDetails createPublishingDetails()
PublishingQueue.scheduleNewEvent(PublishingDetails) operation.@Auditable java.lang.String scheduleNewEvent(PublishingDetails publishingDetails)
publishingDetails - The publishing package that is to be enqueuedCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.