public class NodePublishStatusPublishedAndOnQueue extends BaseNodePublishStatus
NodePublishStatus.Status
Constructor and Description |
---|
NodePublishStatusPublishedAndOnQueue(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String channelName,
PublishingEvent queuedPublishingEvent,
PublishingEvent latestPublishingEvent) |
Modifier and Type | Method and Description |
---|---|
PublishingEvent |
getLatestPublishingEvent()
Retrieve the most recent publishing event that affected (created or updated) the node relevant to this status.
|
PublishingEvent |
getQueuedPublishingEvent() |
NodePublishStatus.Status |
getStatus() |
<T> T |
visit(NodePublishStatusVisitor<T> visitor) |
getChannelId, getNodeRef
public NodePublishStatusPublishedAndOnQueue(org.alfresco.service.cmr.repository.NodeRef nodeRef, String channelName, PublishingEvent queuedPublishingEvent, PublishingEvent latestPublishingEvent)
nodeRef
- NodeRefchannelName
- TODOqueuedPublishingEvent
- The next scheduled PublishingEvent
on the PublishingQueue
latestPublishingEvent
- The last PublishingEvent
to successfully publish the node.public <T> T visit(NodePublishStatusVisitor<T> visitor)
public PublishingEvent getQueuedPublishingEvent()
public PublishingEvent getLatestPublishingEvent()
public NodePublishStatus.Status getStatus()
Copyright © 2005–2017 Alfresco Software. All rights reserved.