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-4061 JAL-4062 button in Find dialog to copy highlighted regions to clipboard
[jalview.git]
/
src
/
jalview
/
fts
/
api
/
FTSRestClientI.java
diff --git
a/src/jalview/fts/api/FTSRestClientI.java
b/src/jalview/fts/api/FTSRestClientI.java
index
2266ca0
..
13e73ef
100644
(file)
--- a/
src/jalview/fts/api/FTSRestClientI.java
+++ b/
src/jalview/fts/api/FTSRestClientI.java
@@
-22,6
+22,7
@@
package jalview.fts.api;
import jalview.fts.api.FTSDataColumnI.FTSDataColumnGroupI;
package jalview.fts.api;
import jalview.fts.api.FTSDataColumnI.FTSDataColumnGroupI;
+import jalview.fts.core.FTSDataColumnPreferences.PreferenceSource;
import jalview.fts.core.FTSRestRequest;
import jalview.fts.core.FTSRestResponse;
import jalview.fts.core.FTSRestRequest;
import jalview.fts.core.FTSRestResponse;
@@
-74,7
+75,6
@@
public interface FTSRestClientI
public FTSDataColumnI getDataColumnByNameOrCode(String nameOrCode)
throws Exception;
public FTSDataColumnI getDataColumnByNameOrCode(String nameOrCode)
throws Exception;
-
/**
* Convert collection of FTSDataColumnI objects to a comma delimited string of
* the 'code' values
/**
* Convert collection of FTSDataColumnI objects to a comma delimited string of
* the 'code' values
@@
-87,9
+87,9
@@
public interface FTSRestClientI
public String getDataColumnsFieldsAsCommaDelimitedString(
Collection<FTSDataColumnI> wantedFields);
public String getDataColumnsFieldsAsCommaDelimitedString(
Collection<FTSDataColumnI> wantedFields);
-
/**
/**
- * Fetch index of the primary key column for the dynamic table
+ * Fetch index of the primary key column for the dynamic table TODO: consider
+ * removing 'hasRefSeq' - never used in code
*
* @param wantedFields
* the available table columns
*
* @param wantedFields
* the available table columns
@@
-102,7
+102,7
@@
public interface FTSRestClientI
public int getPrimaryKeyColumIndex(
Collection<FTSDataColumnI> wantedFields, boolean hasRefSeq)
throws Exception;
public int getPrimaryKeyColumIndex(
Collection<FTSDataColumnI> wantedFields, boolean hasRefSeq)
throws Exception;
-
+
/**
* Fetch the primary key data column object
*
/**
* Fetch the primary key data column object
*
@@
-115,7
+115,7
@@
public interface FTSRestClientI
*
* @return list of columns to display by default
*/
*
* @return list of columns to display by default
*/
- public Collection<FTSDataColumnI> getAllDefaulDisplayedDataColumns();
+ public Collection<FTSDataColumnI> getAllDefaultDisplayedFTSDataColumns();
/**
* Return list of FTSDataColumnI objects that can be used to perform a search
/**
* Return list of FTSDataColumnI objects that can be used to perform a search
@@
-138,5
+138,6
@@
public interface FTSRestClientI
* @return the default response page size
*/
public int getDefaultResponsePageSize();
* @return the default response page size
*/
public int getDefaultResponsePageSize();
-}
+ public String[] getPreferencesColumnsFor(PreferenceSource source);
+}