public List<AdminExporterDTO> getExporters(String type) {
List<AdminExporterDTO> result = new ArrayList<AdminExporterDTO>();
if (!CollectionUtils.isEmpty(getExporters())) {
for (AdminExporter exporter : getExporters()) {
if (type.equals(exporter.getType())) {
AdminExporterDTO dto = new AdminExporterDTO();
dto.setName(exporter.getName());
dto.setFriendlyName(exporter.getFriendlyName());
dto.setAdditionalCriteriaProperties(exporter.getCriteriaFields());
result.add(dto);
}
}
}