Renamed java packages.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@27 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-02-03 02:29:47 +00:00
parent c7693a9ac2
commit 047f59e461
83 changed files with 335 additions and 335 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>gridlock</name>
<name>gridworks</name>
<comment></comment>
<projects>
</projects>

View File

@ -6,12 +6,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.metaweb</groupId>
<artifactId>gridlock</artifactId>
<artifactId>gridworks</artifactId>
<version>1.0.0</version>
<name>Gridlock</name>
<description>Gridlock description here.</description>
<url>http://www.metaweb.com/gridlock/</url>
<name>Gridworks</name>
<description>Gridworks description here.</description>
<url>http://www.metaweb.com/gridworks/</url>
<inceptionYear>2010</inceptionYear>
<build>

View File

@ -1,9 +0,0 @@
package com.metaweb.gridlock.browsing;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
public interface RowVisitor {
public boolean visit(Project project, int rowIndex, Row row);
}

View File

@ -1,16 +0,0 @@
package com.metaweb.gridlock.browsing.facets;
import org.json.JSONObject;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.filters.RowFilter;
import com.metaweb.gridlock.model.Project;
public interface Facet extends Jsonizable {
public RowFilter getRowFilter();
public void computeChoices(Project project, FilteredRows filteredRows);
public void initializeFromJSON(JSONObject o) throws Exception;
}

View File

@ -1,8 +0,0 @@
package com.metaweb.gridlock.browsing.filters;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
public interface RowFilter {
public boolean filterRow(Project project, int rowIndex, Row row);
}

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock;
package com.metaweb.gridworks;
import java.io.File;
import java.io.IOException;
@ -14,22 +14,22 @@ import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;
import com.metaweb.gridlock.commands.ApproveNewReconcileCommand;
import com.metaweb.gridlock.commands.ApproveReconcileCommand;
import com.metaweb.gridlock.commands.Command;
import com.metaweb.gridlock.commands.ComputeFacetsCommand;
import com.metaweb.gridlock.commands.CreateProjectFromUploadCommand;
import com.metaweb.gridlock.commands.DiscardReconcileCommand;
import com.metaweb.gridlock.commands.DoTextTransformCommand;
import com.metaweb.gridlock.commands.GetColumnModelCommand;
import com.metaweb.gridlock.commands.GetHistoryCommand;
import com.metaweb.gridlock.commands.GetProcessesCommand;
import com.metaweb.gridlock.commands.GetProjectMetadataCommand;
import com.metaweb.gridlock.commands.GetRowsCommand;
import com.metaweb.gridlock.commands.ReconcileCommand;
import com.metaweb.gridlock.commands.UndoRedoCommand;
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.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.ReconcileCommand;
import com.metaweb.gridworks.commands.UndoRedoCommand;
public class GridlockServlet extends HttpServlet {
public class GridworksServlet extends HttpServlet {
private static final long serialVersionUID = 2386057901503517403L;
static protected Map<String, Command> _commands = new HashMap<String, Command>();

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock;
package com.metaweb.gridworks;
import java.util.Properties;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock;
package com.metaweb.gridworks;
import java.io.File;
import java.io.FileInputStream;
@ -10,7 +10,7 @@ import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.model.Project;
public class ProjectManager implements Serializable {
private static final long serialVersionUID = -2967415873336723962L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock;
package com.metaweb.gridworks;
import java.io.Serializable;
import java.text.SimpleDateFormat;

View File

@ -1,11 +1,11 @@
package com.metaweb.gridlock.browsing;
package com.metaweb.gridworks.browsing;
import java.util.LinkedList;
import java.util.List;
import com.metaweb.gridlock.browsing.filters.RowFilter;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridworks.browsing.filters.RowFilter;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
public class ConjunctiveFilteredRows implements FilteredRows {
final protected List<RowFilter> _rowFilters = new LinkedList<RowFilter>();

View File

@ -1,11 +1,11 @@
package com.metaweb.gridlock.browsing;
package com.metaweb.gridworks.browsing;
import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridworks.Jsonizable;
public class DecoratedValue implements Jsonizable {
final public Object value;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.browsing;
package com.metaweb.gridworks.browsing;
import java.util.LinkedList;
import java.util.List;
@ -9,13 +9,13 @@ import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.browsing.facets.Facet;
import com.metaweb.gridlock.browsing.facets.ListFacet;
import com.metaweb.gridlock.browsing.facets.RangeFacet;
import com.metaweb.gridlock.browsing.facets.TextSearchFacet;
import com.metaweb.gridlock.browsing.filters.RowFilter;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.browsing.facets.Facet;
import com.metaweb.gridworks.browsing.facets.ListFacet;
import com.metaweb.gridworks.browsing.facets.RangeFacet;
import com.metaweb.gridworks.browsing.facets.TextSearchFacet;
import com.metaweb.gridworks.browsing.filters.RowFilter;
import com.metaweb.gridworks.model.Project;
public class Engine implements Jsonizable {
protected Project _project;

View File

@ -1,6 +1,6 @@
package com.metaweb.gridlock.browsing;
package com.metaweb.gridworks.browsing;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.model.Project;
public interface FilteredRows {
public void accept(Project project, RowVisitor visitor);

View File

@ -0,0 +1,9 @@
package com.metaweb.gridworks.browsing;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
public interface RowVisitor {
public boolean visit(Project project, int rowIndex, Row row);
}

View File

@ -1,15 +1,15 @@
package com.metaweb.gridlock.browsing.facets;
package com.metaweb.gridworks.browsing.facets;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import com.metaweb.gridlock.browsing.DecoratedValue;
import com.metaweb.gridlock.browsing.RowVisitor;
import com.metaweb.gridlock.expr.Evaluable;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridworks.browsing.DecoratedValue;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
public class ExpressionNominalRowGrouper implements RowVisitor {
final protected Evaluable _evaluable;

View File

@ -0,0 +1,16 @@
package com.metaweb.gridworks.browsing.facets;
import org.json.JSONObject;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.filters.RowFilter;
import com.metaweb.gridworks.model.Project;
public interface Facet extends Jsonizable {
public RowFilter getRowFilter();
public void computeChoices(Project project, FilteredRows filteredRows);
public void initializeFromJSON(JSONObject o) throws Exception;
}

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.browsing.facets;
package com.metaweb.gridworks.browsing.facets;
import java.util.LinkedList;
import java.util.List;
@ -9,13 +9,13 @@ import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONWriter;
import com.metaweb.gridlock.browsing.DecoratedValue;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.filters.ExpressionEqualRowFilter;
import com.metaweb.gridlock.browsing.filters.RowFilter;
import com.metaweb.gridlock.expr.Evaluable;
import com.metaweb.gridlock.expr.Parser;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.browsing.DecoratedValue;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.filters.ExpressionEqualRowFilter;
import com.metaweb.gridworks.browsing.filters.RowFilter;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.expr.Parser;
import com.metaweb.gridworks.model.Project;
public class ListFacet implements Facet {
protected List<NominalFacetChoice> _selection = new LinkedList<NominalFacetChoice>();

View File

@ -1,12 +1,12 @@
package com.metaweb.gridlock.browsing.facets;
package com.metaweb.gridworks.browsing.facets;
import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.browsing.DecoratedValue;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.browsing.DecoratedValue;
public class NominalFacetChoice implements Jsonizable {
final public DecoratedValue decoratedValue;

View File

@ -1,13 +1,13 @@
package com.metaweb.gridlock.browsing.facets;
package com.metaweb.gridworks.browsing.facets;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import com.metaweb.gridlock.expr.Evaluable;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
public class NumericBinIndex {
public double min;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.browsing.facets;
package com.metaweb.gridworks.browsing.facets;
import java.util.Properties;
@ -6,13 +6,13 @@ import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONWriter;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.filters.ExpressionNumberComparisonRowFilter;
import com.metaweb.gridlock.browsing.filters.RowFilter;
import com.metaweb.gridlock.expr.Evaluable;
import com.metaweb.gridlock.expr.Parser;
import com.metaweb.gridlock.model.Column;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.filters.ExpressionNumberComparisonRowFilter;
import com.metaweb.gridworks.browsing.filters.RowFilter;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.expr.Parser;
import com.metaweb.gridworks.model.Column;
import com.metaweb.gridworks.model.Project;
public class RangeFacet implements Facet {
protected String _name;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.browsing.facets;
package com.metaweb.gridworks.browsing.facets;
import java.util.Properties;
@ -6,14 +6,14 @@ import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONWriter;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.filters.ExpressionNumberComparisonRowFilter;
import com.metaweb.gridlock.browsing.filters.ExpressionStringComparisonRowFilter;
import com.metaweb.gridlock.browsing.filters.RowFilter;
import com.metaweb.gridlock.expr.Evaluable;
import com.metaweb.gridlock.expr.Parser;
import com.metaweb.gridlock.expr.VariableExpr;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.filters.ExpressionNumberComparisonRowFilter;
import com.metaweb.gridworks.browsing.filters.ExpressionStringComparisonRowFilter;
import com.metaweb.gridworks.browsing.filters.RowFilter;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.expr.Parser;
import com.metaweb.gridworks.expr.VariableExpr;
import com.metaweb.gridworks.model.Project;
public class TextSearchFacet implements Facet {
protected String _name;

View File

@ -1,11 +1,11 @@
package com.metaweb.gridlock.browsing.filters;
package com.metaweb.gridworks.browsing.filters;
import java.util.Properties;
import com.metaweb.gridlock.expr.Evaluable;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
public class ExpressionEqualRowFilter implements RowFilter {
final protected Evaluable _evaluable;

View File

@ -1,11 +1,11 @@
package com.metaweb.gridlock.browsing.filters;
package com.metaweb.gridworks.browsing.filters;
import java.util.Properties;
import com.metaweb.gridlock.expr.Evaluable;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
abstract public class ExpressionNumberComparisonRowFilter implements RowFilter {
final protected Evaluable _evaluable;

View File

@ -1,11 +1,11 @@
package com.metaweb.gridlock.browsing.filters;
package com.metaweb.gridworks.browsing.filters;
import java.util.Properties;
import com.metaweb.gridlock.expr.Evaluable;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
abstract public class ExpressionStringComparisonRowFilter implements RowFilter {
final protected Evaluable _evaluable;

View File

@ -0,0 +1,8 @@
package com.metaweb.gridworks.browsing.filters;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
public interface RowFilter {
public boolean filterRow(Project project, int rowIndex, Row row);
}

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.commands;
package com.metaweb.gridworks.commands;
import java.io.IOException;
import java.util.ArrayList;
@ -8,19 +8,19 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridlock.browsing.Engine;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.RowVisitor;
import com.metaweb.gridlock.history.CellChange;
import com.metaweb.gridlock.history.HistoryEntry;
import com.metaweb.gridlock.history.MassCellChange;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Column;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Recon;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridlock.model.Recon.Judgment;
import com.metaweb.gridlock.process.QuickHistoryEntryProcess;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.history.CellChange;
import com.metaweb.gridworks.history.HistoryEntry;
import com.metaweb.gridworks.history.MassCellChange;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Recon;
import com.metaweb.gridworks.model.Row;
import com.metaweb.gridworks.model.Recon.Judgment;
import com.metaweb.gridworks.process.QuickHistoryEntryProcess;
public class ApproveNewReconcileCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.commands;
package com.metaweb.gridworks.commands;
import java.io.IOException;
import java.util.ArrayList;
@ -8,18 +8,18 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridlock.browsing.Engine;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.RowVisitor;
import com.metaweb.gridlock.history.CellChange;
import com.metaweb.gridlock.history.HistoryEntry;
import com.metaweb.gridlock.history.MassCellChange;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Column;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridlock.model.Recon.Judgment;
import com.metaweb.gridlock.process.QuickHistoryEntryProcess;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.history.CellChange;
import com.metaweb.gridworks.history.HistoryEntry;
import com.metaweb.gridworks.history.MassCellChange;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
import com.metaweb.gridworks.model.Recon.Judgment;
import com.metaweb.gridworks.process.QuickHistoryEntryProcess;
public class ApproveReconcileCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.commands;
package com.metaweb.gridworks.commands;
import java.io.IOException;
import java.io.InputStreamReader;
@ -20,10 +20,10 @@ import org.json.JSONObject;
import org.json.JSONTokener;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.ProjectManager;
import com.metaweb.gridlock.browsing.Engine;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.ProjectManager;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.model.Project;
import com.oreilly.servlet.multipart.FilePart;
import com.oreilly.servlet.multipart.MultipartParser;
import com.oreilly.servlet.multipart.ParamPart;

View File

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

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.commands;
package com.metaweb.gridworks.commands;
import java.io.IOException;
import java.util.Properties;
@ -7,12 +7,12 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridlock.ProjectManager;
import com.metaweb.gridlock.ProjectMetadata;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Column;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridworks.ProjectManager;
import com.metaweb.gridworks.ProjectMetadata;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
public class CreateProjectFromUploadCommand extends Command {
@Override

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.commands;
package com.metaweb.gridworks.commands;
import java.io.IOException;
import java.util.ArrayList;
@ -8,17 +8,17 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridlock.browsing.Engine;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.RowVisitor;
import com.metaweb.gridlock.history.CellChange;
import com.metaweb.gridlock.history.HistoryEntry;
import com.metaweb.gridlock.history.MassCellChange;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Column;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridlock.process.QuickHistoryEntryProcess;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.history.CellChange;
import com.metaweb.gridworks.history.HistoryEntry;
import com.metaweb.gridworks.history.MassCellChange;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
import com.metaweb.gridworks.process.QuickHistoryEntryProcess;
public class DiscardReconcileCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.commands;
package com.metaweb.gridworks.commands;
import java.io.IOException;
import java.util.ArrayList;
@ -10,19 +10,19 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridlock.browsing.Engine;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.RowVisitor;
import com.metaweb.gridlock.expr.Evaluable;
import com.metaweb.gridlock.expr.Parser;
import com.metaweb.gridlock.history.CellChange;
import com.metaweb.gridlock.history.HistoryEntry;
import com.metaweb.gridlock.history.MassCellChange;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Column;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridlock.process.QuickHistoryEntryProcess;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.expr.Evaluable;
import com.metaweb.gridworks.expr.Parser;
import com.metaweb.gridworks.history.CellChange;
import com.metaweb.gridworks.history.HistoryEntry;
import com.metaweb.gridworks.history.MassCellChange;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
import com.metaweb.gridworks.process.QuickHistoryEntryProcess;
public class DoTextTransformCommand extends Command {

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.commands;
package com.metaweb.gridworks.commands;
import java.io.IOException;
import java.util.Properties;
@ -10,11 +10,11 @@ import javax.servlet.http.HttpServletResponse;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.browsing.Engine;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.RowVisitor;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
public class GetRowsCommand extends Command {
@Override

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.commands;
package com.metaweb.gridworks.commands;
import java.io.IOException;
import java.util.ArrayList;
@ -8,15 +8,15 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridlock.browsing.Engine;
import com.metaweb.gridlock.browsing.FilteredRows;
import com.metaweb.gridlock.browsing.RowVisitor;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Column;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridlock.process.ReconProcess;
import com.metaweb.gridlock.process.ReconProcess.ReconEntry;
import com.metaweb.gridworks.browsing.Engine;
import com.metaweb.gridworks.browsing.FilteredRows;
import com.metaweb.gridworks.browsing.RowVisitor;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Column;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
import com.metaweb.gridworks.process.ReconProcess;
import com.metaweb.gridworks.process.ReconProcess.ReconEntry;
public class ReconcileCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.commands;
package com.metaweb.gridworks.commands;
import java.io.IOException;
@ -6,8 +6,8 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.metaweb.gridlock.history.HistoryProcess;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.history.HistoryProcess;
import com.metaweb.gridworks.model.Project;
public class UndoRedoCommand extends Command {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
import java.util.Properties;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
import java.util.Properties;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
import java.util.Properties;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
import java.util.Properties;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
import java.util.Properties;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
import java.util.Properties;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
import java.util.Properties;

View File

@ -1,25 +1,25 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import com.metaweb.gridlock.expr.Scanner.NumberToken;
import com.metaweb.gridlock.expr.Scanner.Token;
import com.metaweb.gridlock.expr.Scanner.TokenType;
import com.metaweb.gridlock.expr.functions.And;
import com.metaweb.gridlock.expr.functions.Get;
import com.metaweb.gridlock.expr.functions.IsNotNull;
import com.metaweb.gridlock.expr.functions.IsNull;
import com.metaweb.gridlock.expr.functions.Not;
import com.metaweb.gridlock.expr.functions.Or;
import com.metaweb.gridlock.expr.functions.Replace;
import com.metaweb.gridlock.expr.functions.Slice;
import com.metaweb.gridlock.expr.functions.Split;
import com.metaweb.gridlock.expr.functions.ToLowercase;
import com.metaweb.gridlock.expr.functions.ToTitlecase;
import com.metaweb.gridlock.expr.functions.ToUppercase;
import com.metaweb.gridworks.expr.Scanner.NumberToken;
import com.metaweb.gridworks.expr.Scanner.Token;
import com.metaweb.gridworks.expr.Scanner.TokenType;
import com.metaweb.gridworks.expr.functions.And;
import com.metaweb.gridworks.expr.functions.Get;
import com.metaweb.gridworks.expr.functions.IsNotNull;
import com.metaweb.gridworks.expr.functions.IsNull;
import com.metaweb.gridworks.expr.functions.Not;
import com.metaweb.gridworks.expr.functions.Or;
import com.metaweb.gridworks.expr.functions.Replace;
import com.metaweb.gridworks.expr.functions.Slice;
import com.metaweb.gridworks.expr.functions.Split;
import com.metaweb.gridworks.expr.functions.ToLowercase;
import com.metaweb.gridworks.expr.functions.ToTitlecase;
import com.metaweb.gridworks.expr.functions.ToUppercase;
public class Parser {
protected Scanner _scanner;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
public class Scanner {
static public enum TokenType {

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.expr;
package com.metaweb.gridworks.expr;
import java.util.Properties;

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class And implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class Get implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class IsNotNull implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class IsNull implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class Not implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class Or implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class Replace implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class Slice implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class Split implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class ToLowercase implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class ToTitlecase implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.expr.functions;
package com.metaweb.gridworks.expr.functions;
import java.util.Properties;
import com.metaweb.gridlock.expr.Function;
import com.metaweb.gridworks.expr.Function;
public class ToUppercase implements Function {

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.history;
package com.metaweb.gridworks.history;
import java.io.Serializable;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridworks.model.Cell;
public class CellChange implements Serializable {
private static final long serialVersionUID = -2637405780084390883L;

View File

@ -1,8 +1,8 @@
package com.metaweb.gridlock.history;
package com.metaweb.gridworks.history;
import java.io.Serializable;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.model.Project;
public interface Change extends Serializable {
public void apply(Project project);

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.history;
package com.metaweb.gridworks.history;
import java.io.Serializable;
import java.util.ArrayList;
@ -9,9 +9,9 @@ import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.ProjectManager;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.ProjectManager;
import com.metaweb.gridworks.model.Project;
public class History implements Serializable, Jsonizable {
private static final long serialVersionUID = -1529783362243627391L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.history;
package com.metaweb.gridworks.history;
import java.io.File;
import java.io.FileInputStream;
@ -14,9 +14,9 @@ import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.ProjectManager;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.ProjectManager;
import com.metaweb.gridworks.model.Project;
public class HistoryEntry implements Serializable, Jsonizable {
private static final long serialVersionUID = 532766467813930262L;

View File

@ -1,13 +1,13 @@
package com.metaweb.gridlock.history;
package com.metaweb.gridworks.history;
import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.process.Process;
import com.metaweb.gridlock.process.ProcessManager;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.process.Process;
import com.metaweb.gridworks.process.ProcessManager;
public class HistoryProcess extends Process {
final protected Project _project;

View File

@ -1,9 +1,9 @@
package com.metaweb.gridlock.history;
package com.metaweb.gridworks.history;
import java.util.List;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Row;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Row;
public class MassCellChange implements Change {
private static final long serialVersionUID = -933571199802688027L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.model;
package com.metaweb.gridworks.model;
import java.io.Serializable;
import java.util.Properties;
@ -6,8 +6,8 @@ import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.expr.HasFields;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.expr.HasFields;
public class Cell implements Serializable, HasFields, Jsonizable {
private static final long serialVersionUID = -5891067829205458102L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.model;
package com.metaweb.gridworks.model;
import java.io.Serializable;
import java.util.HashMap;
@ -8,7 +8,7 @@ import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridworks.Jsonizable;
public class Column implements Serializable, Jsonizable {
private static final long serialVersionUID = -1063342490951563563L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.model;
package com.metaweb.gridworks.model;
import java.io.Serializable;
import java.util.LinkedList;
@ -9,7 +9,7 @@ import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridworks.Jsonizable;
public class ColumnModel implements Serializable, Jsonizable {
private static final long serialVersionUID = 7679639795211544511L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.model;
package com.metaweb.gridworks.model;
import java.io.IOException;
import java.io.ObjectInputStream;
@ -6,8 +6,8 @@ import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import com.metaweb.gridlock.history.History;
import com.metaweb.gridlock.process.ProcessManager;
import com.metaweb.gridworks.history.History;
import com.metaweb.gridworks.process.ProcessManager;
public class Project implements Serializable {
private static final long serialVersionUID = -5089046824819472570L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.model;
package com.metaweb.gridworks.model;
import java.io.Serializable;
import java.util.HashMap;
@ -10,8 +10,8 @@ import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.expr.HasFields;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.expr.HasFields;
public class Recon implements Serializable, HasFields, Jsonizable {
private static final long serialVersionUID = 8906257833709315762L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.model;
package com.metaweb.gridworks.model;
import java.io.Serializable;
import java.util.Properties;
@ -6,8 +6,8 @@ import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.expr.HasFields;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.expr.HasFields;
public class ReconCandidate implements Serializable, HasFields, Jsonizable {
private static final long serialVersionUID = -8013997214978715606L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.model;
package com.metaweb.gridworks.model;
import java.io.Serializable;
import java.util.ArrayList;
@ -8,8 +8,8 @@ import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridlock.expr.HasFields;
import com.metaweb.gridworks.Jsonizable;
import com.metaweb.gridworks.expr.HasFields;
public class Row implements Serializable, HasFields, Jsonizable {
private static final long serialVersionUID = -689264211730915507L;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.process;
package com.metaweb.gridworks.process;
import java.util.Properties;

View File

@ -1,6 +1,6 @@
package com.metaweb.gridlock.process;
package com.metaweb.gridworks.process;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridworks.Jsonizable;
public abstract class Process implements Jsonizable {
abstract public boolean isImmediate();

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.process;
package com.metaweb.gridworks.process;
import java.util.LinkedList;
import java.util.List;
@ -7,7 +7,7 @@ import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.Jsonizable;
import com.metaweb.gridworks.Jsonizable;
public class ProcessManager implements Jsonizable {
protected List<Process> _processes = new LinkedList<Process>();

View File

@ -1,12 +1,12 @@
package com.metaweb.gridlock.process;
package com.metaweb.gridworks.process;
import java.util.Properties;
import org.json.JSONException;
import org.json.JSONWriter;
import com.metaweb.gridlock.history.HistoryEntry;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridworks.history.HistoryEntry;
import com.metaweb.gridworks.model.Project;
public class QuickHistoryEntryProcess extends Process {
final protected Project _project;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.process;
package com.metaweb.gridworks.process;
import java.io.IOException;
import java.io.InputStream;
@ -20,14 +20,14 @@ import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONWriter;
import com.metaweb.gridlock.history.CellChange;
import com.metaweb.gridlock.history.HistoryEntry;
import com.metaweb.gridlock.history.MassCellChange;
import com.metaweb.gridlock.model.Cell;
import com.metaweb.gridlock.model.Project;
import com.metaweb.gridlock.model.Recon;
import com.metaweb.gridlock.model.ReconCandidate;
import com.metaweb.gridlock.util.ParsingUtilities;
import com.metaweb.gridworks.history.CellChange;
import com.metaweb.gridworks.history.HistoryEntry;
import com.metaweb.gridworks.history.MassCellChange;
import com.metaweb.gridworks.model.Cell;
import com.metaweb.gridworks.model.Project;
import com.metaweb.gridworks.model.Recon;
import com.metaweb.gridworks.model.ReconCandidate;
import com.metaweb.gridworks.util.ParsingUtilities;
public class ReconProcess extends LongRunningProcess implements Runnable {
static public class ReconEntry {

View File

@ -2,7 +2,7 @@
* Created on Dec 1, 2005
* Created by dfhuynh
*/
package com.metaweb.gridlock.util;
package com.metaweb.gridworks.util;
import java.io.IOException;
import java.io.Writer;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.util;
package com.metaweb.gridworks.util;
import java.io.IOException;
import java.util.Collection;

View File

@ -1,4 +1,4 @@
package com.metaweb.gridlock.util;
package com.metaweb.gridworks.util;
import java.io.IOException;
import java.io.InputStream;

View File

@ -6,13 +6,13 @@
<web-app>
<servlet>
<servlet-name>Gridlock</servlet-name>
<servlet-class>com.metaweb.gridlock.GridlockServlet</servlet-class>
<servlet-name>Gridworks</servlet-name>
<servlet-class>com.metaweb.gridworks.GridworksServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Gridlock</servlet-name>
<servlet-name>Gridworks</servlet-name>
<url-pattern>/command/*</url-pattern>
</servlet-mapping>
</web-app>