git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3454 file loading string-only (testNG) fails for PDB file
[jalview.git]
/
src
/
jalview
/
fts
/
core
/
FTSRestRequest.java
diff --git
a/src/jalview/fts/core/FTSRestRequest.java
b/src/jalview/fts/core/FTSRestRequest.java
index
94f9bfb
..
52c48a1
100644
(file)
--- a/
src/jalview/fts/core/FTSRestRequest.java
+++ b/
src/jalview/fts/core/FTSRestRequest.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-24,11
+24,12
@@
package jalview.fts.core;
import jalview.bin.Cache;
import jalview.datamodel.SequenceI;
import jalview.fts.api.FTSDataColumnI;
import jalview.bin.Cache;
import jalview.datamodel.SequenceI;
import jalview.fts.api.FTSDataColumnI;
+import jalview.gui.Preferences;
import java.util.Collection;
/**
import java.util.Collection;
/**
- * Represents the PDB request to be consumed by the PDBRestClient
+ * Represents the FTS request to be consumed by the FTSRestClient
*
* @author tcnofoegbu
*
*
* @author tcnofoegbu
*
@@
-45,8
+46,8
@@
public class FTSRestRequest
private boolean allowEmptySequence;
private boolean allowEmptySequence;
- private boolean allowUnpublishedEntries = Cache.getDefault(
- "ALLOW_UNPUBLISHED_PDB_QUERYING", false);
+ private boolean allowUnpublishedEntries = Cache
+ .getDefault(Preferences.ALLOW_UNPUBLISHED_PDB_QUERYING, false);
private boolean facet;
private boolean facet;
@@
-56,6
+57,8
@@
public class FTSRestRequest
private int responseSize;
private int responseSize;
+ private int offSet;
+
private boolean isSortAscending;
private Collection<FTSDataColumnI> wantedFields;
private boolean isSortAscending;
private Collection<FTSDataColumnI> wantedFields;
@@
-105,8
+108,7
@@
public class FTSRestRequest
return wantedFields;
}
return wantedFields;
}
- public void setWantedFields(
- Collection<FTSDataColumnI> wantedFields)
+ public void setWantedFields(Collection<FTSDataColumnI> wantedFields)
{
this.wantedFields = wantedFields;
}
{
this.wantedFields = wantedFields;
}
@@
-116,7
+118,8
@@
public class FTSRestRequest
return fieldToSortBy;
}
return fieldToSortBy;
}
- public void setFieldToSortBy(String fieldToSortBy, boolean isSortAscending)
+ public void setFieldToSortBy(String fieldToSortBy,
+ boolean isSortAscending)
{
this.fieldToSortBy = fieldToSortBy;
this.isSortAscending = isSortAscending;
{
this.fieldToSortBy = fieldToSortBy;
this.isSortAscending = isSortAscending;
@@
-176,4
+179,14
@@
public class FTSRestRequest
{
this.facetPivotMinCount = facetPivotMinCount;
}
{
this.facetPivotMinCount = facetPivotMinCount;
}
+
+ public int getOffSet()
+ {
+ return offSet;
+ }
+
+ public void setOffSet(int offSet)
+ {
+ this.offSet = offSet;
+ }
}
}