private void open() { clear(); LocationLiteVoCollection locColl = domain.getLocations(); DefaultEDLocationDeptTypeVoCollection defedlocColl = domain.getDefaultEDLocationDeptTypes(); EmergencyDeptTypeCollection lkpEmergencyDeptTypeCollection = getDefaultDeptType(); if( locColl != null && locColl.size() > 0 ) { for( LocationLiteVo locVo : locColl) { if( locVo != null ) { addRow(locVo,defedlocColl,lkpEmergencyDeptTypeCollection); } } } form.setMode(FormMode.VIEW); }
private EmergencyDeptTypeCollection getDefaultDeptType() { EmergencyDeptTypeCollection lkpEmergencyDeptTypeCollection = LookupHelper.getEmergencyDeptType(domain.getLookupService()); return lkpEmergencyDeptTypeCollection; }