public class PublishingEventImpl extends Object implements PublishingEvent
Modifier and Type | Field and Description |
---|---|
protected String |
comment |
protected Calendar |
scheduledTime |
Constructor and Description |
---|
PublishingEventImpl(PublishingEvent event) |
PublishingEventImpl(String id,
Status status,
String channelName,
PublishingPackage publishingPackage,
Date createdTime,
String creator,
Date modifiedTime,
String modifier,
Calendar scheduledTime,
String comment,
StatusUpdate statusUpdate) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PublishingEvent event) |
MutablePublishingEvent |
edit() |
String |
getChannelId() |
String |
getComment() |
Date |
getCreatedTime() |
String |
getCreator() |
String |
getId() |
Date |
getModifiedTime() |
String |
getModifier() |
PublishingPackage |
getPackage() |
Calendar |
getScheduledTime() |
Status |
getStatus() |
StatusUpdate |
getStatusUpdate() |
public PublishingEventImpl(String id, Status status, String channelName, PublishingPackage publishingPackage, Date createdTime, String creator, Date modifiedTime, String modifier, Calendar scheduledTime, String comment, StatusUpdate statusUpdate)
public PublishingEventImpl(PublishingEvent event)
public String getId()
getId
in interface PublishingEvent
String
identifier for this PublishingEvent
public Status getStatus()
getStatus
in interface PublishingEvent
Status
of this PublishingEvent
.public String getChannelId()
getChannelId
in interface PublishingEvent
Channel
this PublishingEvent
publishes to.public Calendar getScheduledTime()
getScheduledTime
in interface PublishingEvent
PublishingEvent
is scheduled to publish its content.public PublishingPackage getPackage()
getPackage
in interface PublishingEvent
PublishingPackage
containing all the NodeRef
s to be published and unpublished.public Date getCreatedTime()
getCreatedTime
in interface PublishingEvent
PublishingEvent
was created.public String getCreator()
getCreator
in interface PublishingEvent
PublishingEvent
.public Date getModifiedTime()
getModifiedTime
in interface PublishingEvent
PublishingEvent
was last modified.public String getModifier()
getModifier
in interface PublishingEvent
PublishingEvent
.public String getComment()
getComment
in interface PublishingEvent
PublishingEvent
.public StatusUpdate getStatusUpdate()
getStatusUpdate
in interface PublishingEvent
StatusUpdate
information, if any.public MutablePublishingEvent edit()
public int compareTo(PublishingEvent event)
compareTo
in interface Comparable<PublishingEvent>
Copyright © 2005–2017 Alfresco Software. All rights reserved.