package com.vaadin.data.util.sqlcontainer;\r
\r
+import java.io.Serializable;\r
import java.lang.ref.ReferenceQueue;\r
import java.lang.ref.WeakReference;\r
import java.util.ArrayList;\r
* CacheFlushNotifier is a simple static notification mechanism to inform other\r
* SQLContainers that the contents of their caches may have become stale.\r
*/\r
-class CacheFlushNotifier {\r
+class CacheFlushNotifier implements Serializable{\r
/*\r
* SQLContainer instance reference list and dead reference queue. Used for\r
* the cache flush notification feature.\r
package com.vaadin.data.util.sqlcontainer.query.generator;\r
\r
+import java.io.Serializable;\r
import java.math.BigDecimal;\r
import java.sql.Date;\r
import java.sql.PreparedStatement;\r
* This class will also fill the values with correct setters into the\r
* PreparedStatement on request.\r
*/\r
-public class StatementHelper {\r
+public class StatementHelper implements Serializable{\r
\r
private String queryString;\r
\r
package com.vaadin.data.util.sqlcontainer.query.generator.filter;
+import java.io.Serializable;
+
import com.vaadin.data.Container.Filter;
import com.vaadin.data.util.sqlcontainer.query.generator.StatementHelper;
-public interface FilterTranslator {
+public interface FilterTranslator extends Serializable {
public boolean translatesFilter(Filter filter);
public String getWhereStringForFilter(Filter filter, StatementHelper sh);
package com.vaadin.data.util.sqlcontainer.query.generator.filter;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import com.vaadin.data.Container.Filter;
import com.vaadin.data.util.sqlcontainer.query.generator.StatementHelper;
-public class QueryBuilder {
+public class QueryBuilder implements Serializable{
private static ArrayList<FilterTranslator> filterTranslators = new ArrayList<FilterTranslator>();
private static StringDecorator stringDecorator = new StringDecorator("\"",
package com.vaadin.data.util.sqlcontainer.query.generator.filter;
+import java.io.Serializable;
+
/**
* The StringDecorator knows how to produce a quoted string using the specified
* quote start and quote end characters. It also handles grouping of a string
*
* @author Vaadin Ltd
*/
-public class StringDecorator {
+public class StringDecorator implements Serializable{
private final String quoteStart;
private final String quoteEnd;