@Override public List<WorkspaceInfo> getWorkspaces() { return facade.getWorkspaces(); }
public List<WorkspaceInfo> getWorkspaces() { return facade.getWorkspaces(); }
List<WorkspaceInfo> workspaces = facade.getWorkspaces();
/** Returns a sorted list of workspace names */ protected List<String> getWorkspaceNames() { SortedSet<String> resultSet = new TreeSet<String>(); for (WorkspaceInfo ws : getCatalog().getFacade().getWorkspaces()) { resultSet.add(ws.getName()); } return new ArrayList<String>(resultSet); }
protected List<String> getWorkspaceNames() { SortedSet<String> resultSet = new TreeSet<String>(); for (WorkspaceInfo ws : getCatalog().getFacade().getWorkspaces()) { resultSet.add(ws.getName()); } return new ArrayList<>(resultSet); }