001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
034 public class AssetEntryLocalServiceUtil {
035
040
041
048 public static com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
049 com.liferay.portlet.asset.model.AssetEntry assetEntry)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getService().addAssetEntry(assetEntry);
052 }
053
054
060 public static com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
061 long entryId) {
062 return getService().createAssetEntry(entryId);
063 }
064
065
073 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
074 long entryId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return getService().deleteAssetEntry(entryId);
078 }
079
080
087 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
088 com.liferay.portlet.asset.model.AssetEntry assetEntry)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return getService().deleteAssetEntry(assetEntry);
091 }
092
093 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return getService().dynamicQuery();
095 }
096
097
104 @SuppressWarnings("rawtypes")
105 public static java.util.List dynamicQuery(
106 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return getService().dynamicQuery(dynamicQuery);
109 }
110
111
124 @SuppressWarnings("rawtypes")
125 public static java.util.List dynamicQuery(
126 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127 int end) throws com.liferay.portal.kernel.exception.SystemException {
128 return getService().dynamicQuery(dynamicQuery, start, end);
129 }
130
131
145 @SuppressWarnings("rawtypes")
146 public static java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return getService()
152 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
153 }
154
155
162 public static long dynamicQueryCount(
163 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return getService().dynamicQueryCount(dynamicQuery);
166 }
167
168
176 public static long dynamicQueryCount(
177 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
178 com.liferay.portal.kernel.dao.orm.Projection projection)
179 throws com.liferay.portal.kernel.exception.SystemException {
180 return getService().dynamicQueryCount(dynamicQuery, projection);
181 }
182
183 public static com.liferay.portlet.asset.model.AssetEntry fetchAssetEntry(
184 long entryId)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return getService().fetchAssetEntry(entryId);
187 }
188
189
197 public static com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
198 long entryId)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException {
201 return getService().getAssetEntry(entryId);
202 }
203
204 public static com.liferay.portal.model.PersistedModel getPersistedModel(
205 java.io.Serializable primaryKeyObj)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return getService().getPersistedModel(primaryKeyObj);
209 }
210
211
223 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
224 int start, int end)
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return getService().getAssetEntries(start, end);
227 }
228
229
235 public static int getAssetEntriesCount()
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return getService().getAssetEntriesCount();
238 }
239
240
247 public static com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
248 com.liferay.portlet.asset.model.AssetEntry assetEntry)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 return getService().updateAssetEntry(assetEntry);
251 }
252
253
256 public static void addAssetCategoryAssetEntry(long categoryId, long entryId)
257 throws com.liferay.portal.kernel.exception.SystemException {
258 getService().addAssetCategoryAssetEntry(categoryId, entryId);
259 }
260
261
264 public static void addAssetCategoryAssetEntry(long categoryId,
265 com.liferay.portlet.asset.model.AssetEntry assetEntry)
266 throws com.liferay.portal.kernel.exception.SystemException {
267 getService().addAssetCategoryAssetEntry(categoryId, assetEntry);
268 }
269
270
273 public static void addAssetCategoryAssetEntries(long categoryId,
274 long[] entryIds)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 getService().addAssetCategoryAssetEntries(categoryId, entryIds);
277 }
278
279
282 public static void addAssetCategoryAssetEntries(long categoryId,
283 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 getService().addAssetCategoryAssetEntries(categoryId, AssetEntries);
286 }
287
288
291 public static void clearAssetCategoryAssetEntries(long categoryId)
292 throws com.liferay.portal.kernel.exception.SystemException {
293 getService().clearAssetCategoryAssetEntries(categoryId);
294 }
295
296
299 public static void deleteAssetCategoryAssetEntry(long categoryId,
300 long entryId)
301 throws com.liferay.portal.kernel.exception.SystemException {
302 getService().deleteAssetCategoryAssetEntry(categoryId, entryId);
303 }
304
305
308 public static void deleteAssetCategoryAssetEntry(long categoryId,
309 com.liferay.portlet.asset.model.AssetEntry assetEntry)
310 throws com.liferay.portal.kernel.exception.SystemException {
311 getService().deleteAssetCategoryAssetEntry(categoryId, assetEntry);
312 }
313
314
317 public static void deleteAssetCategoryAssetEntries(long categoryId,
318 long[] entryIds)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 getService().deleteAssetCategoryAssetEntries(categoryId, entryIds);
321 }
322
323
326 public static void deleteAssetCategoryAssetEntries(long categoryId,
327 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
328 throws com.liferay.portal.kernel.exception.SystemException {
329 getService().deleteAssetCategoryAssetEntries(categoryId, AssetEntries);
330 }
331
332
335 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
336 long categoryId)
337 throws com.liferay.portal.kernel.exception.SystemException {
338 return getService().getAssetCategoryAssetEntries(categoryId);
339 }
340
341
344 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
345 long categoryId, int start, int end)
346 throws com.liferay.portal.kernel.exception.SystemException {
347 return getService().getAssetCategoryAssetEntries(categoryId, start, end);
348 }
349
350
353 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
354 long categoryId, int start, int end,
355 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
356 throws com.liferay.portal.kernel.exception.SystemException {
357 return getService()
358 .getAssetCategoryAssetEntries(categoryId, start, end,
359 orderByComparator);
360 }
361
362
365 public static int getAssetCategoryAssetEntriesCount(long categoryId)
366 throws com.liferay.portal.kernel.exception.SystemException {
367 return getService().getAssetCategoryAssetEntriesCount(categoryId);
368 }
369
370
373 public static boolean hasAssetCategoryAssetEntry(long categoryId,
374 long entryId)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return getService().hasAssetCategoryAssetEntry(categoryId, entryId);
377 }
378
379
382 public static boolean hasAssetCategoryAssetEntries(long categoryId)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return getService().hasAssetCategoryAssetEntries(categoryId);
385 }
386
387
390 public static void setAssetCategoryAssetEntries(long categoryId,
391 long[] entryIds)
392 throws com.liferay.portal.kernel.exception.SystemException {
393 getService().setAssetCategoryAssetEntries(categoryId, entryIds);
394 }
395
396
399 public static void addAssetTagAssetEntry(long tagId, long entryId)
400 throws com.liferay.portal.kernel.exception.SystemException {
401 getService().addAssetTagAssetEntry(tagId, entryId);
402 }
403
404
407 public static void addAssetTagAssetEntry(long tagId,
408 com.liferay.portlet.asset.model.AssetEntry assetEntry)
409 throws com.liferay.portal.kernel.exception.SystemException {
410 getService().addAssetTagAssetEntry(tagId, assetEntry);
411 }
412
413
416 public static void addAssetTagAssetEntries(long tagId, long[] entryIds)
417 throws com.liferay.portal.kernel.exception.SystemException {
418 getService().addAssetTagAssetEntries(tagId, entryIds);
419 }
420
421
424 public static void addAssetTagAssetEntries(long tagId,
425 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
426 throws com.liferay.portal.kernel.exception.SystemException {
427 getService().addAssetTagAssetEntries(tagId, AssetEntries);
428 }
429
430
433 public static void clearAssetTagAssetEntries(long tagId)
434 throws com.liferay.portal.kernel.exception.SystemException {
435 getService().clearAssetTagAssetEntries(tagId);
436 }
437
438
441 public static void deleteAssetTagAssetEntry(long tagId, long entryId)
442 throws com.liferay.portal.kernel.exception.SystemException {
443 getService().deleteAssetTagAssetEntry(tagId, entryId);
444 }
445
446
449 public static void deleteAssetTagAssetEntry(long tagId,
450 com.liferay.portlet.asset.model.AssetEntry assetEntry)
451 throws com.liferay.portal.kernel.exception.SystemException {
452 getService().deleteAssetTagAssetEntry(tagId, assetEntry);
453 }
454
455
458 public static void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
459 throws com.liferay.portal.kernel.exception.SystemException {
460 getService().deleteAssetTagAssetEntries(tagId, entryIds);
461 }
462
463
466 public static void deleteAssetTagAssetEntries(long tagId,
467 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
468 throws com.liferay.portal.kernel.exception.SystemException {
469 getService().deleteAssetTagAssetEntries(tagId, AssetEntries);
470 }
471
472
475 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
476 long tagId) throws com.liferay.portal.kernel.exception.SystemException {
477 return getService().getAssetTagAssetEntries(tagId);
478 }
479
480
483 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
484 long tagId, int start, int end)
485 throws com.liferay.portal.kernel.exception.SystemException {
486 return getService().getAssetTagAssetEntries(tagId, start, end);
487 }
488
489
492 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
493 long tagId, int start, int end,
494 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
495 throws com.liferay.portal.kernel.exception.SystemException {
496 return getService()
497 .getAssetTagAssetEntries(tagId, start, end, orderByComparator);
498 }
499
500
503 public static int getAssetTagAssetEntriesCount(long tagId)
504 throws com.liferay.portal.kernel.exception.SystemException {
505 return getService().getAssetTagAssetEntriesCount(tagId);
506 }
507
508
511 public static boolean hasAssetTagAssetEntry(long tagId, long entryId)
512 throws com.liferay.portal.kernel.exception.SystemException {
513 return getService().hasAssetTagAssetEntry(tagId, entryId);
514 }
515
516
519 public static boolean hasAssetTagAssetEntries(long tagId)
520 throws com.liferay.portal.kernel.exception.SystemException {
521 return getService().hasAssetTagAssetEntries(tagId);
522 }
523
524
527 public static void setAssetTagAssetEntries(long tagId, long[] entryIds)
528 throws com.liferay.portal.kernel.exception.SystemException {
529 getService().setAssetTagAssetEntries(tagId, entryIds);
530 }
531
532
537 public static java.lang.String getBeanIdentifier() {
538 return getService().getBeanIdentifier();
539 }
540
541
546 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
547 getService().setBeanIdentifier(beanIdentifier);
548 }
549
550 public static void deleteEntry(
551 com.liferay.portlet.asset.model.AssetEntry entry)
552 throws com.liferay.portal.kernel.exception.PortalException,
553 com.liferay.portal.kernel.exception.SystemException {
554 getService().deleteEntry(entry);
555 }
556
557 public static void deleteEntry(long entryId)
558 throws com.liferay.portal.kernel.exception.PortalException,
559 com.liferay.portal.kernel.exception.SystemException {
560 getService().deleteEntry(entryId);
561 }
562
563 public static void deleteEntry(java.lang.String className, long classPK)
564 throws com.liferay.portal.kernel.exception.PortalException,
565 com.liferay.portal.kernel.exception.SystemException {
566 getService().deleteEntry(className, classPK);
567 }
568
569 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
570 long entryId)
571 throws com.liferay.portal.kernel.exception.SystemException {
572 return getService().fetchEntry(entryId);
573 }
574
575 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
576 long groupId, java.lang.String classUuid)
577 throws com.liferay.portal.kernel.exception.SystemException {
578 return getService().fetchEntry(groupId, classUuid);
579 }
580
581 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
582 java.lang.String className, long classPK)
583 throws com.liferay.portal.kernel.exception.SystemException {
584 return getService().fetchEntry(className, classPK);
585 }
586
587 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
588 long entryId)
589 throws com.liferay.portal.kernel.exception.PortalException,
590 com.liferay.portal.kernel.exception.SystemException {
591 return getService().getAncestorEntries(entryId);
592 }
593
594 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
595 long entryId)
596 throws com.liferay.portal.kernel.exception.PortalException,
597 com.liferay.portal.kernel.exception.SystemException {
598 return getService().getChildEntries(entryId);
599 }
600
601 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
602 long companyId, int start, int end)
603 throws com.liferay.portal.kernel.exception.SystemException {
604 return getService().getCompanyEntries(companyId, start, end);
605 }
606
607 public static int getCompanyEntriesCount(long companyId)
608 throws com.liferay.portal.kernel.exception.SystemException {
609 return getService().getCompanyEntriesCount(companyId);
610 }
611
612 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
613 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
614 throws com.liferay.portal.kernel.exception.SystemException {
615 return getService().getEntries(entryQuery);
616 }
617
618 public static int getEntriesCount(
619 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
620 throws com.liferay.portal.kernel.exception.SystemException {
621 return getService().getEntriesCount(entryQuery);
622 }
623
624 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
625 long entryId)
626 throws com.liferay.portal.kernel.exception.PortalException,
627 com.liferay.portal.kernel.exception.SystemException {
628 return getService().getEntry(entryId);
629 }
630
631 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
632 long groupId, java.lang.String classUuid)
633 throws com.liferay.portal.kernel.exception.PortalException,
634 com.liferay.portal.kernel.exception.SystemException {
635 return getService().getEntry(groupId, classUuid);
636 }
637
638 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
639 java.lang.String className, long classPK)
640 throws com.liferay.portal.kernel.exception.PortalException,
641 com.liferay.portal.kernel.exception.SystemException {
642 return getService().getEntry(className, classPK);
643 }
644
645 public static com.liferay.portlet.asset.model.AssetEntry getNextEntry(
646 long entryId)
647 throws com.liferay.portal.kernel.exception.PortalException,
648 com.liferay.portal.kernel.exception.SystemException {
649 return getService().getNextEntry(entryId);
650 }
651
652 public static com.liferay.portlet.asset.model.AssetEntry getParentEntry(
653 long entryId)
654 throws com.liferay.portal.kernel.exception.PortalException,
655 com.liferay.portal.kernel.exception.SystemException {
656 return getService().getParentEntry(entryId);
657 }
658
659 public static com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
660 long entryId)
661 throws com.liferay.portal.kernel.exception.PortalException,
662 com.liferay.portal.kernel.exception.SystemException {
663 return getService().getPreviousEntry(entryId);
664 }
665
666 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
667 java.lang.String className, boolean asc, int start, int end)
668 throws com.liferay.portal.kernel.exception.SystemException {
669 return getService().getTopViewedEntries(className, asc, start, end);
670 }
671
672 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
673 java.lang.String[] className, boolean asc, int start, int end)
674 throws com.liferay.portal.kernel.exception.SystemException {
675 return getService().getTopViewedEntries(className, asc, start, end);
676 }
677
678 public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
679 long userId, java.lang.String className, long classPK)
680 throws com.liferay.portal.kernel.exception.PortalException,
681 com.liferay.portal.kernel.exception.SystemException {
682 return getService().incrementViewCounter(userId, className, classPK);
683 }
684
685 public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
686 long userId, java.lang.String className, long classPK, int increment)
687 throws com.liferay.portal.kernel.exception.SystemException {
688 return getService()
689 .incrementViewCounter(userId, className, classPK, increment);
690 }
691
692 public static void reindex(
693 java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
694 throws com.liferay.portal.kernel.exception.PortalException {
695 getService().reindex(entries);
696 }
697
698
702 public static com.liferay.portal.kernel.search.Hits search(long companyId,
703 long[] groupIds, long userId, java.lang.String className,
704 java.lang.String keywords, int start, int end)
705 throws com.liferay.portal.kernel.exception.SystemException {
706 return getService()
707 .search(companyId, groupIds, userId, className, keywords,
708 start, end);
709 }
710
711 public static com.liferay.portal.kernel.search.Hits search(long companyId,
712 long[] groupIds, long userId, java.lang.String className,
713 java.lang.String keywords, int status, int start, int end)
714 throws com.liferay.portal.kernel.exception.SystemException {
715 return getService()
716 .search(companyId, groupIds, userId, className, keywords,
717 status, start, end);
718 }
719
720
725 public static com.liferay.portal.kernel.search.Hits search(long companyId,
726 long[] groupIds, long userId, java.lang.String className,
727 java.lang.String userName, java.lang.String title,
728 java.lang.String description, java.lang.String assetCategoryIds,
729 java.lang.String assetTagNames, boolean andSearch, int start, int end)
730 throws com.liferay.portal.kernel.exception.SystemException {
731 return getService()
732 .search(companyId, groupIds, userId, className, userName,
733 title, description, assetCategoryIds, assetTagNames, andSearch,
734 start, end);
735 }
736
737 public static com.liferay.portal.kernel.search.Hits search(long companyId,
738 long[] groupIds, long userId, java.lang.String className,
739 java.lang.String userName, java.lang.String title,
740 java.lang.String description, java.lang.String assetCategoryIds,
741 java.lang.String assetTagNames, int status, boolean andSearch,
742 int start, int end)
743 throws com.liferay.portal.kernel.exception.SystemException {
744 return getService()
745 .search(companyId, groupIds, userId, className, userName,
746 title, description, assetCategoryIds, assetTagNames, status,
747 andSearch, start, end);
748 }
749
750
754 public static com.liferay.portal.kernel.search.Hits search(long companyId,
755 long[] groupIds, java.lang.String className, java.lang.String keywords,
756 int start, int end)
757 throws com.liferay.portal.kernel.exception.SystemException {
758 return getService()
759 .search(companyId, groupIds, className, keywords, start, end);
760 }
761
762 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
763 long userId, long groupId, java.util.Date createDate,
764 java.util.Date modifiedDate, java.lang.String className, long classPK,
765 java.lang.String classUuid, long classTypeId, long[] categoryIds,
766 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
767 java.util.Date endDate, java.util.Date expirationDate,
768 java.lang.String mimeType, java.lang.String title,
769 java.lang.String description, java.lang.String summary,
770 java.lang.String url, java.lang.String layoutUuid, int height,
771 int width, java.lang.Integer priority, boolean sync)
772 throws com.liferay.portal.kernel.exception.PortalException,
773 com.liferay.portal.kernel.exception.SystemException {
774 return getService()
775 .updateEntry(userId, groupId, createDate, modifiedDate,
776 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
777 visible, startDate, endDate, expirationDate, mimeType, title,
778 description, summary, url, layoutUuid, height, width, priority, sync);
779 }
780
781 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
782 long userId, long groupId, java.lang.String className, long classPK,
783 long[] categoryIds, java.lang.String[] tagNames)
784 throws com.liferay.portal.kernel.exception.PortalException,
785 com.liferay.portal.kernel.exception.SystemException {
786 return getService()
787 .updateEntry(userId, groupId, className, classPK,
788 categoryIds, tagNames);
789 }
790
791
797 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
798 long userId, long groupId, java.lang.String className, long classPK,
799 java.lang.String classUuid, long classTypeId, long[] categoryIds,
800 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
801 java.util.Date endDate, java.util.Date publishDate,
802 java.util.Date expirationDate, java.lang.String mimeType,
803 java.lang.String title, java.lang.String description,
804 java.lang.String summary, java.lang.String url,
805 java.lang.String layoutUuid, int height, int width,
806 java.lang.Integer priority, boolean sync)
807 throws com.liferay.portal.kernel.exception.PortalException,
808 com.liferay.portal.kernel.exception.SystemException {
809 return getService()
810 .updateEntry(userId, groupId, className, classPK, classUuid,
811 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
812 publishDate, expirationDate, mimeType, title, description, summary,
813 url, layoutUuid, height, width, priority, sync);
814 }
815
816
822 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
823 long userId, long groupId, java.lang.String className, long classPK,
824 java.lang.String classUuid, long classTypeId, long[] categoryIds,
825 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
826 java.util.Date endDate, java.util.Date expirationDate,
827 java.lang.String mimeType, java.lang.String title,
828 java.lang.String description, java.lang.String summary,
829 java.lang.String url, java.lang.String layoutUuid, int height,
830 int width, java.lang.Integer priority, boolean sync)
831 throws com.liferay.portal.kernel.exception.PortalException,
832 com.liferay.portal.kernel.exception.SystemException {
833 return getService()
834 .updateEntry(userId, groupId, className, classPK, classUuid,
835 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
836 expirationDate, mimeType, title, description, summary, url,
837 layoutUuid, height, width, priority, sync);
838 }
839
840 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
841 java.lang.String className, long classPK, java.util.Date publishDate,
842 boolean visible)
843 throws com.liferay.portal.kernel.exception.PortalException,
844 com.liferay.portal.kernel.exception.SystemException {
845 return getService().updateEntry(className, classPK, publishDate, visible);
846 }
847
848 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
849 java.lang.String className, long classPK, java.util.Date publishDate,
850 java.util.Date expirationDate, boolean visible)
851 throws com.liferay.portal.kernel.exception.PortalException,
852 com.liferay.portal.kernel.exception.SystemException {
853 return getService()
854 .updateEntry(className, classPK, publishDate,
855 expirationDate, visible);
856 }
857
858 public static com.liferay.portlet.asset.model.AssetEntry updateVisible(
859 java.lang.String className, long classPK, boolean visible)
860 throws com.liferay.portal.kernel.exception.PortalException,
861 com.liferay.portal.kernel.exception.SystemException {
862 return getService().updateVisible(className, classPK, visible);
863 }
864
865 public static void validate(long groupId, java.lang.String className,
866 long[] categoryIds, java.lang.String[] tagNames)
867 throws com.liferay.portal.kernel.exception.PortalException,
868 com.liferay.portal.kernel.exception.SystemException {
869 getService().validate(groupId, className, categoryIds, tagNames);
870 }
871
872 public static AssetEntryLocalService getService() {
873 if (_service == null) {
874 _service = (AssetEntryLocalService)PortalBeanLocatorUtil.locate(AssetEntryLocalService.class.getName());
875
876 ReferenceRegistry.registerReference(AssetEntryLocalServiceUtil.class,
877 "_service");
878 }
879
880 return _service;
881 }
882
883
886 public void setService(AssetEntryLocalService service) {
887 }
888
889 private static AssetEntryLocalService _service;
890 }