private List<YParameter> getInputParams(String specId) { connect(); List<SpecificationData> loadedSpecs = new ArrayList(); try { loadedSpecs = _ibClient.getSpecificationList(_handle); } catch (IOException ioe) { } for (SpecificationData thisSpec : loadedSpecs) { if (specId.equals(thisSpec.getSpecIdentifier())) { return thisSpec.getInputParams(); } } return null; }
private boolean isUploaded(String adviceID) throws IOException { connect(); if (adviceID == null) { return false; } List<SpecificationData> _loadedSpecs = new ArrayList(); _loadedSpecs = _ibClient.getSpecificationList(_handle); for (SpecificationData onespec : _loadedSpecs) { if (adviceID.equals(onespec.getSpecIdentifier())) { return true; } } return false; }