From fe0b46369b2e84b252770a832e2a1a5185c38522 Mon Sep 17 00:00:00 2001 From: Sven Kobler Date: Mon, 10 Mar 2014 17:17:48 +0100 Subject: [PATCH] [OLINGO-63] Uri Parser: delete old option files --- .../api/uri/queryoption/AliasQueryOption.java | 35 ------------------- .../api/uri/queryoption/FilterOption.java | 34 ------------------ .../api/uri/queryoption/SearchOption.java | 34 ------------------ 3 files changed, 103 deletions(-) delete mode 100644 odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/AliasQueryOption.java delete mode 100644 odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FilterOption.java delete mode 100644 odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SearchOption.java diff --git a/odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/AliasQueryOption.java b/odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/AliasQueryOption.java deleted file mode 100644 index b4333a414..000000000 --- a/odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/AliasQueryOption.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ******************************************************************************/ -package org.apache.olingo.odata4.server.api.uri.queryoption; - -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; - -/** - * Represents an alias value defined as query option - * For example: - * http://.../?filter=@value eq name&@value='test' - */ -public interface AliasQueryOption extends QueryOption { - - /** - * @return Value of the alias - */ - public Expression getValue(); - -} diff --git a/odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FilterOption.java b/odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FilterOption.java deleted file mode 100644 index 3a2eded7b..000000000 --- a/odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/FilterOption.java +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************************* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ******************************************************************************/ -package org.apache.olingo.odata4.server.api.uri.queryoption; - -import org.apache.olingo.odata4.server.api.uri.queryoption.expression.Expression; -import org.apache.olingo.odata4.server.api.uri.queryoption.search.SearchExpression; - -/** - * Represents the system query option $filter - * For example: http://.../entitySet?$filter=name eq 'tester' - */ -public interface FilterOption extends SystemQueryOption { - - /** - * @return Expression tree created from the filter value (see {@link Expression}) - */ - Expression getExpression(); -} diff --git a/odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SearchOption.java b/odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SearchOption.java deleted file mode 100644 index b19f044fe..000000000 --- a/odata4-lib/odata4-server-api/src/main/java/org/apache/olingo/odata4/server/api/uri/queryoption/SearchOption.java +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************************* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - ******************************************************************************/ -package org.apache.olingo.odata4.server.api.uri.queryoption; - -import org.apache.olingo.odata4.server.api.uri.queryoption.search.SearchExpression; - -/** - * Represents the system query option $search - * For example: http://.../entitySet?$search=SearchString - */ -public interface SearchOption extends SystemQueryOption { - - /** - * @return Search expression tree created from the $search value (see {@link SearchExpression}) - */ - SearchExpression getSearchExpression(); - -}