use of org.broadleafcommerce.cms.page.domain.PageField in project BroadleafCommerce by BroadleafCommerce.
the class PageServiceImpl method findPageFieldMapByPageId.
/*
* Returns the page with the passed in id.
*/
@Override
public Map<String, PageField> findPageFieldMapByPageId(Long pageId) {
Map<String, PageField> returnMap = new HashMap<>();
List<PageField> pageFields = pageDao.readPageFieldsByPageId(pageId);
for (PageField pf : pageFields) {
returnMap.put(pf.getFieldKey(), pf);
}
return returnMap;
}
Aggregations