private OutboundTriggersVo populateDataFromScreen(grdProviderSystemRow row) { OutboundTriggersVo voTriggers = row.getValue(); if(voTriggers == null) voTriggers = new OutboundTriggersVo(); voTriggers.setProviderSystem(row.getValue().getProviderSystem()); voTriggers.setQueueType(new QueueTypeCollection()); for(int i=0;i<form.lyrHL7().tabOutboundControl().grdSelectQueueType().getRows().size();i++) { grdSelectQueueTypeRow rsRow = form.lyrHL7().tabOutboundControl().grdSelectQueueType().getRows().get(i); if(rsRow.getcolSelect()) voTriggers.getQueueType().add(rsRow.getQueueType()); } return voTriggers; }
private void loadQueueTypes() { form.lyrHL7().tabOutboundControl().grdSelectQueueType().getRows().clear(); QueueTypeCollection collQueueTypes = ims.core.vo.lookups.LookupHelper.getQueueType(domain.getLookupService()); for(int i=0;i<collQueueTypes.size(); i++) { grdSelectQueueTypeRow row = form.lyrHL7().tabOutboundControl().grdSelectQueueType().getRows().newRow(); row.setQueueType(collQueueTypes.get(i)); } }