All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.activiti.engine.impl.cmd.DeleteEventLogEntry Maven / Gradle / Ivy

The newest version!
package org.activiti.engine.impl.cmd;

import org.activiti.engine.impl.interceptor.Command;
import org.activiti.engine.impl.interceptor.CommandContext;

/**
 * @author Joram Barrez
 */
public class DeleteEventLogEntry implements Command {
	
	protected long logNr;
	
	public DeleteEventLogEntry(long logNr) {
		this.logNr = logNr;
	}
	
	@Override
	public Void execute(CommandContext commandContext) {
		commandContext.getEventLogEntryEntityManager().deleteEventLogEntry(logNr);
		return null;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy