001
014
015 package com.liferay.portlet.asset.service;
016
017
026 public class AssetEntryLocalServiceWrapper implements AssetEntryLocalService {
027 public AssetEntryLocalServiceWrapper(
028 AssetEntryLocalService assetEntryLocalService) {
029 _assetEntryLocalService = assetEntryLocalService;
030 }
031
032
039 public com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
040 com.liferay.portlet.asset.model.AssetEntry assetEntry)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _assetEntryLocalService.addAssetEntry(assetEntry);
043 }
044
045
051 public com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
052 long entryId) {
053 return _assetEntryLocalService.createAssetEntry(entryId);
054 }
055
056
063 public void deleteAssetEntry(long entryId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _assetEntryLocalService.deleteAssetEntry(entryId);
067 }
068
069
075 public void deleteAssetEntry(
076 com.liferay.portlet.asset.model.AssetEntry assetEntry)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _assetEntryLocalService.deleteAssetEntry(assetEntry);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _assetEntryLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _assetEntryLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
161 long entryId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _assetEntryLocalService.getAssetEntry(entryId);
165 }
166
167
179 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
180 int start, int end)
181 throws com.liferay.portal.kernel.exception.SystemException {
182 return _assetEntryLocalService.getAssetEntries(start, end);
183 }
184
185
191 public int getAssetEntriesCount()
192 throws com.liferay.portal.kernel.exception.SystemException {
193 return _assetEntryLocalService.getAssetEntriesCount();
194 }
195
196
203 public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
204 com.liferay.portlet.asset.model.AssetEntry assetEntry)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _assetEntryLocalService.updateAssetEntry(assetEntry);
207 }
208
209
217 public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
218 com.liferay.portlet.asset.model.AssetEntry assetEntry, boolean merge)
219 throws com.liferay.portal.kernel.exception.SystemException {
220 return _assetEntryLocalService.updateAssetEntry(assetEntry, merge);
221 }
222
223 public void deleteEntry(com.liferay.portlet.asset.model.AssetEntry entry)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 _assetEntryLocalService.deleteEntry(entry);
227 }
228
229 public void deleteEntry(long entryId)
230 throws com.liferay.portal.kernel.exception.PortalException,
231 com.liferay.portal.kernel.exception.SystemException {
232 _assetEntryLocalService.deleteEntry(entryId);
233 }
234
235 public void deleteEntry(java.lang.String className, long classPK)
236 throws com.liferay.portal.kernel.exception.PortalException,
237 com.liferay.portal.kernel.exception.SystemException {
238 _assetEntryLocalService.deleteEntry(className, classPK);
239 }
240
241 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
242 long entryId)
243 throws com.liferay.portal.kernel.exception.PortalException,
244 com.liferay.portal.kernel.exception.SystemException {
245 return _assetEntryLocalService.getAncestorEntries(entryId);
246 }
247
248 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
249 long entryId)
250 throws com.liferay.portal.kernel.exception.PortalException,
251 com.liferay.portal.kernel.exception.SystemException {
252 return _assetEntryLocalService.getChildEntries(entryId);
253 }
254
255 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
256 long companyId, int start, int end)
257 throws com.liferay.portal.kernel.exception.SystemException {
258 return _assetEntryLocalService.getCompanyEntries(companyId, start, end);
259 }
260
261 public int getCompanyEntriesCount(long companyId)
262 throws com.liferay.portal.kernel.exception.SystemException {
263 return _assetEntryLocalService.getCompanyEntriesCount(companyId);
264 }
265
266 public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
267 long companyId, int start, int end, java.lang.String languageId)
268 throws com.liferay.portal.kernel.exception.SystemException {
269 return _assetEntryLocalService.getCompanyEntryDisplays(companyId,
270 start, end, languageId);
271 }
272
273 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
274 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 return _assetEntryLocalService.getEntries(entryQuery);
277 }
278
279 public int getEntriesCount(
280 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
281 throws com.liferay.portal.kernel.exception.SystemException {
282 return _assetEntryLocalService.getEntriesCount(entryQuery);
283 }
284
285 public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 return _assetEntryLocalService.getEntry(entryId);
289 }
290
291 public com.liferay.portlet.asset.model.AssetEntry getEntry(long groupId,
292 java.lang.String classUuid)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 return _assetEntryLocalService.getEntry(groupId, classUuid);
296 }
297
298 public com.liferay.portlet.asset.model.AssetEntry getEntry(
299 java.lang.String className, long classPK)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 return _assetEntryLocalService.getEntry(className, classPK);
303 }
304
305 public com.liferay.portlet.asset.model.AssetEntry getNextEntry(long entryId)
306 throws com.liferay.portal.kernel.exception.PortalException,
307 com.liferay.portal.kernel.exception.SystemException {
308 return _assetEntryLocalService.getNextEntry(entryId);
309 }
310
311 public com.liferay.portlet.asset.model.AssetEntry getParentEntry(
312 long entryId)
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException {
315 return _assetEntryLocalService.getParentEntry(entryId);
316 }
317
318 public com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
319 long entryId)
320 throws com.liferay.portal.kernel.exception.PortalException,
321 com.liferay.portal.kernel.exception.SystemException {
322 return _assetEntryLocalService.getPreviousEntry(entryId);
323 }
324
325 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
326 java.lang.String className, boolean asc, int start, int end)
327 throws com.liferay.portal.kernel.exception.SystemException {
328 return _assetEntryLocalService.getTopViewedEntries(className, asc,
329 start, end);
330 }
331
332 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
333 java.lang.String[] className, boolean asc, int start, int end)
334 throws com.liferay.portal.kernel.exception.SystemException {
335 return _assetEntryLocalService.getTopViewedEntries(className, asc,
336 start, end);
337 }
338
339 public void incrementViewCounter(long userId, java.lang.String className,
340 long classPK)
341 throws com.liferay.portal.kernel.exception.PortalException,
342 com.liferay.portal.kernel.exception.SystemException {
343 _assetEntryLocalService.incrementViewCounter(userId, className, classPK);
344 }
345
346 public void incrementViewCounter(long userId, java.lang.String className,
347 long classPK, int increment)
348 throws com.liferay.portal.kernel.exception.PortalException,
349 com.liferay.portal.kernel.exception.SystemException {
350 _assetEntryLocalService.incrementViewCounter(userId, className,
351 classPK, increment);
352 }
353
354 public com.liferay.portal.kernel.search.Hits search(long companyId,
355 java.lang.String portletId, java.lang.String keywords, int start,
356 int end) throws com.liferay.portal.kernel.exception.SystemException {
357 return _assetEntryLocalService.search(companyId, portletId, keywords,
358 start, end);
359 }
360
361 public com.liferay.portal.kernel.search.Hits search(long companyId,
362 long[] groupIds, java.lang.String portletId, java.lang.String userName,
363 java.lang.String title, java.lang.String description,
364 java.lang.String assetCategoryIds, java.lang.String assetTagNames,
365 boolean andSearch, int start, int end)
366 throws com.liferay.portal.kernel.exception.SystemException {
367 return _assetEntryLocalService.search(companyId, groupIds, portletId,
368 userName, title, description, assetCategoryIds, assetTagNames,
369 andSearch, start, end);
370 }
371
372 public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
373 long companyId, java.lang.String portletId, java.lang.String keywords,
374 java.lang.String languageId, int start, int end)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return _assetEntryLocalService.searchEntryDisplays(companyId,
377 portletId, keywords, languageId, start, end);
378 }
379
380 public int searchEntryDisplaysCount(long companyId,
381 java.lang.String portletId, java.lang.String keywords,
382 java.lang.String languageId)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return _assetEntryLocalService.searchEntryDisplaysCount(companyId,
385 portletId, keywords, languageId);
386 }
387
388 public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
389 long groupId, java.lang.String className, long classPK,
390 long[] categoryIds, java.lang.String[] tagNames)
391 throws com.liferay.portal.kernel.exception.PortalException,
392 com.liferay.portal.kernel.exception.SystemException {
393 return _assetEntryLocalService.updateEntry(userId, groupId, className,
394 classPK, categoryIds, tagNames);
395 }
396
397 public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
398 long groupId, java.lang.String className, long classPK,
399 java.lang.String classUuid, long[] categoryIds,
400 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
401 java.util.Date endDate, java.util.Date publishDate,
402 java.util.Date expirationDate, java.lang.String mimeType,
403 java.lang.String title, java.lang.String description,
404 java.lang.String summary, java.lang.String url, int height, int width,
405 java.lang.Integer priority, boolean sync)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 return _assetEntryLocalService.updateEntry(userId, groupId, className,
409 classPK, classUuid, categoryIds, tagNames, visible, startDate,
410 endDate, publishDate, expirationDate, mimeType, title, description,
411 summary, url, height, width, priority, sync);
412 }
413
414 public com.liferay.portlet.asset.model.AssetEntry updateVisible(
415 java.lang.String className, long classPK, boolean visible)
416 throws com.liferay.portal.kernel.exception.PortalException,
417 com.liferay.portal.kernel.exception.SystemException {
418 return _assetEntryLocalService.updateVisible(className, classPK, visible);
419 }
420
421 public void validate(java.lang.String className, long[] categoryIds,
422 java.lang.String[] tagNames)
423 throws com.liferay.portal.kernel.exception.PortalException {
424 _assetEntryLocalService.validate(className, categoryIds, tagNames);
425 }
426
427 public AssetEntryLocalService getWrappedAssetEntryLocalService() {
428 return _assetEntryLocalService;
429 }
430
431 private AssetEntryLocalService _assetEntryLocalService;
432 }