|
|||||||||
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 PublishingService
id
- 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 PublishingService
publishedNode
- The node that was published.
PublishingEvent
s.public java.util.List getUnpublishEventsForNode(org.alfresco.service.cmr.repository.NodeRef unpublishedNode)
node
was unpublished.
getUnpublishEventsForNode
in interface PublishingService
unpublishedNode
- The node that was unpublished.
PublishingEvent
s.public void cancelPublishingEvent(java.lang.String id)
cancelPublishingEvent
in interface PublishingService
id
- 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()
PublishingService
PublishingQueue.scheduleNewEvent(PublishingDetails)
operation.
createPublishingDetails
in interface PublishingService
public java.lang.String scheduleNewEvent(PublishingDetails publishingDetails)
scheduleNewEvent
in interface PublishingService
publishingDetails
- The publishing package that is to be enqueued
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |