1
14
15 package com.liferay.portlet.asset.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class AssetTagPropertyLocalServiceUtil {
40 public static com.liferay.portlet.asset.model.AssetTagProperty addAssetTagProperty(
41 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return getService().addAssetTagProperty(assetTagProperty);
44 }
45
46 public static com.liferay.portlet.asset.model.AssetTagProperty createAssetTagProperty(
47 long tagPropertyId) {
48 return getService().createAssetTagProperty(tagPropertyId);
49 }
50
51 public static void deleteAssetTagProperty(long tagPropertyId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 getService().deleteAssetTagProperty(tagPropertyId);
55 }
56
57 public static void deleteAssetTagProperty(
58 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 getService().deleteAssetTagProperty(assetTagProperty);
61 }
62
63 public static java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return getService().dynamicQuery(dynamicQuery);
67 }
68
69 public static java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException {
72 return getService().dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public static com.liferay.portlet.asset.model.AssetTagProperty getAssetTagProperty(
76 long tagPropertyId)
77 throws com.liferay.portal.kernel.exception.PortalException,
78 com.liferay.portal.kernel.exception.SystemException {
79 return getService().getAssetTagProperty(tagPropertyId);
80 }
81
82 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getAssetTagProperties(
83 int start, int end)
84 throws com.liferay.portal.kernel.exception.SystemException {
85 return getService().getAssetTagProperties(start, end);
86 }
87
88 public static int getAssetTagPropertiesCount()
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return getService().getAssetTagPropertiesCount();
91 }
92
93 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
94 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
95 throws com.liferay.portal.kernel.exception.SystemException {
96 return getService().updateAssetTagProperty(assetTagProperty);
97 }
98
99 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
100 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
101 boolean merge)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return getService().updateAssetTagProperty(assetTagProperty, merge);
104 }
105
106 public static com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(
107 long userId, long tagId, java.lang.String key, java.lang.String value)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException {
110 return getService().addTagProperty(userId, tagId, key, value);
111 }
112
113 public static void deleteTagProperties(long tagId)
114 throws com.liferay.portal.kernel.exception.SystemException {
115 getService().deleteTagProperties(tagId);
116 }
117
118 public static void deleteTagProperty(
119 com.liferay.portlet.asset.model.AssetTagProperty tagProperty)
120 throws com.liferay.portal.kernel.exception.SystemException {
121 getService().deleteTagProperty(tagProperty);
122 }
123
124 public static void deleteTagProperty(long tagPropertyId)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException {
127 getService().deleteTagProperty(tagPropertyId);
128 }
129
130 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties()
131 throws com.liferay.portal.kernel.exception.SystemException {
132 return getService().getTagProperties();
133 }
134
135 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(
136 long tagId) throws com.liferay.portal.kernel.exception.SystemException {
137 return getService().getTagProperties(tagId);
138 }
139
140 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
141 long tagPropertyId)
142 throws com.liferay.portal.kernel.exception.PortalException,
143 com.liferay.portal.kernel.exception.SystemException {
144 return getService().getTagProperty(tagPropertyId);
145 }
146
147 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
148 long tagId, java.lang.String key)
149 throws com.liferay.portal.kernel.exception.PortalException,
150 com.liferay.portal.kernel.exception.SystemException {
151 return getService().getTagProperty(tagId, key);
152 }
153
154 public static java.lang.String[] getTagPropertyKeys(long groupId)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return getService().getTagPropertyKeys(groupId);
157 }
158
159 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(
160 long groupId, java.lang.String key)
161 throws com.liferay.portal.kernel.exception.SystemException {
162 return getService().getTagPropertyValues(groupId, key);
163 }
164
165 public static com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(
166 long tagPropertyId, java.lang.String key, java.lang.String value)
167 throws com.liferay.portal.kernel.exception.PortalException,
168 com.liferay.portal.kernel.exception.SystemException {
169 return getService().updateTagProperty(tagPropertyId, key, value);
170 }
171
172 public static AssetTagPropertyLocalService getService() {
173 if (_service == null) {
174 _service = (AssetTagPropertyLocalService)PortalBeanLocatorUtil.locate(AssetTagPropertyLocalService.class.getName());
175 }
176
177 return _service;
178 }
179
180 public void setService(AssetTagPropertyLocalService service) {
181 _service = service;
182 }
183
184 private static AssetTagPropertyLocalService _service;
185 }