org.alfresco.repo.publishing
Class PublishingEventImpl
java.lang.Object
org.alfresco.repo.publishing.PublishingEventImpl
- All Implemented Interfaces:
- java.lang.Comparable, PublishingEvent
- Direct Known Subclasses:
- MutablePublishingEventImpl
public class PublishingEventImpl
- extends java.lang.Object
- implements PublishingEvent
- Since:
- 4.0
|
Constructor Summary |
PublishingEventImpl(PublishingEvent event)
|
PublishingEventImpl(java.lang.String id,
Status status,
java.lang.String channelName,
PublishingPackage publishingPackage,
java.util.Date createdTime,
java.lang.String creator,
java.util.Date modifiedTime,
java.lang.String modifier,
java.util.Calendar scheduledTime,
java.lang.String comment,
StatusUpdate statusUpdate)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scheduledTime
protected final java.util.Calendar scheduledTime
comment
protected java.lang.String comment
PublishingEventImpl
public PublishingEventImpl(java.lang.String id,
Status status,
java.lang.String channelName,
PublishingPackage publishingPackage,
java.util.Date createdTime,
java.lang.String creator,
java.util.Date modifiedTime,
java.lang.String modifier,
java.util.Calendar scheduledTime,
java.lang.String comment,
StatusUpdate statusUpdate)
PublishingEventImpl
public PublishingEventImpl(PublishingEvent event)
getId
public java.lang.String getId()
-
- Specified by:
getId in interface PublishingEvent
- Returns:
- a unique
String identifier for this PublishingEvent
getStatus
public Status getStatus()
-
- Specified by:
getStatus in interface PublishingEvent
- Returns:
- the current
Status of this PublishingEvent.
getChannelId
public java.lang.String getChannelId()
-
- Specified by:
getChannelId in interface PublishingEvent
- Returns:
- a unique identifier indicating which
Channel this PublishingEvent publishes to.
getScheduledTime
public java.util.Calendar getScheduledTime()
-
- Specified by:
getScheduledTime in interface PublishingEvent
- Returns:
- the date and time when this
PublishingEvent is scheduled to publish its content.
getPackage
public PublishingPackage getPackage()
-
- Specified by:
getPackage in interface PublishingEvent
- Returns:
- the
PublishingPackage containing all the NodeRefs to be published and unpublished.
getCreatedTime
public java.util.Date getCreatedTime()
-
- Specified by:
getCreatedTime in interface PublishingEvent
- Returns:
- the date and time when this
PublishingEvent was created.
getCreator
public java.lang.String getCreator()
-
- Specified by:
getCreator in interface PublishingEvent
- Returns:
- the name of the user who created this
PublishingEvent.
getModifiedTime
public java.util.Date getModifiedTime()
-
- Specified by:
getModifiedTime in interface PublishingEvent
- Returns:
- the date and time when this
PublishingEvent was last modified.
getModifier
public java.lang.String getModifier()
-
- Specified by:
getModifier in interface PublishingEvent
- Returns:
- the name of the user who last modified this
PublishingEvent.
getComment
public java.lang.String getComment()
-
- Specified by:
getComment in interface PublishingEvent
- Returns:
- the comment associatied with this
PublishingEvent.
getStatusUpdate
public StatusUpdate getStatusUpdate()
-
- Specified by:
getStatusUpdate in interface PublishingEvent
- Returns:
- the
StatusUpdate information, if any.
edit
public MutablePublishingEvent edit()
-
compareTo
public int compareTo(PublishingEvent event)
-
- Specified by:
compareTo in interface java.lang.Comparable
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.