Campaign.class, Integer.parseInt(id));
final HashMap<String, ? super Object> data1 = new HashMap<String, Object>();
data1.put(header[0], campaign.getId());
data1.put(header[1],
CommonUtil.fromNullToEmpty(campaign.getName()));
CampaignStatus campaignStatus = campaign.getStatus();
if (campaignStatus != null) {
data1.put(header[2], campaignStatus.getId());
} else {
data1.put(header[2], "");
}
data1.put(header[3],
CommonUtil.getOptionLabel(campaignStatus));