org.alfresco.service.cmr.publishing
Class NodePublishStatusPublishedAndOnQueue
java.lang.Object
org.alfresco.service.cmr.publishing.BaseNodePublishStatus
org.alfresco.service.cmr.publishing.NodePublishStatusPublishedAndOnQueue
- All Implemented Interfaces:
- NodePublishStatus
public class NodePublishStatusPublishedAndOnQueue
- extends BaseNodePublishStatus
- Since:
- 4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodePublishStatusPublishedAndOnQueue
public NodePublishStatusPublishedAndOnQueue(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String channelName,
PublishingEvent queuedPublishingEvent,
PublishingEvent latestPublishingEvent)
- Parameters:
nodeRef
- environment
- channelName
- TODOqueuedPublishingEvent
- The next scheduled PublishingEvent
on the PublishingQueue
latestPublishingEvent
- The last PublishingEvent
to successfully publish the node.
visit
public java.lang.Object visit(NodePublishStatusVisitor visitor)
getQueuedPublishingEvent
public PublishingEvent getQueuedPublishingEvent()
getLatestPublishingEvent
public PublishingEvent getLatestPublishingEvent()
- Retrieve the most recent publishing event that affected (created or updated) the node relevant to this status.
- Returns:
getStatus
public NodePublishStatus.Status getStatus()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.