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;
public FTSDataColumnI getDataColumnByNameOrCode(String nameOrCode)
throws Exception;
-
/**
* Convert collection of FTSDataColumnI objects to a comma delimited string of
* the 'code' values
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
public int getPrimaryKeyColumIndex(
Collection<FTSDataColumnI> wantedFields, boolean hasRefSeq)
throws Exception;
-
+
/**
* Fetch the primary key data column object
*
*
* @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 the default response page size
*/
public int getDefaultResponsePageSize();
-}
+ public String[] getPreferencesColumnsFor(PreferenceSource source);
+}