/** * Get the DataResult list of com.redhat.rhn.frontend.dto.ProfileDto that are compatible with the * BaseChannel for the selected KickstartData object. * * @return DataResult list */ public List<ProfileDto> getProfiles() { if (!isCobblerOnly()) { List<ProfileDto> profiles = ProfileManager.compatibleWithChannel( this.ksdata.getKickstartDefaults().getKstree().getChannel(), user.getOrg(), null); return profiles; } return Collections.EMPTY_LIST; }