org.alfresco.service.cmr.publishing
Class NodePublishStatusPublishedAndOnQueue

java.lang.Object
  extended by org.alfresco.service.cmr.publishing.BaseNodePublishStatus
      extended by org.alfresco.service.cmr.publishing.NodePublishStatusPublishedAndOnQueue
All Implemented Interfaces:
NodePublishStatus

public class NodePublishStatusPublishedAndOnQueue
extends BaseNodePublishStatus

Since:
4.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.publishing.NodePublishStatus
NodePublishStatus.Status
 
Constructor Summary
NodePublishStatusPublishedAndOnQueue(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.lang.String channelName, PublishingEvent queuedPublishingEvent, PublishingEvent latestPublishingEvent)
           
 
Method Summary
 PublishingEvent getLatestPublishingEvent()
          Retrieve the most recent publishing event that affected (created or updated) the node relevant to this status.
 PublishingEvent getQueuedPublishingEvent()
           
 NodePublishStatus.Status getStatus()
           
 java.lang.Object visit(NodePublishStatusVisitor visitor)
           
 
Methods inherited from class org.alfresco.service.cmr.publishing.BaseNodePublishStatus
getChannelId, getNodeRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodePublishStatusPublishedAndOnQueue

public NodePublishStatusPublishedAndOnQueue(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                            java.lang.String channelName,
                                            PublishingEvent queuedPublishingEvent,
                                            PublishingEvent latestPublishingEvent)
Parameters:
nodeRef -
environment -
channelName - TODO
queuedPublishingEvent - The next scheduled PublishingEvent on the PublishingQueue
latestPublishingEvent - The last PublishingEvent to successfully publish the node.
Method Detail

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.