Removed the Environment from the publishing implementation.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-07-19 11:39:11 +00:00
parent aea1bf678d
commit b544f0effe
20 changed files with 247 additions and 315 deletions

View File

@@ -36,7 +36,7 @@ public class PublishingEventImpl implements PublishingEvent
{
private final String id;
private final Status status;
private final String channelName;
private final String channelId;
private final PublishingPackage publishingPackage;
private final Date createdTime;
private final String creator;
@@ -55,7 +55,7 @@ public class PublishingEventImpl implements PublishingEvent
{
this.id = id;
this.status = status;
this.channelName = channelName;
this.channelId = channelName;
this.publishingPackage = publishingPackage;
this.createdTime = createdTime;
this.creator = creator;
@@ -69,7 +69,7 @@ public class PublishingEventImpl implements PublishingEvent
public PublishingEventImpl(PublishingEvent event)
{
this(event.getId(),
event.getStatus(), event.getChannelName(),
event.getStatus(), event.getChannelId(),
event.getPackage(), event.getCreatedTime(),
event.getCreator(), event.getModifiedTime(),
event.getModifier(), event.getScheduledTime(), event.getComment(),
@@ -97,9 +97,9 @@ public class PublishingEventImpl implements PublishingEvent
/**
* {@inheritDoc}
*/
public String getChannelName()
public String getChannelId()
{
return channelName;
return channelId;
}
/**