@Test public void testGetAllSender() { assertEquals(2, service.getAllSender().size()); service.data = null; assertEquals(Collections.emptyList(), service.getAllSender()); }
protected List<Sender> getAllSender() { if (data == null) { return Collections.emptyList(); } List<Sender> copy = new ArrayList<>(); data.forEach(s -> copy.add(new Sender(s))); return copy; }
SenderService implements XPALProvider { protected List<Sender> getAllSender() { if (data == null) { return Collections.emptyList(); } List<Sender> copy = new ArrayList<>(); data.forEach(s -> copy.add(new Sender(s))); return copy; } }
SenderService implements XPALProvider { protected List<Sender> getAllSender() { if (data == null) { return Collections.emptyList(); } List<Sender> copy = new ArrayList<>(); data.forEach(s -> copy.add(new Sender(s))); return copy; } SenderService(Datasource mainDatasource, ColumnTransformer columnTransformer,
      SenderCache cache, String overrideFragDbSpalte); }
SenderService implements XPALProvider { protected List<Sender> getAllSender() { if (data == null) { return Collections.emptyList(); } List<Sender> copy = new ArrayList<>(); data.forEach(s -> copy.add(new Sender(s))); return copy; } 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 { protected List<Sender> getAllSender() { if (data == null) { return Collections.emptyList(); } List<Sender> copy = new ArrayList<>(); data.forEach(s -> copy.add(new Sender(s))); return copy; } 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; }