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 @SuppressWarnings("unchecked")
64 public static java.util.List dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.kernel.exception.SystemException {
67 return getService().dynamicQuery(dynamicQuery);
68 }
69
70 @SuppressWarnings("unchecked")
71 public static java.util.List dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.kernel.exception.SystemException {
74 return getService().dynamicQuery(dynamicQuery, start, end);
75 }
76
77 @SuppressWarnings("unchecked")
78 public static java.util.List dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.kernel.exception.SystemException {
83 return getService()
84 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
85 }
86
87 public static long dynamicQueryCount(
88 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return getService().dynamicQueryCount(dynamicQuery);
91 }
92
93 public static com.liferay.portlet.asset.model.AssetTagProperty getAssetTagProperty(
94 long tagPropertyId)
95 throws com.liferay.portal.kernel.exception.PortalException,
96 com.liferay.portal.kernel.exception.SystemException {
97 return getService().getAssetTagProperty(tagPropertyId);
98 }
99
100 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getAssetTagProperties(
101 int start, int end)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return getService().getAssetTagProperties(start, end);
104 }
105
106 public static int getAssetTagPropertiesCount()
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return getService().getAssetTagPropertiesCount();
109 }
110
111 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
112 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return getService().updateAssetTagProperty(assetTagProperty);
115 }
116
117 public static com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
118 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
119 boolean merge)
120 throws com.liferay.portal.kernel.exception.SystemException {
121 return getService().updateAssetTagProperty(assetTagProperty, merge);
122 }
123
124 public static com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(
125 long userId, long tagId, java.lang.String key, java.lang.String value)
126 throws com.liferay.portal.kernel.exception.PortalException,
127 com.liferay.portal.kernel.exception.SystemException {
128 return getService().addTagProperty(userId, tagId, key, value);
129 }
130
131 public static void deleteTagProperties(long tagId)
132 throws com.liferay.portal.kernel.exception.SystemException {
133 getService().deleteTagProperties(tagId);
134 }
135
136 public static void deleteTagProperty(
137 com.liferay.portlet.asset.model.AssetTagProperty tagProperty)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 getService().deleteTagProperty(tagProperty);
140 }
141
142 public static void deleteTagProperty(long tagPropertyId)
143 throws com.liferay.portal.kernel.exception.PortalException,
144 com.liferay.portal.kernel.exception.SystemException {
145 getService().deleteTagProperty(tagPropertyId);
146 }
147
148 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties()
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return getService().getTagProperties();
151 }
152
153 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(
154 long tagId) throws com.liferay.portal.kernel.exception.SystemException {
155 return getService().getTagProperties(tagId);
156 }
157
158 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
159 long tagPropertyId)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException {
162 return getService().getTagProperty(tagPropertyId);
163 }
164
165 public static com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
166 long tagId, java.lang.String key)
167 throws com.liferay.portal.kernel.exception.PortalException,
168 com.liferay.portal.kernel.exception.SystemException {
169 return getService().getTagProperty(tagId, key);
170 }
171
172 public static java.lang.String[] getTagPropertyKeys(long groupId)
173 throws com.liferay.portal.kernel.exception.SystemException {
174 return getService().getTagPropertyKeys(groupId);
175 }
176
177 public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(
178 long groupId, java.lang.String key)
179 throws com.liferay.portal.kernel.exception.SystemException {
180 return getService().getTagPropertyValues(groupId, key);
181 }
182
183 public static com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(
184 long tagPropertyId, java.lang.String key, java.lang.String value)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return getService().updateTagProperty(tagPropertyId, key, value);
188 }
189
190 public static AssetTagPropertyLocalService getService() {
191 if (_service == null) {
192 _service = (AssetTagPropertyLocalService)PortalBeanLocatorUtil.locate(AssetTagPropertyLocalService.class.getName());
193 }
194
195 return _service;
196 }
197
198 public void setService(AssetTagPropertyLocalService service) {
199 _service = service;
200 }
201
202 private static AssetTagPropertyLocalService _service;
203 }