public void open() { VitalSignMonitoringGroupVoCollection vsColl = new VitalSignMonitoringGroupVoCollection(); try { vsColl = domain.listVitalSignMonitoringGroups(); } catch (DomainInterfaceException e) { e.printStackTrace(); } setInstanceHeader(vsColl); form.txtName().setEnabled(false); }
private void loadGroupings() { VitalSignMonitoringGroupVoCollection coll = new VitalSignMonitoringGroupVoCollection(); VitalSignMonitoringGroupVo item = null; try { coll = domain.listVitalSignsMonitoringGroups(); } catch (DomainInterfaceException e) { e.printStackTrace(); } if (coll != null) { form.ctn().cmbObservation().clear(); for (int i = 0; i < coll.size(); i++) { item = coll.get(i); if(item.getIsActive() != null && item.getIsActive().equals(Boolean.TRUE)) //wdev-12484 form.ctn().cmbObservation().newRow(item, item.getGroupName()); } } }
private void setInstanceHeader(VitalSignMonitoringGroupVoCollection vsColl) { clearInstanceControls(); if (vsColl == null) return; form.grdVSGroups().getRows().clear(); grdVSGroupsRow row = null; for (int i=0; i < vsColl.size(); i++) { row = form.grdVSGroups().getRows().newRow(); row.setColGroupName(vsColl.get(i).getGroupName()); row.setValue(vsColl.get(i)); if (vsColl.get(i).getIsActive() != null) row.setColStatus(vsColl.get(i).getIsActive().booleanValue()); } //WDEV-14782 if (form.getLocalContext().getVitalSignsGroupingIsNotNull()) { form.grdVSGroups().setValue(form.getLocalContext().getVitalSignsGrouping()); setViewInstanceDetails(form.grdVSGroups().getValue()); } updateContextMenu(); }
public VitalSignMonitoringGroupVoCollection listVitalSignMonitoringGroups() throws DomainInterfaceException { DomainFactory factory = getDomainFactory(); List vsMonitoringGroupsList = factory.find(" from VitalSignMonitoringGroup"); return VitalSignMonitoringGroupVoAssembler.createVitalSignMonitoringGroupVoCollectionFromVitalSignMonitoringGroup(vsMonitoringGroupsList); }
public VitalSignMonitoringGroupVoCollection listVitalSignMonitoringGroups() throws DomainInterfaceException { VitalSignsGroupings domVSGroupings = (VitalSignsGroupings)getDomainImpl(VitalSignsGroupingsImpl.class); return domVSGroupings.listVitalSignMonitoringGroups(); }
public VitalSignMonitoringGroupVoCollection listVitalSignsMonitoringGroups() throws DomainInterfaceException { VitalSignsGroupings domVSGroupings = (VitalSignsGroupings)getDomainImpl(VitalSignsGroupingsImpl.class); return domVSGroupings.listVitalSignMonitoringGroups(); }