mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed ALF-10333: Publishing: Multiple publishing events are processed sequentially rather than in parallel
Publishing: Remove some operations from the Channel and ChannelType interface that really shouldn't be exposed. Also removed the PublishingQueue interface - the two operations it had are now on the PublishingService. WQS: Removed obsolete references to publishing channels. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30794 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -24,6 +24,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.service.cmr.publishing.NodePublishStatus;
|
||||
import org.alfresco.service.cmr.publishing.PublishingDetails;
|
||||
import org.alfresco.service.cmr.publishing.PublishingEvent;
|
||||
import org.alfresco.service.cmr.publishing.PublishingQueue;
|
||||
import org.alfresco.service.cmr.publishing.PublishingService;
|
||||
@@ -95,10 +96,7 @@ public class PublishServiceImpl implements PublishingService
|
||||
publishingEventHelper.cancelEvent(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public PublishingQueue getPublishingQueue()
|
||||
private PublishingQueue getPublishingQueue()
|
||||
{
|
||||
return rootObject.getPublishingQueue();
|
||||
}
|
||||
@@ -130,4 +128,18 @@ public class PublishServiceImpl implements PublishingService
|
||||
//TODO
|
||||
return null;
|
||||
}
|
||||
|
||||
public PublishingDetails createPublishingDetails()
|
||||
{
|
||||
return getPublishingQueue().createPublishingDetails();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public String scheduleNewEvent(PublishingDetails publishingDetails)
|
||||
{
|
||||
return getPublishingQueue().scheduleNewEvent(publishingDetails);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user