mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@125603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
47 lines
1.1 KiB
Java
47 lines
1.1 KiB
Java
|
|
package org.alfresco.repo.publishing;
|
|
|
|
import java.util.List;
|
|
|
|
import org.alfresco.repo.action.executer.ActionExecuterAbstractBase;
|
|
import org.alfresco.service.cmr.action.Action;
|
|
import org.alfresco.service.cmr.action.ParameterDefinition;
|
|
import org.alfresco.service.cmr.repository.NodeRef;
|
|
|
|
/**
|
|
* This ActionExecuter adds a publish event to the publish event queue.
|
|
*
|
|
* @author Nick Smith
|
|
* @since 4.0
|
|
*/
|
|
public class PublishEventAction extends ActionExecuterAbstractBase
|
|
{
|
|
private PublishingEventProcessor processor;
|
|
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
@Override
|
|
protected void executeImpl(Action action, NodeRef eventNode)
|
|
{
|
|
processor.processEventNode(eventNode);
|
|
}
|
|
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
@Override
|
|
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
|
|
{
|
|
//NOOP
|
|
}
|
|
|
|
/**
|
|
* @param processor the processor to set
|
|
*/
|
|
public void setPublishingEventProcessor(PublishingEventProcessor processor)
|
|
{
|
|
this.processor = processor;
|
|
}
|
|
}
|