Break the commands package into several for clearer organization.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@37 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-02-04 06:12:22 +00:00
parent 720f147c09
commit 4ee1684fa3
16 changed files with 45 additions and 30 deletions

View File

@ -14,22 +14,22 @@ import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;
import com.metaweb.gridworks.commands.ApproveNewReconcileCommand;
import com.metaweb.gridworks.commands.ApproveReconcileCommand;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.commands.ComputeFacetsCommand;
import com.metaweb.gridworks.commands.CreateProjectFromUploadCommand;
import com.metaweb.gridworks.commands.DiscardReconcileCommand;
import com.metaweb.gridworks.commands.DoTextTransformCommand;
import com.metaweb.gridworks.commands.GetAllProjectMetadataCommand;
import com.metaweb.gridworks.commands.GetColumnModelCommand;
import com.metaweb.gridworks.commands.GetHistoryCommand;
import com.metaweb.gridworks.commands.GetProcessesCommand;
import com.metaweb.gridworks.commands.GetProjectMetadataCommand;
import com.metaweb.gridworks.commands.GetRowsCommand;
import com.metaweb.gridworks.commands.PreviewExpressionCommand;
import com.metaweb.gridworks.commands.ReconcileCommand;
import com.metaweb.gridworks.commands.UndoRedoCommand;
import com.metaweb.gridworks.commands.edit.CreateProjectFromUploadCommand;
import com.metaweb.gridworks.commands.edit.DoTextTransformCommand;
import com.metaweb.gridworks.commands.edit.UndoRedoCommand;
import com.metaweb.gridworks.commands.info.ComputeFacetsCommand;
import com.metaweb.gridworks.commands.info.GetAllProjectMetadataCommand;
import com.metaweb.gridworks.commands.info.GetColumnModelCommand;
import com.metaweb.gridworks.commands.info.GetHistoryCommand;
import com.metaweb.gridworks.commands.info.GetProcessesCommand;
import com.metaweb.gridworks.commands.info.GetProjectMetadataCommand;
import com.metaweb.gridworks.commands.info.GetRowsCommand;
import com.metaweb.gridworks.commands.recon.ApproveNewReconcileCommand;
import com.metaweb.gridworks.commands.recon.ApproveReconcileCommand;
import com.metaweb.gridworks.commands.recon.DiscardReconcileCommand;
import com.metaweb.gridworks.commands.recon.ReconcileCommand;
import com.metaweb.gridworks.commands.util.PreviewExpressionCommand;
public class GridworksServlet extends HttpServlet {
private static final long serialVersionUID = 2386057901503517403L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.edit;
import java.io.IOException;
import java.util.Properties;
@ -9,6 +9,7 @@ import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridworks.ProjectManager;
import com.metaweb.gridworks.ProjectMetadata;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;
import com.metaweb.gridworks.model.Project;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.edit;
import java.io.IOException;
import java.util.ArrayList;
@ -13,6 +13,7 @@ import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.expr.Parser;
import com.metaweb.gridworks.history.HistoryEntry;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.edit;
import java.io.IOException;
@ -6,6 +6,7 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.history.HistoryProcess;
import com.metaweb.gridworks.model.Project;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.info;
import java.io.IOException;
@ -7,6 +7,7 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.model.Project;
public class ComputeFacetsCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.info;
import java.io.IOException;
import java.util.Map;
@ -13,6 +13,7 @@ import org.json.JSONWriter;
import com.metaweb.gridworks.ProjectManager;
import com.metaweb.gridworks.ProjectMetadata;
import com.metaweb.gridworks.commands.Command;
public class GetAllProjectMetadataCommand extends Command {
@Override

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.info;
import java.io.IOException;
@ -8,6 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import org.json.JSONException;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.model.Project;
public class GetColumnModelCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.info;
import java.io.IOException;
@ -8,6 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import org.json.JSONException;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.model.Project;
public class GetHistoryCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.info;
import java.io.IOException;
@ -8,6 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import org.json.JSONException;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.model.Project;
public class GetProcessesCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.info;
import java.io.IOException;
@ -9,6 +9,7 @@ import javax.servlet.http.HttpServletResponse;
import org.json.JSONException;
import com.metaweb.gridworks.ProjectManager;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.model.Project;
public class GetProjectMetadataCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.info;
import java.io.IOException;
import java.util.Properties;
@ -13,6 +13,7 @@ import org.json.JSONWriter;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.recon;
import java.io.IOException;
import java.util.ArrayList;
@ -11,6 +11,7 @@ import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.history.HistoryEntry;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.recon;
import java.io.IOException;
import java.util.ArrayList;
@ -11,6 +11,7 @@ import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.history.HistoryEntry;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.recon;
import java.io.IOException;
import java.util.ArrayList;
@ -11,6 +11,7 @@ import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.history.HistoryEntry;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.recon;
import java.io.IOException;
import java.util.ArrayList;
@ -11,6 +11,7 @@ import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;
import com.metaweb.gridworks.model.Project;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridworks.commands;
package com.metaweb.gridworks.commands.util;
import java.io.IOException;
import java.util.Properties;
@ -11,6 +11,7 @@ import org.json.JSONArray;
import org.json.JSONWriter;
import com.metaweb.gridworks.commands.Command;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.expr.Parser;
import com.metaweb.gridworks.model.Cell;