|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.publishing.PublishServiceImpl
public class PublishServiceImpl
| Field Summary | |
|---|---|
static java.lang.String |
NAME
|
| Constructor Summary | |
|---|---|
PublishServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
cancelPublishingEvent(java.lang.String id)
Request that the specified publishing event be cancelled. |
java.util.Map |
checkPublishStatus(java.lang.String channelId,
java.util.Collection nodes)
|
java.util.Map |
checkPublishStatus(java.lang.String channelId,
org.alfresco.service.cmr.repository.NodeRef[] nodes)
|
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. |
void |
setPublishingEventHelper(PublishingEventHelper publishingEventHelper)
|
void |
setPublishingRootObject(PublishingRootObject rootObject)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public PublishServiceImpl()
| Method Detail |
|---|
public void setPublishingRootObject(PublishingRootObject rootObject)
rootObject - the rootObject to setpublic void setPublishingEventHelper(PublishingEventHelper publishingEventHelper)
publishingEventHelper - the publishingEventHelper to setpublic PublishingEvent getPublishingEvent(java.lang.String id)
getPublishingEvent in interface PublishingServiceid - The identifier of the required publishing event
null if no such publishing event can
be locatedpublic java.util.List getPublishEventsForNode(org.alfresco.service.cmr.repository.NodeRef publishedNode)
node was published.
getPublishEventsForNode in interface PublishingServicepublishedNode - The node that was published.
PublishingEvents.public java.util.List getUnpublishEventsForNode(org.alfresco.service.cmr.repository.NodeRef unpublishedNode)
node was unpublished.
getUnpublishEventsForNode in interface PublishingServiceunpublishedNode - The node that was unpublished.
PublishingEvents.public void cancelPublishingEvent(java.lang.String id)
cancelPublishingEvent in interface PublishingServiceid - The identifier of the publishing event that is to be cancelled.
public java.util.Map checkPublishStatus(java.lang.String channelId,
java.util.Collection nodes)
public java.util.Map checkPublishStatus(java.lang.String channelId,
org.alfresco.service.cmr.repository.NodeRef[] nodes)
public PublishingDetails createPublishingDetails()
PublishingServicePublishingQueue.scheduleNewEvent(PublishingDetails) operation.
createPublishingDetails in interface PublishingServicepublic java.lang.String scheduleNewEvent(PublishingDetails publishingDetails)
scheduleNewEvent in interface PublishingServicepublishingDetails - The publishing package that is to be enqueued
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||