Commit fa934e09c91e79942f0e135651cdf93d983aa334

Authored by Nathanael Jourdane
1 parent bfe5db3a
Exists in master

Add the epntap facade.

src/main/java/eu/omp/irap/vespa/epntapclient/lib/EpnTapFacade.java 0 → 100644
@@ -0,0 +1,144 @@ @@ -0,0 +1,144 @@
  1 +/*
  2 + * This file is a part of EpnTAPClient.
  3 + * This program aims to provide EPN-TAP support for software clients, like CASSIS spectrum analyzer.
  4 + * See draft specifications: https://voparis-confluence.obspm.fr/pages/viewpage.action?pageId=559861
  5 + * Copyright (C) 2016 Institut de Recherche en Astrophysique et Planétologie.
  6 + *
  7 + * This program is free software: you can
  8 + * redistribute it and/or modify it under the terms of the GNU General Public License as published
  9 + * by the Free Software Foundation, either version 3 of the License, or (at your option) any later
  10 + * version. This program is distributed in the hope that it will be useful, but WITHOUT ANY
  11 + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  12 + * PURPOSE. See the GNU General Public License for more details. You should have received a copy of
  13 + * the GNU General Public License along with this program. If not, see
  14 + * <http://www.gnu.org/licenses/>.
  15 + */
  16 +
  17 +package eu.omp.irap.vespa.epntapclient.lib;
  18 +
  19 +import java.util.List;
  20 +import java.util.logging.Logger;
  21 +
  22 +import eu.omp.irap.vespa.epntapclient.voresource.model.Resource;
  23 +
  24 +/**
  25 + * @author N. Jourdane
  26 + */
  27 +public class EpnTapFacade implements EpnTapInterface {
  28 +
  29 + /** The logger for the class EpnTapFacade. */
  30 + private static final Logger logger = Logger.getLogger(EpnTapFacade.class.getName());
  31 +
  32 +
  33 + /* @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getEPNVOResources() */
  34 + @Override
  35 + public List<Resource> getEPNVOResources() {
  36 + return null;
  37 + // TODO Auto-generated method stub
  38 + }
  39 +
  40 + /*
  41 + * @see
  42 + * eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getEPNVOResources(java.util.List)
  43 + */
  44 + @Override
  45 + public List<Resource> getEPNVOResources(List<String> keywords) {
  46 + return null;
  47 + // TODO Auto-generated method stub
  48 +
  49 + }
  50 +
  51 + /*
  52 + * @see
  53 + * eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getEPNVOresource(java.lang.String)
  54 + */
  55 + @Override
  56 + public Resource getEPNVOresource(String ivoid) {
  57 + return null;
  58 + // TODO Auto-generated method stub
  59 +
  60 + }
  61 +
  62 + /* @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getEPNServices() */
  63 + @Override
  64 + public void getEPNServices() {
  65 + // TODO Auto-generated method stub
  66 +
  67 + }
  68 +
  69 + /*
  70 + * @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getEPNServices(java.util.List)
  71 + */
  72 + @Override
  73 + public void getEPNServices(List<String> attributes) {
  74 + // TODO Auto-generated method stub
  75 +
  76 + }
  77 +
  78 + /*
  79 + * @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getEPNServices(java.util.List,
  80 + * java.util.List)
  81 + */
  82 + @Override
  83 + public void getEPNServices(List<String> keywords, List<String> attributes) {
  84 + // TODO Auto-generated method stub
  85 +
  86 + }
  87 +
  88 + /*
  89 + * @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getEPNService(java.lang.String)
  90 + */
  91 + @Override
  92 + public void getEPNService(String ivoID) {
  93 + // TODO Auto-generated method stub
  94 +
  95 + }
  96 +
  97 + /*
  98 + * @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getEPNService(java.lang.String,
  99 + * java.util.List)
  100 + */
  101 + @Override
  102 + public void getEPNService(String ivoID, List<String> attributes) {
  103 + // TODO Auto-generated method stub
  104 +
  105 + }
  106 +
  107 + /*
  108 + * @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getEPNCoreTableName(java.lang.
  109 + * String)
  110 + */
  111 + @Override
  112 + public void getEPNCoreTableName(String service_ivoid) {
  113 + // TODO Auto-generated method stub
  114 +
  115 + }
  116 +
  117 + /* @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#getTAPURL(java.lang.String) */
  118 + @Override
  119 + public void getTAPURL(String service_ivoid) {
  120 + // TODO Auto-generated method stub
  121 +
  122 + }
  123 +
  124 + /*
  125 + * @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#sendADQLQuery(java.lang.String,
  126 + * java.lang.String)
  127 + */
  128 + @Override
  129 + public void sendADQLQuery(String TAPURL, String ADQLQuery) {
  130 + // TODO Auto-generated method stub
  131 +
  132 + }
  133 +
  134 + /*
  135 + * @see eu.omp.irap.vespa.epntapclient.epnTapLib.EpnTapInterface#sendQuery(java.lang.String,
  136 + * java.lang.String, java.lang.String)
  137 + */
  138 + @Override
  139 + public void sendQuery(String TAPURL, String schema_name, String Query) {
  140 + // TODO Auto-generated method stub
  141 +
  142 + }
  143 +
  144 +}