private void populateScreenFromData(DFTCollectionTypesConfigVo dftcol) { if( dftcol == null || !dftcol.getSiteCollectionTypeIsNotNull() || dftcol.getSiteCollectionType().size() < 1) return; for( int i = 0; i < form.grdSiteCollectionType().getRows().size();i++) { for(int j = 0 ;j < dftcol.getSiteCollectionType().size(); j++) { if( form.grdSiteCollectionType().getRows().get(i).getValue().equals(dftcol.getSiteCollectionType().get(j))) { grdSiteCollectionTypeRow row = form.grdSiteCollectionType().getRows().get(i); row.setColumnSelect(true); break; } } } }
public DFTCollectionTypesConfigVo getDFTCollectionTypes() { String query = " from DFTCollectionTypesConfig as dftConfig where (dftConfig.isRIE is null )"; return DFTCollectionTypesConfigVoAssembler.create((DFTCollectionTypesConfig) getDomainFactory().findFirst(query)); }