001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class AssetEntryLocalServiceWrapper implements AssetEntryLocalService,
029 ServiceWrapper<AssetEntryLocalService> {
030 public AssetEntryLocalServiceWrapper(
031 AssetEntryLocalService assetEntryLocalService) {
032 _assetEntryLocalService = assetEntryLocalService;
033 }
034
035
042 public com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
043 com.liferay.portlet.asset.model.AssetEntry assetEntry)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _assetEntryLocalService.addAssetEntry(assetEntry);
046 }
047
048
054 public com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
055 long entryId) {
056 return _assetEntryLocalService.createAssetEntry(entryId);
057 }
058
059
066 public void deleteAssetEntry(long entryId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _assetEntryLocalService.deleteAssetEntry(entryId);
070 }
071
072
078 public void deleteAssetEntry(
079 com.liferay.portlet.asset.model.AssetEntry assetEntry)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _assetEntryLocalService.deleteAssetEntry(assetEntry);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _assetEntryLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _assetEntryLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.asset.model.AssetEntry fetchAssetEntry(
156 long entryId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _assetEntryLocalService.fetchAssetEntry(entryId);
159 }
160
161
169 public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
170 long entryId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _assetEntryLocalService.getAssetEntry(entryId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _assetEntryLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
195 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
196 int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return _assetEntryLocalService.getAssetEntries(start, end);
199 }
200
201
207 public int getAssetEntriesCount()
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _assetEntryLocalService.getAssetEntriesCount();
210 }
211
212
219 public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
220 com.liferay.portlet.asset.model.AssetEntry assetEntry)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _assetEntryLocalService.updateAssetEntry(assetEntry);
223 }
224
225
233 public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
234 com.liferay.portlet.asset.model.AssetEntry assetEntry, boolean merge)
235 throws com.liferay.portal.kernel.exception.SystemException {
236 return _assetEntryLocalService.updateAssetEntry(assetEntry, merge);
237 }
238
239
244 public java.lang.String getBeanIdentifier() {
245 return _assetEntryLocalService.getBeanIdentifier();
246 }
247
248
253 public void setBeanIdentifier(java.lang.String beanIdentifier) {
254 _assetEntryLocalService.setBeanIdentifier(beanIdentifier);
255 }
256
257 public void deleteEntry(com.liferay.portlet.asset.model.AssetEntry entry)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException {
260 _assetEntryLocalService.deleteEntry(entry);
261 }
262
263 public void deleteEntry(long entryId)
264 throws com.liferay.portal.kernel.exception.PortalException,
265 com.liferay.portal.kernel.exception.SystemException {
266 _assetEntryLocalService.deleteEntry(entryId);
267 }
268
269 public void deleteEntry(java.lang.String className, long classPK)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException {
272 _assetEntryLocalService.deleteEntry(className, classPK);
273 }
274
275 public com.liferay.portlet.asset.model.AssetEntry fetchEntry(long entryId)
276 throws com.liferay.portal.kernel.exception.SystemException {
277 return _assetEntryLocalService.fetchEntry(entryId);
278 }
279
280 public com.liferay.portlet.asset.model.AssetEntry fetchEntry(
281 java.lang.String className, long classPK)
282 throws com.liferay.portal.kernel.exception.SystemException {
283 return _assetEntryLocalService.fetchEntry(className, classPK);
284 }
285
286 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
287 long entryId)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 return _assetEntryLocalService.getAncestorEntries(entryId);
291 }
292
293 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
294 long entryId)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 return _assetEntryLocalService.getChildEntries(entryId);
298 }
299
300 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
301 long companyId, int start, int end)
302 throws com.liferay.portal.kernel.exception.SystemException {
303 return _assetEntryLocalService.getCompanyEntries(companyId, start, end);
304 }
305
306 public int getCompanyEntriesCount(long companyId)
307 throws com.liferay.portal.kernel.exception.SystemException {
308 return _assetEntryLocalService.getCompanyEntriesCount(companyId);
309 }
310
311 public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
312 long companyId, int start, int end, java.lang.String languageId)
313 throws com.liferay.portal.kernel.exception.SystemException {
314 return _assetEntryLocalService.getCompanyEntryDisplays(companyId,
315 start, end, languageId);
316 }
317
318 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
319 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
320 throws com.liferay.portal.kernel.exception.SystemException {
321 return _assetEntryLocalService.getEntries(entryQuery);
322 }
323
324 public int getEntriesCount(
325 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return _assetEntryLocalService.getEntriesCount(entryQuery);
328 }
329
330 public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 return _assetEntryLocalService.getEntry(entryId);
334 }
335
336 public com.liferay.portlet.asset.model.AssetEntry getEntry(long groupId,
337 java.lang.String classUuid)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 return _assetEntryLocalService.getEntry(groupId, classUuid);
341 }
342
343 public com.liferay.portlet.asset.model.AssetEntry getEntry(
344 java.lang.String className, long classPK)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 return _assetEntryLocalService.getEntry(className, classPK);
348 }
349
350 public com.liferay.portlet.asset.model.AssetEntry getNextEntry(long entryId)
351 throws com.liferay.portal.kernel.exception.PortalException,
352 com.liferay.portal.kernel.exception.SystemException {
353 return _assetEntryLocalService.getNextEntry(entryId);
354 }
355
356 public com.liferay.portlet.asset.model.AssetEntry getParentEntry(
357 long entryId)
358 throws com.liferay.portal.kernel.exception.PortalException,
359 com.liferay.portal.kernel.exception.SystemException {
360 return _assetEntryLocalService.getParentEntry(entryId);
361 }
362
363 public com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
364 long entryId)
365 throws com.liferay.portal.kernel.exception.PortalException,
366 com.liferay.portal.kernel.exception.SystemException {
367 return _assetEntryLocalService.getPreviousEntry(entryId);
368 }
369
370 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
371 java.lang.String className, boolean asc, int start, int end)
372 throws com.liferay.portal.kernel.exception.SystemException {
373 return _assetEntryLocalService.getTopViewedEntries(className, asc,
374 start, end);
375 }
376
377 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
378 java.lang.String[] className, boolean asc, int start, int end)
379 throws com.liferay.portal.kernel.exception.SystemException {
380 return _assetEntryLocalService.getTopViewedEntries(className, asc,
381 start, end);
382 }
383
384 public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
385 long userId, java.lang.String className, long classPK, int increment)
386 throws com.liferay.portal.kernel.exception.SystemException {
387 return _assetEntryLocalService.incrementViewCounter(userId, className,
388 classPK, increment);
389 }
390
391 public void reindex(
392 java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
393 throws com.liferay.portal.kernel.exception.PortalException {
394 _assetEntryLocalService.reindex(entries);
395 }
396
397 public com.liferay.portal.kernel.search.Hits search(long companyId,
398 long[] groupIds, long userId, java.lang.String className,
399 java.lang.String keywords, int start, int end)
400 throws com.liferay.portal.kernel.exception.SystemException {
401 return _assetEntryLocalService.search(companyId, groupIds, userId,
402 className, keywords, start, end);
403 }
404
405 public com.liferay.portal.kernel.search.Hits search(long companyId,
406 long[] groupIds, long userId, java.lang.String className,
407 java.lang.String userName, java.lang.String title,
408 java.lang.String description, java.lang.String assetCategoryIds,
409 java.lang.String assetTagNames, boolean andSearch, int start, int end)
410 throws com.liferay.portal.kernel.exception.SystemException {
411 return _assetEntryLocalService.search(companyId, groupIds, userId,
412 className, userName, title, description, assetCategoryIds,
413 assetTagNames, andSearch, start, end);
414 }
415
416 public com.liferay.portal.kernel.search.Hits search(long companyId,
417 long[] groupIds, java.lang.String className, java.lang.String keywords,
418 int start, int end)
419 throws com.liferay.portal.kernel.exception.SystemException {
420 return _assetEntryLocalService.search(companyId, groupIds, className,
421 keywords, start, end);
422 }
423
424 public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
425 long companyId, long[] groupIds, java.lang.String className,
426 java.lang.String keywords, java.lang.String languageId, int start,
427 int end) throws com.liferay.portal.kernel.exception.SystemException {
428 return _assetEntryLocalService.searchEntryDisplays(companyId, groupIds,
429 className, keywords, languageId, start, end);
430 }
431
432 public int searchEntryDisplaysCount(long companyId, long[] groupIds,
433 java.lang.String className, java.lang.String keywords,
434 java.lang.String languageId)
435 throws com.liferay.portal.kernel.exception.SystemException {
436 return _assetEntryLocalService.searchEntryDisplaysCount(companyId,
437 groupIds, className, keywords, languageId);
438 }
439
440 public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
441 long groupId, java.lang.String className, long classPK,
442 long[] categoryIds, java.lang.String[] tagNames)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException {
445 return _assetEntryLocalService.updateEntry(userId, groupId, className,
446 classPK, categoryIds, tagNames);
447 }
448
449 public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
450 long groupId, java.lang.String className, long classPK,
451 java.lang.String classUuid, long classTypeId, long[] categoryIds,
452 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
453 java.util.Date endDate, java.util.Date publishDate,
454 java.util.Date expirationDate, java.lang.String mimeType,
455 java.lang.String title, java.lang.String description,
456 java.lang.String summary, java.lang.String url,
457 java.lang.String layoutUuid, int height, int width,
458 java.lang.Integer priority, boolean sync)
459 throws com.liferay.portal.kernel.exception.PortalException,
460 com.liferay.portal.kernel.exception.SystemException {
461 return _assetEntryLocalService.updateEntry(userId, groupId, className,
462 classPK, classUuid, classTypeId, categoryIds, tagNames, visible,
463 startDate, endDate, publishDate, expirationDate, mimeType, title,
464 description, summary, url, layoutUuid, height, width, priority, sync);
465 }
466
467 public com.liferay.portlet.asset.model.AssetEntry updateVisible(
468 java.lang.String className, long classPK, boolean visible)
469 throws com.liferay.portal.kernel.exception.PortalException,
470 com.liferay.portal.kernel.exception.SystemException {
471 return _assetEntryLocalService.updateVisible(className, classPK, visible);
472 }
473
474 public void validate(long groupId, java.lang.String className,
475 long[] categoryIds, java.lang.String[] tagNames)
476 throws com.liferay.portal.kernel.exception.PortalException,
477 com.liferay.portal.kernel.exception.SystemException {
478 _assetEntryLocalService.validate(groupId, className, categoryIds,
479 tagNames);
480 }
481
482
485 public AssetEntryLocalService getWrappedAssetEntryLocalService() {
486 return _assetEntryLocalService;
487 }
488
489
492 public void setWrappedAssetEntryLocalService(
493 AssetEntryLocalService assetEntryLocalService) {
494 _assetEntryLocalService = assetEntryLocalService;
495 }
496
497 public AssetEntryLocalService getWrappedService() {
498 return _assetEntryLocalService;
499 }
500
501 public void setWrappedService(AssetEntryLocalService assetEntryLocalService) {
502 _assetEntryLocalService = assetEntryLocalService;
503 }
504
505 private AssetEntryLocalService _assetEntryLocalService;
506 }