@Test public void testNewSender() { Sender s = service.createNewSender(); assertFalse(service.data.contains(s)); assertEquals(Map.of("column", "column", "column2", "column2"), s.overridenValues); }
public Sender createNewSender() { Map<String, String> dsoverride = new HashMap<>(); for (String column : getSchema()) { dsoverride.put(column, column); } return new Sender(dsoverride); }
SenderService implements XPALProvider { public Sender createNewSender() { Map<String, String> dsoverride = new HashMap<>(); for (String column : getSchema()) { dsoverride.put(column, column); } return new Sender(dsoverride); } }
SenderService implements XPALProvider { public Sender createNewSender() { Map<String, String> dsoverride = new HashMap<>(); for (String column : getSchema()) { dsoverride.put(column, column); } return new Sender(dsoverride); } SenderService(Datasource mainDatasource, ColumnTransformer columnTransformer,
      SenderCache cache, String overrideFragDbSpalte); }
SenderService implements XPALProvider { public Sender createNewSender() { Map<String, String> dsoverride = new HashMap<>(); for (String column : getSchema()) { dsoverride.put(column, column); } return new Sender(dsoverride); } SenderService(Datasource mainDatasource, ColumnTransformer columnTransformer,
      SenderCache cache, String overrideFragDbSpalte); static SenderService getInstance(); @SuppressWarnings("java:S2629") long searchDefaultSender(); @Override String getCurrentSender(); void addPALChangeEventListener(XPALChangeEventListener listener); void removePALChangeEventListener(XPALChangeEventListener listener); @Override String[] getPALEntries(); void selectSender(String senderName, int idx); Map<String, String> getCurrentSenderValues(); String getCurrentSenderValue(String column); ConfigThingy getCurrentOverrideFragMap(); void showManageSenderListDialog(); void select(Sender sender); Sender createNewSender(); List<Sender> getSenderListSorted(String column); List<String> getSchema(); CompletableFuture<List<Sender>> find(Map<String, String> searchQuery); }
SenderService implements XPALProvider { public Sender createNewSender() { Map<String, String> dsoverride = new HashMap<>(); for (String column : getSchema()) { dsoverride.put(column, column); } return new Sender(dsoverride); } SenderService(Datasource mainDatasource, ColumnTransformer columnTransformer,
      SenderCache cache, String overrideFragDbSpalte); static SenderService getInstance(); @SuppressWarnings("java:S2629") long searchDefaultSender(); @Override String getCurrentSender(); void addPALChangeEventListener(XPALChangeEventListener listener); void removePALChangeEventListener(XPALChangeEventListener listener); @Override String[] getPALEntries(); void selectSender(String senderName, int idx); Map<String, String> getCurrentSenderValues(); String getCurrentSenderValue(String column); ConfigThingy getCurrentOverrideFragMap(); void showManageSenderListDialog(); void select(Sender sender); Sender createNewSender(); List<Sender> getSenderListSorted(String column); List<String> getSchema(); CompletableFuture<List<Sender>> find(Map<String, String> searchQuery); static final String OVERRIDE_FRAG_DB_SPALTE; static final String SENDER_KEY_SEPARATOR; }