2010-02-04 07:12:22 +01:00
|
|
|
package com.metaweb.gridworks.commands.recon;
|
2010-02-02 21:50:35 +01:00
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
2010-02-04 21:51:44 +01:00
|
|
|
import org.json.JSONObject;
|
|
|
|
|
|
|
|
import com.metaweb.gridworks.commands.EngineDependentCommand;
|
|
|
|
import com.metaweb.gridworks.model.AbstractOperation;
|
|
|
|
import com.metaweb.gridworks.model.operations.ApproveNewReconOperation;
|
2010-02-02 21:50:35 +01:00
|
|
|
|
2010-02-04 21:51:44 +01:00
|
|
|
public class ApproveNewReconcileCommand extends EngineDependentCommand {
|
2010-02-02 21:50:35 +01:00
|
|
|
|
|
|
|
@Override
|
2010-02-04 21:51:44 +01:00
|
|
|
protected AbstractOperation createOperation(HttpServletRequest request,
|
|
|
|
JSONObject engineConfig) throws Exception {
|
|
|
|
|
|
|
|
int cellIndex = Integer.parseInt(request.getParameter("cell"));
|
2010-02-02 21:50:35 +01:00
|
|
|
|
2010-02-04 21:51:44 +01:00
|
|
|
return new ApproveNewReconOperation(engineConfig, cellIndex);
|
2010-02-02 21:50:35 +01:00
|
|
|
}
|
|
|
|
}
|