checkModifyPermission();
List<Language> languages = languageAdminModel.getList(new PageParam());
List<StockStatus> list = new ArrayList<StockStatus>();
for(Language language: languages){
StockStatus stockStatus = new StockStatus();
stockStatus.setLanguageId(language.getId());
stockStatus.setLanguageName(language.getName());
stockStatus.setLanguageImage(language.getImage());
list.add(stockStatus);
}
StockStatuses stockStatuses = new StockStatuses(list);
stockStatuses.setNewEntities(true);
model.addAttribute("stockStatuses", stockStatuses);