@Test public void testGetPalEntries() { String[] pals = service.getPALEntries(); assertEquals(2, pals.length); assertEquals(", " + SenderService.SENDER_KEY_SEPARATOR + "ds", pals[0]); }
@Override public String[] getPALEntries() { List<Sender> pal = getSenderListSorted(Sender.NACHNAME); String[] elements = new String[pal.size()]; for (int i = 0; i < pal.size(); i++) { elements[i] = pal.get(i).getDisplayString() + SenderService.SENDER_KEY_SEPARATOR + pal.get(i).getKey(); } return elements; }
SenderService implements XPALProvider { @Override public String[] getPALEntries() { List<Sender> pal = getSenderListSorted(Sender.NACHNAME); String[] elements = new String[pal.size()]; for (int i = 0; i < pal.size(); i++) { elements[i] = pal.get(i).getDisplayString() + SenderService.SENDER_KEY_SEPARATOR + pal.get(i).getKey(); } return elements; } }
SenderService implements XPALProvider { @Override public String[] getPALEntries() { List<Sender> pal = getSenderListSorted(Sender.NACHNAME); String[] elements = new String[pal.size()]; for (int i = 0; i < pal.size(); i++) { elements[i] = pal.get(i).getDisplayString() + SenderService.SENDER_KEY_SEPARATOR + pal.get(i).getKey(); } return elements; } SenderService(Datasource mainDatasource, ColumnTransformer columnTransformer,
      SenderCache cache, String overrideFragDbSpalte); }
SenderService implements XPALProvider { @Override public String[] getPALEntries() { List<Sender> pal = getSenderListSorted(Sender.NACHNAME); String[] elements = new String[pal.size()]; for (int i = 0; i < pal.size(); i++) { elements[i] = pal.get(i).getDisplayString() + SenderService.SENDER_KEY_SEPARATOR + pal.get(i).getKey(); } return elements; } 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 { @Override public String[] getPALEntries() { List<Sender> pal = getSenderListSorted(Sender.NACHNAME); String[] elements = new String[pal.size()]; for (int i = 0; i < pal.size(); i++) { elements[i] = pal.get(i).getDisplayString() + SenderService.SENDER_KEY_SEPARATOR + pal.get(i).getKey(); } return elements; } 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; }