1
14
15 package com.liferay.portlet.asset.model.impl;
16
17 import com.liferay.portal.kernel.exception.SystemException;
18 import com.liferay.portlet.asset.model.AssetCategory;
19 import com.liferay.portlet.asset.model.AssetEntry;
20 import com.liferay.portlet.asset.model.AssetTag;
21 import com.liferay.portlet.asset.service.AssetCategoryLocalServiceUtil;
22 import com.liferay.portlet.asset.service.AssetTagLocalServiceUtil;
23
24 import java.util.List;
25
26
31 public class AssetEntryImpl extends AssetEntryModelImpl implements AssetEntry {
32
33 public AssetEntryImpl() {
34 }
35
36 public List<AssetCategory> getCategories() throws SystemException {
37 return AssetCategoryLocalServiceUtil.getEntryCategories(getEntryId());
38 }
39
40 public List<AssetTag> getTags() throws SystemException {
41 return AssetTagLocalServiceUtil.getEntryTags(getEntryId());
42 }
43
44 }