X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Ffts%2Fapi%2FFTSRestClientI.java;fp=src%2Fjalview%2Ffts%2Fapi%2FFTSRestClientI.java;h=b7ce5dfcd34fa3e2e6427bfe4ccac61ccf3d0a0b;hb=64dd25185d2caf389946bb7e70053183d5aa31a6;hp=0000000000000000000000000000000000000000;hpb=39a3725d4d499eb0f1bd14e3c049cd954faddfdc;p=jalview.git diff --git a/src/jalview/fts/api/FTSRestClientI.java b/src/jalview/fts/api/FTSRestClientI.java new file mode 100644 index 0000000..b7ce5df --- /dev/null +++ b/src/jalview/fts/api/FTSRestClientI.java @@ -0,0 +1,34 @@ +package jalview.fts.api; + +import jalview.fts.core.FTSRestRequest; +import jalview.fts.core.FTSRestResponse; + +import java.util.Collection; + +public interface FTSRestClientI +{ + + public FTSRestResponse executeRequest(FTSRestRequest pdbRestRequest) + throws Exception; + + public String getColumnDataConfigFile(); + + public FTSDataColumnGroupI getDataColumnGroupById(String id) + throws Exception; + + public FTSDataColumnI getDataColumnByNameOrCode(String nameOrCode) + throws Exception; + + public int getPrimaryKeyColumIndex( + Collection wantedFields, boolean hasRefSeq) + throws Exception; + + public FTSDataColumnI getPrimaryKeyColumn(); + + public Collection getAllDefaulDisplayedDataColumns(); + + public Collection getSearchableDataColumns(); + + public Collection getAllFTSDataColumns(); +} +