/** {@inheritDoc} */ public Category getContent(final long contentId, final long shopId) { if (contentId > 0L && shopService.getShopContentIds(shopId).contains(contentId)) { return contentService.getById(contentId); } return null; }
/** {@inheritDoc} */ public Category getContent(final long contentId, final long shopId) { if (contentId > 0L && shopService.getShopContentIds(shopId).contains(contentId)) { return contentService.getById(contentId); } return null; }