1
22
23 package com.liferay.portlet.tags.service;
24
25
26
47 public class TagsAssetLocalServiceUtil {
48 public static com.liferay.portlet.tags.model.TagsAsset addTagsAsset(
49 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
50 throws com.liferay.portal.SystemException {
51 return _service.addTagsAsset(tagsAsset);
52 }
53
54 public static void deleteTagsAsset(long assetId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteTagsAsset(assetId);
58 }
59
60 public static void deleteTagsAsset(
61 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
62 throws com.liferay.portal.SystemException {
63 _service.deleteTagsAsset(tagsAsset);
64 }
65
66 public static java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException {
69 return _service.dynamicQuery(dynamicQuery);
70 }
71
72 public static java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException {
75 return _service.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 public static com.liferay.portlet.tags.model.TagsAsset getTagsAsset(
79 long assetId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getTagsAsset(assetId);
83 }
84
85 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getTagsAssets(start, end);
88 }
89
90 public static int getTagsAssetsCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getTagsAssetsCount();
93 }
94
95 public static com.liferay.portlet.tags.model.TagsAsset updateTagsAsset(
96 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
97 throws com.liferay.portal.SystemException {
98 return _service.updateTagsAsset(tagsAsset);
99 }
100
101 public static void deleteAsset(long assetId)
102 throws com.liferay.portal.PortalException,
103 com.liferay.portal.SystemException {
104 _service.deleteAsset(assetId);
105 }
106
107 public static void deleteAsset(java.lang.String className, long classPK)
108 throws com.liferay.portal.PortalException,
109 com.liferay.portal.SystemException {
110 _service.deleteAsset(className, classPK);
111 }
112
113 public static void deleteAsset(
114 com.liferay.portlet.tags.model.TagsAsset asset)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException {
117 _service.deleteAsset(asset);
118 }
119
120 public static com.liferay.portlet.tags.model.TagsAsset getAsset(
121 long assetId)
122 throws com.liferay.portal.PortalException,
123 com.liferay.portal.SystemException {
124 return _service.getAsset(assetId);
125 }
126
127 public static com.liferay.portlet.tags.model.TagsAsset getAsset(
128 java.lang.String className, long classPK)
129 throws com.liferay.portal.PortalException,
130 com.liferay.portal.SystemException {
131 return _service.getAsset(className, classPK);
132 }
133
134 public static com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
135 java.lang.String languageId) {
136 return _service.getAssetTypes(languageId);
137 }
138
139 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
140 long[] entryIds, long[] notEntryIds, boolean andOperator,
141 boolean excludeZeroViewCount, int start, int end)
142 throws com.liferay.portal.SystemException {
143 return _service.getAssets(entryIds, notEntryIds, andOperator,
144 excludeZeroViewCount, start, end);
145 }
146
147 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
148 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
149 boolean andOperator, boolean excludeZeroViewCount, int start, int end)
150 throws com.liferay.portal.SystemException {
151 return _service.getAssets(groupId, classNameIds, entryIds, notEntryIds,
152 andOperator, excludeZeroViewCount, start, end);
153 }
154
155 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
156 long[] entryIds, long[] notEntryIds, boolean andOperator,
157 boolean excludeZeroViewCount, java.util.Date publishDate,
158 java.util.Date expirationDate, int start, int end)
159 throws com.liferay.portal.SystemException {
160 return _service.getAssets(entryIds, notEntryIds, andOperator,
161 excludeZeroViewCount, publishDate, expirationDate, start, end);
162 }
163
164 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
165 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
166 boolean andOperator, boolean excludeZeroViewCount,
167 java.util.Date publishDate, java.util.Date expirationDate, int start,
168 int end) throws com.liferay.portal.SystemException {
169 return _service.getAssets(groupId, classNameIds, entryIds, notEntryIds,
170 andOperator, excludeZeroViewCount, publishDate, expirationDate,
171 start, end);
172 }
173
174 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
175 long[] entryIds, long[] notEntryIds, boolean andOperator,
176 java.lang.String orderByCol1, java.lang.String orderByCol2,
177 java.lang.String orderByType1, java.lang.String orderByType2,
178 boolean excludeZeroViewCount, java.util.Date publishDate,
179 java.util.Date expirationDate, int start, int end)
180 throws com.liferay.portal.SystemException {
181 return _service.getAssets(entryIds, notEntryIds, andOperator,
182 orderByCol1, orderByCol2, orderByType1, orderByType2,
183 excludeZeroViewCount, publishDate, expirationDate, start, end);
184 }
185
186 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
187 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
188 boolean andOperator, java.lang.String orderByCol1,
189 java.lang.String orderByCol2, java.lang.String orderByType1,
190 java.lang.String orderByType2, boolean excludeZeroViewCount,
191 java.util.Date publishDate, java.util.Date expirationDate, int start,
192 int end) throws com.liferay.portal.SystemException {
193 return _service.getAssets(groupId, classNameIds, entryIds, notEntryIds,
194 andOperator, orderByCol1, orderByCol2, orderByType1, orderByType2,
195 excludeZeroViewCount, publishDate, expirationDate, start, end);
196 }
197
198 public static int getAssetsCount(long[] entryIds, long[] notEntryIds,
199 boolean andOperator, boolean excludeZeroViewCount)
200 throws com.liferay.portal.SystemException {
201 return _service.getAssetsCount(entryIds, notEntryIds, andOperator,
202 excludeZeroViewCount);
203 }
204
205 public static int getAssetsCount(long groupId, long[] entryIds,
206 long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount)
207 throws com.liferay.portal.SystemException {
208 return _service.getAssetsCount(groupId, entryIds, notEntryIds,
209 andOperator, excludeZeroViewCount);
210 }
211
212 public static int getAssetsCount(long[] entryIds, long[] notEntryIds,
213 boolean andOperator, boolean excludeZeroViewCount,
214 java.util.Date publishDate, java.util.Date expirationDate)
215 throws com.liferay.portal.SystemException {
216 return _service.getAssetsCount(entryIds, notEntryIds, andOperator,
217 excludeZeroViewCount, publishDate, expirationDate);
218 }
219
220 public static int getAssetsCount(long groupId, long[] classNameIds,
221 long[] entryIds, long[] notEntryIds, boolean andOperator,
222 boolean excludeZeroViewCount, java.util.Date publishDate,
223 java.util.Date expirationDate)
224 throws com.liferay.portal.SystemException {
225 return _service.getAssetsCount(groupId, classNameIds, entryIds,
226 notEntryIds, andOperator, excludeZeroViewCount, publishDate,
227 expirationDate);
228 }
229
230 public static com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(
231 long companyId, int start, int end, java.lang.String languageId)
232 throws com.liferay.portal.SystemException {
233 return _service.getCompanyAssetDisplays(companyId, start, end,
234 languageId);
235 }
236
237 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(
238 long companyId, int start, int end)
239 throws com.liferay.portal.SystemException {
240 return _service.getCompanyAssets(companyId, start, end);
241 }
242
243 public static int getCompanyAssetsCount(long companyId)
244 throws com.liferay.portal.SystemException {
245 return _service.getCompanyAssetsCount(companyId);
246 }
247
248 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(
249 java.lang.String className, boolean asc, int start, int end)
250 throws com.liferay.portal.SystemException {
251 return _service.getTopViewedAssets(className, asc, start, end);
252 }
253
254 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(
255 java.lang.String[] className, boolean asc, int start, int end)
256 throws com.liferay.portal.SystemException {
257 return _service.getTopViewedAssets(className, asc, start, end);
258 }
259
260 public static com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(
261 java.lang.String className, long classPK)
262 throws com.liferay.portal.SystemException {
263 return _service.incrementViewCounter(className, classPK);
264 }
265
266 public static com.liferay.portal.kernel.search.Hits search(long companyId,
267 java.lang.String portletId, java.lang.String keywords, int start,
268 int end) throws com.liferay.portal.SystemException {
269 return _service.search(companyId, portletId, keywords, start, end);
270 }
271
272 public static com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(
273 long companyId, java.lang.String portletId, java.lang.String keywords,
274 java.lang.String languageId, int start, int end)
275 throws com.liferay.portal.SystemException {
276 return _service.searchAssetDisplays(companyId, portletId, keywords,
277 languageId, start, end);
278 }
279
280 public static int searchAssetDisplaysCount(long companyId,
281 java.lang.String portletId, java.lang.String keywords,
282 java.lang.String languageId) throws com.liferay.portal.SystemException {
283 return _service.searchAssetDisplaysCount(companyId, portletId,
284 keywords, languageId);
285 }
286
287 public static com.liferay.portlet.tags.model.TagsAsset updateAsset(
288 long userId, long groupId, java.lang.String className, long classPK,
289 java.lang.String[] entryNames)
290 throws com.liferay.portal.PortalException,
291 com.liferay.portal.SystemException {
292 return _service.updateAsset(userId, groupId, className, classPK,
293 entryNames);
294 }
295
296 public static com.liferay.portlet.tags.model.TagsAsset updateAsset(
297 long userId, long groupId, java.lang.String className, long classPK,
298 java.lang.String[] entryNames, java.util.Date startDate,
299 java.util.Date endDate, java.util.Date publishDate,
300 java.util.Date expirationDate, java.lang.String mimeType,
301 java.lang.String title, java.lang.String description,
302 java.lang.String summary, java.lang.String url, int height, int width,
303 java.lang.Integer priority)
304 throws com.liferay.portal.PortalException,
305 com.liferay.portal.SystemException {
306 return _service.updateAsset(userId, groupId, className, classPK,
307 entryNames, startDate, endDate, publishDate, expirationDate,
308 mimeType, title, description, summary, url, height, width, priority);
309 }
310
311 public static com.liferay.portlet.tags.model.TagsAsset updateAsset(
312 long userId, long groupId, java.lang.String className, long classPK,
313 java.lang.String[] entryNames, java.util.Date startDate,
314 java.util.Date endDate, java.util.Date publishDate,
315 java.util.Date expirationDate, java.lang.String mimeType,
316 java.lang.String title, java.lang.String description,
317 java.lang.String summary, java.lang.String url, int height, int width,
318 java.lang.Integer priority, boolean sync)
319 throws com.liferay.portal.PortalException,
320 com.liferay.portal.SystemException {
321 return _service.updateAsset(userId, groupId, className, classPK,
322 entryNames, startDate, endDate, publishDate, expirationDate,
323 mimeType, title, description, summary, url, height, width,
324 priority, sync);
325 }
326
327 public static void validate(java.lang.String className,
328 java.lang.String[] entryNames)
329 throws com.liferay.portal.PortalException {
330 _service.validate(className, entryNames);
331 }
332
333 public static TagsAssetLocalService getService() {
334 return _service;
335 }
336
337 public void setService(TagsAssetLocalService service) {
338 _service = service;
339 }
340
341 private static TagsAssetLocalService _service;
342 }