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