server: remove 'dataRelease' from QueryOptions, #TASK-596
@@ -38,9 +38,6 @@ public class CellBaseQueryOptions extends ProjectionQueryOptions {
@QueryParameter(id = "facet")
protected String facet;
- @QueryParameter(id = "dataRelease")
- protected int dataRelease;
-
public enum Order {
ASCENDING,
DESCENDING
@@ -49,18 +46,17 @@ public class CellBaseQueryOptions extends ProjectionQueryOptions {
public CellBaseQueryOptions() {
}
- public CellBaseQueryOptions(Integer limit, Integer skip, Boolean count, String sort, Order order, String facet, int dataRelease) {
+ public CellBaseQueryOptions(Integer limit, Integer skip, Boolean count, String sort, Order order, String facet) {
this.limit = limit;
this.skip = skip;
this.count = count;
this.sort = sort;
this.order = order;
this.facet = facet;
- this.dataRelease = dataRelease;
}
- public CellBaseQueryOptions(Integer limit, Integer skip, Boolean count, String sort, Order order, String facet, int dataRelease,
- List<String> includes, List<String> excludes) {
+ public CellBaseQueryOptions(Integer limit, Integer skip, Boolean count, String sort, Order order, String facet, List<String> includes,
+ List<String> excludes) {
super(includes, excludes);
this.limit = limit;
@@ -69,7 +65,6 @@ public class CellBaseQueryOptions extends ProjectionQueryOptions {
this.sort = sort;
this.order = order;
this.facet = facet;
- this.dataRelease = dataRelease;
}
@Override
@@ -81,7 +76,6 @@ public class CellBaseQueryOptions extends ProjectionQueryOptions {
sb.append(", sort=").append(sort);
sb.append(", order=").append(order);
sb.append(", facet=").append(facet);
- sb.append(", dataRelease=").append(dataRelease);
sb.append(", includes=").append(includes);
sb.append(", excludes=").append(excludes);
sb.append('}');
@@ -141,13 +135,4 @@ public class CellBaseQueryOptions extends ProjectionQueryOptions {
this.facet = facet;
return this;
}
-
- public int getDataRelease() {
- return dataRelease;
- }
-
- public CellBaseQueryOptions setDataRelease(int dataRelease) {
- this.dataRelease = dataRelease;
- return this;
- }
}
