diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2016-12-15 14:48:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-15 14:48:40 +0200 |
commit | 4b3b5a232589128151324221eb6fbf51eb5387ab (patch) | |
tree | 834f51f4af862a1b387cf5061fc55ba58e6ba9b5 /server/src/main | |
parent | 0defe58203e0f3509239a32cc4a06510d79954a2 (diff) | |
download | vaadin-framework-4b3b5a232589128151324221eb6fbf51eb5387ab.tar.gz vaadin-framework-4b3b5a232589128151324221eb6fbf51eb5387ab.zip |
Rename com.vaadin.server.data to com.vaadin.data.provider (#8004)
Renamed corresponding test packages too.
Fixes vaadin/framework8-issues#110
Diffstat (limited to 'server/src/main')
27 files changed, 39 insertions, 39 deletions
diff --git a/server/src/main/java/com/vaadin/data/Listing.java b/server/src/main/java/com/vaadin/data/Listing.java index 0ecc13b3fb..680e05db8a 100644 --- a/server/src/main/java/com/vaadin/data/Listing.java +++ b/server/src/main/java/com/vaadin/data/Listing.java @@ -19,8 +19,8 @@ import java.io.Serializable; import java.util.Collection; import java.util.stream.Stream; -import com.vaadin.server.data.BackEndDataProvider; -import com.vaadin.server.data.DataProvider; +import com.vaadin.data.provider.BackEndDataProvider; +import com.vaadin.data.provider.DataProvider; /** * A generic interface for components that show a list of data. diff --git a/server/src/main/java/com/vaadin/server/data/AbstractDataProvider.java b/server/src/main/java/com/vaadin/data/provider/AbstractDataProvider.java index 1ab21a3125..3319bfb382 100644 --- a/server/src/main/java/com/vaadin/server/data/AbstractDataProvider.java +++ b/server/src/main/java/com/vaadin/data/provider/AbstractDataProvider.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.lang.reflect.Method; import java.util.EventObject; diff --git a/server/src/main/java/com/vaadin/server/data/AppendableFilterDataProvider.java b/server/src/main/java/com/vaadin/data/provider/AppendableFilterDataProvider.java index c6e20acbe4..37cc484d64 100644 --- a/server/src/main/java/com/vaadin/server/data/AppendableFilterDataProvider.java +++ b/server/src/main/java/com/vaadin/data/provider/AppendableFilterDataProvider.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.util.Objects; diff --git a/server/src/main/java/com/vaadin/server/data/BackEndDataProvider.java b/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java index 50e104adc1..2ceebc995a 100644 --- a/server/src/main/java/com/vaadin/server/data/BackEndDataProvider.java +++ b/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.util.ArrayList; import java.util.List; diff --git a/server/src/main/java/com/vaadin/server/data/DataChangeEvent.java b/server/src/main/java/com/vaadin/data/provider/DataChangeEvent.java index 6d7d2e8bfb..86ad9235a6 100644 --- a/server/src/main/java/com/vaadin/server/data/DataChangeEvent.java +++ b/server/src/main/java/com/vaadin/data/provider/DataChangeEvent.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.util.EventObject; diff --git a/server/src/main/java/com/vaadin/server/data/DataCommunicator.java b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java index 9d84b1bcc9..40bf9e0880 100644 --- a/server/src/main/java/com/vaadin/server/data/DataCommunicator.java +++ b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.io.Serializable; import java.util.ArrayList; diff --git a/server/src/main/java/com/vaadin/server/data/DataGenerator.java b/server/src/main/java/com/vaadin/data/provider/DataGenerator.java index f062e9b80a..32c41473ed 100644 --- a/server/src/main/java/com/vaadin/server/data/DataGenerator.java +++ b/server/src/main/java/com/vaadin/data/provider/DataGenerator.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.io.Serializable; diff --git a/server/src/main/java/com/vaadin/server/data/DataKeyMapper.java b/server/src/main/java/com/vaadin/data/provider/DataKeyMapper.java index 2a279bcd8a..63bd2d92f8 100644 --- a/server/src/main/java/com/vaadin/server/data/DataKeyMapper.java +++ b/server/src/main/java/com/vaadin/data/provider/DataKeyMapper.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.io.Serializable; diff --git a/server/src/main/java/com/vaadin/server/data/DataProvider.java b/server/src/main/java/com/vaadin/data/provider/DataProvider.java index 1a0360318b..8bc4aa3d4b 100644 --- a/server/src/main/java/com/vaadin/server/data/DataProvider.java +++ b/server/src/main/java/com/vaadin/data/provider/DataProvider.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.io.Serializable; import java.util.Arrays; diff --git a/server/src/main/java/com/vaadin/server/data/DataProviderListener.java b/server/src/main/java/com/vaadin/data/provider/DataProviderListener.java index 27bd781c4a..99693a2c1b 100644 --- a/server/src/main/java/com/vaadin/server/data/DataProviderListener.java +++ b/server/src/main/java/com/vaadin/data/provider/DataProviderListener.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.io.Serializable; diff --git a/server/src/main/java/com/vaadin/server/data/DataProviderWrapper.java b/server/src/main/java/com/vaadin/data/provider/DataProviderWrapper.java index ba08ac4ef6..dc12a2cc28 100644 --- a/server/src/main/java/com/vaadin/server/data/DataProviderWrapper.java +++ b/server/src/main/java/com/vaadin/data/provider/DataProviderWrapper.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.util.stream.Stream; diff --git a/server/src/main/java/com/vaadin/server/data/ListDataProvider.java b/server/src/main/java/com/vaadin/data/provider/ListDataProvider.java index 0f9e033bbb..c6860c26cc 100644 --- a/server/src/main/java/com/vaadin/server/data/ListDataProvider.java +++ b/server/src/main/java/com/vaadin/data/provider/ListDataProvider.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.util.Collection; import java.util.Comparator; diff --git a/server/src/main/java/com/vaadin/server/data/Query.java b/server/src/main/java/com/vaadin/data/provider/Query.java index 6415af0e2d..a4e0197d83 100644 --- a/server/src/main/java/com/vaadin/server/data/Query.java +++ b/server/src/main/java/com/vaadin/data/provider/Query.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.io.Serializable; import java.util.Collections; diff --git a/server/src/main/java/com/vaadin/server/data/Sort.java b/server/src/main/java/com/vaadin/data/provider/Sort.java index 7afa017157..303ee05f74 100644 --- a/server/src/main/java/com/vaadin/server/data/Sort.java +++ b/server/src/main/java/com/vaadin/data/provider/Sort.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.io.Serializable; import java.util.ArrayList; diff --git a/server/src/main/java/com/vaadin/server/data/SortOrder.java b/server/src/main/java/com/vaadin/data/provider/SortOrder.java index d5ce197ccf..34e560e2d1 100644 --- a/server/src/main/java/com/vaadin/server/data/SortOrder.java +++ b/server/src/main/java/com/vaadin/data/provider/SortOrder.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ -package com.vaadin.server.data; +package com.vaadin.data.provider; import java.io.Serializable; diff --git a/server/src/main/java/com/vaadin/server/KeyMapper.java b/server/src/main/java/com/vaadin/server/KeyMapper.java index 760d311631..471fea3e69 100644 --- a/server/src/main/java/com/vaadin/server/KeyMapper.java +++ b/server/src/main/java/com/vaadin/server/KeyMapper.java @@ -19,7 +19,7 @@ package com.vaadin.server; import java.io.Serializable; import java.util.HashMap; -import com.vaadin.server.data.DataKeyMapper; +import com.vaadin.data.provider.DataKeyMapper; /** * <code>KeyMapper</code> is the simple two-way map for generating textual keys diff --git a/server/src/main/java/com/vaadin/ui/AbstractListing.java b/server/src/main/java/com/vaadin/ui/AbstractListing.java index 95ffef6ee8..6800703afd 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractListing.java +++ b/server/src/main/java/com/vaadin/ui/AbstractListing.java @@ -23,12 +23,12 @@ import org.jsoup.nodes.Element; import com.vaadin.data.Listing; import com.vaadin.data.SelectionModel; +import com.vaadin.data.provider.DataCommunicator; +import com.vaadin.data.provider.DataGenerator; +import com.vaadin.data.provider.DataProvider; +import com.vaadin.data.provider.Query; import com.vaadin.server.AbstractExtension; import com.vaadin.server.Resource; -import com.vaadin.server.data.DataCommunicator; -import com.vaadin.server.data.DataGenerator; -import com.vaadin.server.data.DataProvider; -import com.vaadin.server.data.Query; import com.vaadin.shared.extension.abstractlisting.AbstractListingExtensionState; import com.vaadin.shared.ui.abstractlisting.AbstractListingState; import com.vaadin.ui.Component.Focusable; diff --git a/server/src/main/java/com/vaadin/ui/AbstractMultiSelect.java b/server/src/main/java/com/vaadin/ui/AbstractMultiSelect.java index b053277cc3..bba3d38fa1 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractMultiSelect.java +++ b/server/src/main/java/com/vaadin/ui/AbstractMultiSelect.java @@ -32,12 +32,12 @@ import org.jsoup.nodes.Element; import com.vaadin.data.HasValue; import com.vaadin.data.SelectionModel; import com.vaadin.data.SelectionModel.Multi; +import com.vaadin.data.provider.DataGenerator; import com.vaadin.event.selection.MultiSelectionEvent; import com.vaadin.event.selection.MultiSelectionListener; import com.vaadin.server.Resource; import com.vaadin.server.ResourceReference; import com.vaadin.server.SerializablePredicate; -import com.vaadin.server.data.DataGenerator; import com.vaadin.shared.Registration; import com.vaadin.shared.data.selection.MultiSelectServerRpc; import com.vaadin.shared.ui.ListingJsonConstants; diff --git a/server/src/main/java/com/vaadin/ui/AbstractSingleSelect.java b/server/src/main/java/com/vaadin/ui/AbstractSingleSelect.java index 6c0d1efc54..538356feaf 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractSingleSelect.java +++ b/server/src/main/java/com/vaadin/ui/AbstractSingleSelect.java @@ -28,9 +28,9 @@ import org.jsoup.nodes.Element; import com.vaadin.data.HasValue; import com.vaadin.data.SelectionModel; import com.vaadin.data.SelectionModel.Single; +import com.vaadin.data.provider.DataCommunicator; import com.vaadin.event.selection.SingleSelectionEvent; import com.vaadin.event.selection.SingleSelectionListener; -import com.vaadin.server.data.DataCommunicator; import com.vaadin.shared.Registration; import com.vaadin.shared.data.selection.SelectionServerRpc; import com.vaadin.shared.ui.AbstractSingleSelectState; diff --git a/server/src/main/java/com/vaadin/ui/CheckBoxGroup.java b/server/src/main/java/com/vaadin/ui/CheckBoxGroup.java index 508d4ed4cc..ddc0945bc3 100644 --- a/server/src/main/java/com/vaadin/ui/CheckBoxGroup.java +++ b/server/src/main/java/com/vaadin/ui/CheckBoxGroup.java @@ -23,6 +23,7 @@ import java.util.Set; import org.jsoup.nodes.Element; import com.vaadin.data.Listing; +import com.vaadin.data.provider.DataProvider; import com.vaadin.event.FieldEvents.BlurEvent; import com.vaadin.event.FieldEvents.BlurListener; import com.vaadin.event.FieldEvents.BlurNotifier; @@ -31,7 +32,6 @@ import com.vaadin.event.FieldEvents.FocusEvent; import com.vaadin.event.FieldEvents.FocusListener; import com.vaadin.event.FieldEvents.FocusNotifier; import com.vaadin.server.SerializablePredicate; -import com.vaadin.server.data.DataProvider; import com.vaadin.shared.Registration; import com.vaadin.shared.ui.optiongroup.CheckBoxGroupState; import com.vaadin.ui.declarative.DesignContext; diff --git a/server/src/main/java/com/vaadin/ui/ComboBox.java b/server/src/main/java/com/vaadin/ui/ComboBox.java index 3bebc78410..2df887016d 100644 --- a/server/src/main/java/com/vaadin/ui/ComboBox.java +++ b/server/src/main/java/com/vaadin/ui/ComboBox.java @@ -32,15 +32,15 @@ import org.jsoup.nodes.Element; import com.vaadin.data.HasValue; import com.vaadin.data.Listing; +import com.vaadin.data.provider.DataCommunicator; +import com.vaadin.data.provider.DataKeyMapper; +import com.vaadin.data.provider.DataProvider; import com.vaadin.event.FieldEvents; import com.vaadin.event.FieldEvents.BlurEvent; import com.vaadin.event.FieldEvents.BlurListener; import com.vaadin.event.FieldEvents.FocusAndBlurServerRpcDecorator; import com.vaadin.event.FieldEvents.FocusEvent; import com.vaadin.event.FieldEvents.FocusListener; -import com.vaadin.server.data.DataCommunicator; -import com.vaadin.server.data.DataKeyMapper; -import com.vaadin.server.data.DataProvider; import com.vaadin.shared.Registration; import com.vaadin.shared.data.DataCommunicatorConstants; import com.vaadin.shared.ui.combobox.ComboBoxConstants; diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java index 1d46b29f99..9f4f00a114 100644 --- a/server/src/main/java/com/vaadin/ui/Grid.java +++ b/server/src/main/java/com/vaadin/ui/Grid.java @@ -48,6 +48,10 @@ import com.vaadin.data.BinderValidationStatus; import com.vaadin.data.Listing; import com.vaadin.data.SelectionModel; import com.vaadin.data.ValueProvider; +import com.vaadin.data.provider.DataCommunicator; +import com.vaadin.data.provider.DataProvider; +import com.vaadin.data.provider.Query; +import com.vaadin.data.provider.SortOrder; import com.vaadin.event.ConnectorEvent; import com.vaadin.event.ContextClickEvent; import com.vaadin.event.SerializableEventListener; @@ -59,10 +63,6 @@ import com.vaadin.server.Extension; import com.vaadin.server.JsonCodec; import com.vaadin.server.SerializableComparator; import com.vaadin.server.SerializableFunction; -import com.vaadin.server.data.DataCommunicator; -import com.vaadin.server.data.DataProvider; -import com.vaadin.server.data.Query; -import com.vaadin.server.data.SortOrder; import com.vaadin.shared.MouseEventDetails; import com.vaadin.shared.Registration; import com.vaadin.shared.data.DataCommunicatorConstants; diff --git a/server/src/main/java/com/vaadin/ui/ListSelect.java b/server/src/main/java/com/vaadin/ui/ListSelect.java index 8716bc4d05..1d450d78cf 100644 --- a/server/src/main/java/com/vaadin/ui/ListSelect.java +++ b/server/src/main/java/com/vaadin/ui/ListSelect.java @@ -18,7 +18,7 @@ package com.vaadin.ui; import java.util.Collection; import com.vaadin.data.Listing; -import com.vaadin.server.data.DataProvider; +import com.vaadin.data.provider.DataProvider; import com.vaadin.shared.ui.listselect.ListSelectState; /** diff --git a/server/src/main/java/com/vaadin/ui/NativeSelect.java b/server/src/main/java/com/vaadin/ui/NativeSelect.java index e7678b7515..2d0e805d41 100644 --- a/server/src/main/java/com/vaadin/ui/NativeSelect.java +++ b/server/src/main/java/com/vaadin/ui/NativeSelect.java @@ -19,6 +19,7 @@ package com.vaadin.ui; import java.util.Collection; import com.vaadin.data.Listing; +import com.vaadin.data.provider.DataProvider; import com.vaadin.event.FieldEvents.BlurEvent; import com.vaadin.event.FieldEvents.BlurListener; import com.vaadin.event.FieldEvents.BlurNotifier; @@ -26,7 +27,6 @@ import com.vaadin.event.FieldEvents.FocusAndBlurServerRpcDecorator; import com.vaadin.event.FieldEvents.FocusEvent; import com.vaadin.event.FieldEvents.FocusListener; import com.vaadin.event.FieldEvents.FocusNotifier; -import com.vaadin.server.data.DataProvider; import com.vaadin.shared.Registration; import com.vaadin.shared.data.DataCommunicatorConstants; import com.vaadin.shared.ui.nativeselect.NativeSelectState; diff --git a/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java b/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java index 0f3bd43c98..5d4d44d169 100644 --- a/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java +++ b/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java @@ -24,6 +24,8 @@ import java.util.Set; import org.jsoup.nodes.Element; import com.vaadin.data.Listing; +import com.vaadin.data.provider.DataGenerator; +import com.vaadin.data.provider.DataProvider; import com.vaadin.event.FieldEvents.BlurEvent; import com.vaadin.event.FieldEvents.BlurListener; import com.vaadin.event.FieldEvents.BlurNotifier; @@ -34,8 +36,6 @@ import com.vaadin.event.FieldEvents.FocusNotifier; import com.vaadin.server.Resource; import com.vaadin.server.ResourceReference; import com.vaadin.server.SerializablePredicate; -import com.vaadin.server.data.DataGenerator; -import com.vaadin.server.data.DataProvider; import com.vaadin.shared.Registration; import com.vaadin.shared.ui.ListingJsonConstants; import com.vaadin.shared.ui.optiongroup.RadioButtonGroupState; diff --git a/server/src/main/java/com/vaadin/ui/TwinColSelect.java b/server/src/main/java/com/vaadin/ui/TwinColSelect.java index 37b79a6bac..bcc8b52024 100644 --- a/server/src/main/java/com/vaadin/ui/TwinColSelect.java +++ b/server/src/main/java/com/vaadin/ui/TwinColSelect.java @@ -19,7 +19,7 @@ package com.vaadin.ui; import java.util.Collection; import com.vaadin.data.Listing; -import com.vaadin.server.data.DataProvider; +import com.vaadin.data.provider.DataProvider; import com.vaadin.shared.ui.twincolselect.TwinColSelectState; /** diff --git a/server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java b/server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java index c3e9f38cb2..764d958dac 100644 --- a/server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java +++ b/server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java @@ -24,11 +24,11 @@ import java.util.function.Consumer; import java.util.stream.Collectors; import java.util.stream.Stream; +import com.vaadin.data.provider.DataCommunicator; +import com.vaadin.data.provider.DataProvider; +import com.vaadin.data.provider.Query; import com.vaadin.event.selection.MultiSelectionEvent; import com.vaadin.event.selection.MultiSelectionListener; -import com.vaadin.server.data.DataCommunicator; -import com.vaadin.server.data.DataProvider; -import com.vaadin.server.data.Query; import com.vaadin.shared.Registration; import com.vaadin.shared.data.selection.GridMultiSelectServerRpc; import com.vaadin.shared.ui.grid.MultiSelectionModelState; |