001
014
015 package com.liferay.portlet.asset.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
036 @ProviderType
037 public class AssetEntryLocalServiceUtil {
038
043 public static void addAssetCategoryAssetEntries(long categoryId,
044 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries) {
045 getService().addAssetCategoryAssetEntries(categoryId, AssetEntries);
046 }
047
048 public static void addAssetCategoryAssetEntries(long categoryId,
049 long[] entryIds) {
050 getService().addAssetCategoryAssetEntries(categoryId, entryIds);
051 }
052
053 public static void addAssetCategoryAssetEntry(long categoryId,
054 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
055 getService().addAssetCategoryAssetEntry(categoryId, assetEntry);
056 }
057
058 public static void addAssetCategoryAssetEntry(long categoryId, long entryId) {
059 getService().addAssetCategoryAssetEntry(categoryId, entryId);
060 }
061
062
068 public static com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
069 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
070 return getService().addAssetEntry(assetEntry);
071 }
072
073 public static void addAssetTagAssetEntries(long tagId,
074 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries) {
075 getService().addAssetTagAssetEntries(tagId, AssetEntries);
076 }
077
078 public static void addAssetTagAssetEntries(long tagId, long[] entryIds) {
079 getService().addAssetTagAssetEntries(tagId, entryIds);
080 }
081
082 public static void addAssetTagAssetEntry(long tagId,
083 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
084 getService().addAssetTagAssetEntry(tagId, assetEntry);
085 }
086
087 public static void addAssetTagAssetEntry(long tagId, long entryId) {
088 getService().addAssetTagAssetEntry(tagId, entryId);
089 }
090
091 public static void clearAssetCategoryAssetEntries(long categoryId) {
092 getService().clearAssetCategoryAssetEntries(categoryId);
093 }
094
095 public static void clearAssetTagAssetEntries(long tagId) {
096 getService().clearAssetTagAssetEntries(tagId);
097 }
098
099
105 public static com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
106 long entryId) {
107 return getService().createAssetEntry(entryId);
108 }
109
110 public static void deleteAssetCategoryAssetEntries(long categoryId,
111 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries) {
112 getService().deleteAssetCategoryAssetEntries(categoryId, AssetEntries);
113 }
114
115 public static void deleteAssetCategoryAssetEntries(long categoryId,
116 long[] entryIds) {
117 getService().deleteAssetCategoryAssetEntries(categoryId, entryIds);
118 }
119
120 public static void deleteAssetCategoryAssetEntry(long categoryId,
121 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
122 getService().deleteAssetCategoryAssetEntry(categoryId, assetEntry);
123 }
124
125 public static void deleteAssetCategoryAssetEntry(long categoryId,
126 long entryId) {
127 getService().deleteAssetCategoryAssetEntry(categoryId, entryId);
128 }
129
130
136 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
137 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
138 return getService().deleteAssetEntry(assetEntry);
139 }
140
141
148 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
149 long entryId)
150 throws com.liferay.portal.kernel.exception.PortalException {
151 return getService().deleteAssetEntry(entryId);
152 }
153
154 public static void deleteAssetTagAssetEntries(long tagId,
155 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries) {
156 getService().deleteAssetTagAssetEntries(tagId, AssetEntries);
157 }
158
159 public static void deleteAssetTagAssetEntries(long tagId, long[] entryIds) {
160 getService().deleteAssetTagAssetEntries(tagId, entryIds);
161 }
162
163 public static void deleteAssetTagAssetEntry(long tagId,
164 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
165 getService().deleteAssetTagAssetEntry(tagId, assetEntry);
166 }
167
168 public static void deleteAssetTagAssetEntry(long tagId, long entryId) {
169 getService().deleteAssetTagAssetEntry(tagId, entryId);
170 }
171
172 public static void deleteEntry(java.lang.String className, long classPK)
173 throws com.liferay.portal.kernel.exception.PortalException {
174 getService().deleteEntry(className, classPK);
175 }
176
177 public static void deleteEntry(
178 com.liferay.portlet.asset.model.AssetEntry entry)
179 throws com.liferay.portal.kernel.exception.PortalException {
180 getService().deleteEntry(entry);
181 }
182
183 public static void deleteEntry(long entryId)
184 throws com.liferay.portal.kernel.exception.PortalException {
185 getService().deleteEntry(entryId);
186 }
187
188 public static void deleteGroupEntries(long groupId)
189 throws com.liferay.portal.kernel.exception.PortalException {
190 getService().deleteGroupEntries(groupId);
191 }
192
193
196 public static com.liferay.portal.model.PersistedModel deletePersistedModel(
197 com.liferay.portal.model.PersistedModel persistedModel)
198 throws com.liferay.portal.kernel.exception.PortalException {
199 return getService().deletePersistedModel(persistedModel);
200 }
201
202 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
203 return getService().dynamicQuery();
204 }
205
206
212 public static <T> java.util.List<T> dynamicQuery(
213 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
214 return getService().dynamicQuery(dynamicQuery);
215 }
216
217
229 public static <T> java.util.List<T> dynamicQuery(
230 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
231 int end) {
232 return getService().dynamicQuery(dynamicQuery, start, end);
233 }
234
235
248 public static <T> java.util.List<T> dynamicQuery(
249 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
250 int end,
251 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
252 return getService()
253 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
254 }
255
256
262 public static long dynamicQueryCount(
263 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
264 return getService().dynamicQueryCount(dynamicQuery);
265 }
266
267
274 public static long dynamicQueryCount(
275 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
276 com.liferay.portal.kernel.dao.orm.Projection projection) {
277 return getService().dynamicQueryCount(dynamicQuery, projection);
278 }
279
280 public static com.liferay.portlet.asset.model.AssetEntry fetchAssetEntry(
281 long entryId) {
282 return getService().fetchAssetEntry(entryId);
283 }
284
285 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
286 java.lang.String className, long classPK) {
287 return getService().fetchEntry(className, classPK);
288 }
289
290 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
291 long entryId) {
292 return getService().fetchEntry(entryId);
293 }
294
295 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
296 long groupId, java.lang.String classUuid) {
297 return getService().fetchEntry(groupId, classUuid);
298 }
299
300 public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
301 return getService().getActionableDynamicQuery();
302 }
303
304 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
305 long entryId)
306 throws com.liferay.portal.kernel.exception.PortalException {
307 return getService().getAncestorEntries(entryId);
308 }
309
310 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
311 long categoryId) {
312 return getService().getAssetCategoryAssetEntries(categoryId);
313 }
314
315 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
316 long categoryId, int start, int end) {
317 return getService().getAssetCategoryAssetEntries(categoryId, start, end);
318 }
319
320 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
321 long categoryId, int start, int end,
322 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetEntry> orderByComparator) {
323 return getService()
324 .getAssetCategoryAssetEntries(categoryId, start, end,
325 orderByComparator);
326 }
327
328 public static int getAssetCategoryAssetEntriesCount(long categoryId) {
329 return getService().getAssetCategoryAssetEntriesCount(categoryId);
330 }
331
332
338 public static long[] getAssetCategoryPrimaryKeys(long entryId) {
339 return getService().getAssetCategoryPrimaryKeys(entryId);
340 }
341
342
353 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
354 int start, int end) {
355 return getService().getAssetEntries(start, end);
356 }
357
358
363 public static int getAssetEntriesCount() {
364 return getService().getAssetEntriesCount();
365 }
366
367
374 public static com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
375 long entryId)
376 throws com.liferay.portal.kernel.exception.PortalException {
377 return getService().getAssetEntry(entryId);
378 }
379
380 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
381 long tagId) {
382 return getService().getAssetTagAssetEntries(tagId);
383 }
384
385 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
386 long tagId, int start, int end) {
387 return getService().getAssetTagAssetEntries(tagId, start, end);
388 }
389
390 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
391 long tagId, int start, int end,
392 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetEntry> orderByComparator) {
393 return getService()
394 .getAssetTagAssetEntries(tagId, start, end, orderByComparator);
395 }
396
397 public static int getAssetTagAssetEntriesCount(long tagId) {
398 return getService().getAssetTagAssetEntriesCount(tagId);
399 }
400
401
407 public static long[] getAssetTagPrimaryKeys(long entryId) {
408 return getService().getAssetTagPrimaryKeys(entryId);
409 }
410
411 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
412 long entryId)
413 throws com.liferay.portal.kernel.exception.PortalException {
414 return getService().getChildEntries(entryId);
415 }
416
417 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
418 long companyId, int start, int end) {
419 return getService().getCompanyEntries(companyId, start, end);
420 }
421
422 public static int getCompanyEntriesCount(long companyId) {
423 return getService().getCompanyEntriesCount(companyId);
424 }
425
426 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
427 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery) {
428 return getService().getEntries(entryQuery);
429 }
430
431 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
432 long[] groupIds, long[] classNameIds, java.lang.String keywords,
433 java.lang.String userName, java.lang.String title,
434 java.lang.String description, java.lang.Boolean listable,
435 boolean advancedSearch, boolean andOperator, int start, int end,
436 java.lang.String orderByCol1, java.lang.String orderByCol2,
437 java.lang.String orderByType1, java.lang.String orderByType2) {
438 return getService()
439 .getEntries(groupIds, classNameIds, keywords, userName,
440 title, description, listable, advancedSearch, andOperator, start,
441 end, orderByCol1, orderByCol2, orderByType1, orderByType2);
442 }
443
444 public static int getEntriesCount(
445 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery) {
446 return getService().getEntriesCount(entryQuery);
447 }
448
449 public static int getEntriesCount(long[] groupIds, long[] classNameIds,
450 java.lang.String keywords, java.lang.String userName,
451 java.lang.String title, java.lang.String description,
452 java.lang.Boolean listable, boolean advancedSearch, boolean andOperator) {
453 return getService()
454 .getEntriesCount(groupIds, classNameIds, keywords, userName,
455 title, description, listable, advancedSearch, andOperator);
456 }
457
458 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
459 java.lang.String className, long classPK)
460 throws com.liferay.portal.kernel.exception.PortalException {
461 return getService().getEntry(className, classPK);
462 }
463
464 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
465 long entryId)
466 throws com.liferay.portal.kernel.exception.PortalException {
467 return getService().getEntry(entryId);
468 }
469
470 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
471 long groupId, java.lang.String classUuid)
472 throws com.liferay.portal.kernel.exception.PortalException {
473 return getService().getEntry(groupId, classUuid);
474 }
475
476 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getGroupEntries(
477 long groupId) {
478 return getService().getGroupEntries(groupId);
479 }
480
481 public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
482 return getService().getIndexableActionableDynamicQuery();
483 }
484
485 public static com.liferay.portlet.asset.model.AssetEntry getNextEntry(
486 long entryId)
487 throws com.liferay.portal.kernel.exception.PortalException {
488 return getService().getNextEntry(entryId);
489 }
490
491
496 public static java.lang.String getOSGiServiceIdentifier() {
497 return getService().getOSGiServiceIdentifier();
498 }
499
500 public static com.liferay.portlet.asset.model.AssetEntry getParentEntry(
501 long entryId)
502 throws com.liferay.portal.kernel.exception.PortalException {
503 return getService().getParentEntry(entryId);
504 }
505
506 public static com.liferay.portal.model.PersistedModel getPersistedModel(
507 java.io.Serializable primaryKeyObj)
508 throws com.liferay.portal.kernel.exception.PortalException {
509 return getService().getPersistedModel(primaryKeyObj);
510 }
511
512 public static com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
513 long entryId)
514 throws com.liferay.portal.kernel.exception.PortalException {
515 return getService().getPreviousEntry(entryId);
516 }
517
518 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
519 java.lang.String[] className, boolean asc, int start, int end) {
520 return getService().getTopViewedEntries(className, asc, start, end);
521 }
522
523 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
524 java.lang.String className, boolean asc, int start, int end) {
525 return getService().getTopViewedEntries(className, asc, start, end);
526 }
527
528 public static boolean hasAssetCategoryAssetEntries(long categoryId) {
529 return getService().hasAssetCategoryAssetEntries(categoryId);
530 }
531
532 public static boolean hasAssetCategoryAssetEntry(long categoryId,
533 long entryId) {
534 return getService().hasAssetCategoryAssetEntry(categoryId, entryId);
535 }
536
537 public static boolean hasAssetTagAssetEntries(long tagId) {
538 return getService().hasAssetTagAssetEntries(tagId);
539 }
540
541 public static boolean hasAssetTagAssetEntry(long tagId, long entryId) {
542 return getService().hasAssetTagAssetEntry(tagId, entryId);
543 }
544
545 public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
546 long userId, java.lang.String className, long classPK)
547 throws com.liferay.portal.kernel.exception.PortalException {
548 return getService().incrementViewCounter(userId, className, classPK);
549 }
550
551 public static void incrementViewCounter(long userId,
552 java.lang.String className, long classPK, int increment) {
553 getService().incrementViewCounter(userId, className, classPK, increment);
554 }
555
556 public static void reindex(
557 java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
558 throws com.liferay.portal.kernel.exception.PortalException {
559 getService().reindex(entries);
560 }
561
562
566 @Deprecated
567 public static com.liferay.portal.kernel.search.Hits search(long companyId,
568 long[] groupIds, java.lang.String className, java.lang.String keywords,
569 int start, int end) {
570 return getService()
571 .search(companyId, groupIds, className, keywords, start, end);
572 }
573
574 public static com.liferay.portal.kernel.search.Hits search(long companyId,
575 long[] groupIds, long userId, java.lang.String className,
576 long classTypeId, java.lang.String keywords, boolean showNonindexable,
577 int status, int start, int end) {
578 return getService()
579 .search(companyId, groupIds, userId, className, classTypeId,
580 keywords, showNonindexable, status, start, end);
581 }
582
583 public static com.liferay.portal.kernel.search.Hits search(long companyId,
584 long[] groupIds, long userId, java.lang.String className,
585 long classTypeId, java.lang.String keywords, boolean showNonindexable,
586 int[] statuses, int start, int end) {
587 return getService()
588 .search(companyId, groupIds, userId, className, classTypeId,
589 keywords, showNonindexable, statuses, start, end);
590 }
591
592 public static com.liferay.portal.kernel.search.Hits search(long companyId,
593 long[] groupIds, long userId, java.lang.String className,
594 long classTypeId, java.lang.String keywords, int status, int start,
595 int end) {
596 return getService()
597 .search(companyId, groupIds, userId, className, classTypeId,
598 keywords, status, start, end);
599 }
600
601 public static com.liferay.portal.kernel.search.Hits search(long companyId,
602 long[] groupIds, long userId, java.lang.String className,
603 long classTypeId, java.lang.String userName, java.lang.String title,
604 java.lang.String description, java.lang.String assetCategoryIds,
605 java.lang.String assetTagNames, boolean showNonindexable, int status,
606 boolean andSearch, int start, int end) {
607 return getService()
608 .search(companyId, groupIds, userId, className, classTypeId,
609 userName, title, description, assetCategoryIds, assetTagNames,
610 showNonindexable, status, andSearch, start, end);
611 }
612
613 public static com.liferay.portal.kernel.search.Hits search(long companyId,
614 long[] groupIds, long userId, java.lang.String className,
615 long classTypeId, java.lang.String userName, java.lang.String title,
616 java.lang.String description, java.lang.String assetCategoryIds,
617 java.lang.String assetTagNames, boolean showNonindexable,
618 int[] statuses, boolean andSearch, int start, int end) {
619 return getService()
620 .search(companyId, groupIds, userId, className, classTypeId,
621 userName, title, description, assetCategoryIds, assetTagNames,
622 showNonindexable, statuses, andSearch, start, end);
623 }
624
625 public static com.liferay.portal.kernel.search.Hits search(long companyId,
626 long[] groupIds, long userId, java.lang.String className,
627 long classTypeId, java.lang.String userName, java.lang.String title,
628 java.lang.String description, java.lang.String assetCategoryIds,
629 java.lang.String assetTagNames, int status, boolean andSearch,
630 int start, int end) {
631 return getService()
632 .search(companyId, groupIds, userId, className, classTypeId,
633 userName, title, description, assetCategoryIds, assetTagNames,
634 status, andSearch, start, end);
635 }
636
637
641 @Deprecated
642 public static com.liferay.portal.kernel.search.Hits search(long companyId,
643 long[] groupIds, long userId, java.lang.String className,
644 java.lang.String keywords, int start, int end) {
645 return getService()
646 .search(companyId, groupIds, userId, className, keywords,
647 start, end);
648 }
649
650 public static com.liferay.portal.kernel.search.Hits search(long companyId,
651 long[] groupIds, long userId, java.lang.String className,
652 java.lang.String keywords, int status, int start, int end) {
653 return getService()
654 .search(companyId, groupIds, userId, className, keywords,
655 status, start, end);
656 }
657
658
663 @Deprecated
664 public static com.liferay.portal.kernel.search.Hits search(long companyId,
665 long[] groupIds, long userId, java.lang.String className,
666 java.lang.String userName, java.lang.String title,
667 java.lang.String description, java.lang.String assetCategoryIds,
668 java.lang.String assetTagNames, boolean andSearch, int start, int end) {
669 return getService()
670 .search(companyId, groupIds, userId, className, userName,
671 title, description, assetCategoryIds, assetTagNames, andSearch,
672 start, end);
673 }
674
675 public static com.liferay.portal.kernel.search.Hits search(long companyId,
676 long[] groupIds, long userId, java.lang.String className,
677 java.lang.String userName, java.lang.String title,
678 java.lang.String description, java.lang.String assetCategoryIds,
679 java.lang.String assetTagNames, int status, boolean andSearch,
680 int start, int end) {
681 return getService()
682 .search(companyId, groupIds, userId, className, userName,
683 title, description, assetCategoryIds, assetTagNames, status,
684 andSearch, start, end);
685 }
686
687 public static void setAssetCategoryAssetEntries(long categoryId,
688 long[] entryIds) {
689 getService().setAssetCategoryAssetEntries(categoryId, entryIds);
690 }
691
692 public static void setAssetTagAssetEntries(long tagId, long[] entryIds) {
693 getService().setAssetTagAssetEntries(tagId, entryIds);
694 }
695
696
702 public static com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
703 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
704 return getService().updateAssetEntry(assetEntry);
705 }
706
707 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
708 java.lang.String className, long classPK, java.util.Date publishDate,
709 java.util.Date expirationDate, boolean visible)
710 throws com.liferay.portal.kernel.exception.PortalException {
711 return getService()
712 .updateEntry(className, classPK, publishDate,
713 expirationDate, visible);
714 }
715
716 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
717 java.lang.String className, long classPK, java.util.Date publishDate,
718 boolean visible)
719 throws com.liferay.portal.kernel.exception.PortalException {
720 return getService().updateEntry(className, classPK, publishDate, visible);
721 }
722
723 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
724 long userId, long groupId, java.lang.String className, long classPK,
725 long[] categoryIds, java.lang.String[] tagNames)
726 throws com.liferay.portal.kernel.exception.PortalException {
727 return getService()
728 .updateEntry(userId, groupId, className, classPK,
729 categoryIds, tagNames);
730 }
731
732
738 @Deprecated
739 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
740 long userId, long groupId, java.lang.String className, long classPK,
741 java.lang.String classUuid, long classTypeId, long[] categoryIds,
742 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
743 java.util.Date endDate, java.util.Date expirationDate,
744 java.lang.String mimeType, java.lang.String title,
745 java.lang.String description, java.lang.String summary,
746 java.lang.String url, java.lang.String layoutUuid, int height,
747 int width, java.lang.Integer priority, boolean sync)
748 throws com.liferay.portal.kernel.exception.PortalException {
749 return getService()
750 .updateEntry(userId, groupId, className, classPK, classUuid,
751 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
752 expirationDate, mimeType, title, description, summary, url,
753 layoutUuid, height, width, priority, sync);
754 }
755
756
762 @Deprecated
763 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
764 long userId, long groupId, 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 publishDate,
768 java.util.Date expirationDate, java.lang.String mimeType,
769 java.lang.String title, java.lang.String description,
770 java.lang.String summary, java.lang.String url,
771 java.lang.String layoutUuid, int height, int width,
772 java.lang.Integer priority, boolean sync)
773 throws com.liferay.portal.kernel.exception.PortalException {
774 return getService()
775 .updateEntry(userId, groupId, className, classPK, classUuid,
776 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
777 publishDate, expirationDate, mimeType, title, description, summary,
778 url, layoutUuid, height, width, priority, sync);
779 }
780
781 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
782 long userId, long groupId, java.util.Date createDate,
783 java.util.Date modifiedDate, java.lang.String className, long classPK,
784 java.lang.String classUuid, long classTypeId, long[] categoryIds,
785 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
786 java.util.Date endDate, java.util.Date expirationDate,
787 java.lang.String mimeType, java.lang.String title,
788 java.lang.String description, java.lang.String summary,
789 java.lang.String url, java.lang.String layoutUuid, int height,
790 int width, java.lang.Double priority)
791 throws com.liferay.portal.kernel.exception.PortalException {
792 return getService()
793 .updateEntry(userId, groupId, createDate, modifiedDate,
794 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
795 visible, startDate, endDate, expirationDate, mimeType, title,
796 description, summary, url, layoutUuid, height, width, priority);
797 }
798
799
805 @Deprecated
806 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
807 long userId, long groupId, java.util.Date createDate,
808 java.util.Date modifiedDate, java.lang.String className, long classPK,
809 java.lang.String classUuid, long classTypeId, long[] categoryIds,
810 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
811 java.util.Date endDate, java.util.Date expirationDate,
812 java.lang.String mimeType, java.lang.String title,
813 java.lang.String description, java.lang.String summary,
814 java.lang.String url, java.lang.String layoutUuid, int height,
815 int width, java.lang.Integer priority, boolean sync)
816 throws com.liferay.portal.kernel.exception.PortalException {
817 return getService()
818 .updateEntry(userId, groupId, createDate, modifiedDate,
819 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
820 visible, startDate, endDate, expirationDate, mimeType, title,
821 description, summary, url, layoutUuid, height, width, priority, sync);
822 }
823
824 public static com.liferay.portlet.asset.model.AssetEntry updateVisible(
825 java.lang.String className, long classPK, boolean visible)
826 throws com.liferay.portal.kernel.exception.PortalException {
827 return getService().updateVisible(className, classPK, visible);
828 }
829
830 public static com.liferay.portlet.asset.model.AssetEntry updateVisible(
831 com.liferay.portlet.asset.model.AssetEntry entry, boolean visible)
832 throws com.liferay.portal.kernel.exception.PortalException {
833 return getService().updateVisible(entry, visible);
834 }
835
836
840 @Deprecated
841 public static void validate(long groupId, java.lang.String className,
842 long[] categoryIds, java.lang.String[] tagNames)
843 throws com.liferay.portal.kernel.exception.PortalException {
844 getService().validate(groupId, className, categoryIds, tagNames);
845 }
846
847 public static void validate(long groupId, java.lang.String className,
848 long classTypePK, long[] categoryIds, java.lang.String[] tagNames)
849 throws com.liferay.portal.kernel.exception.PortalException {
850 getService()
851 .validate(groupId, className, classTypePK, categoryIds, tagNames);
852 }
853
854 public static AssetEntryLocalService getService() {
855 if (_service == null) {
856 _service = (AssetEntryLocalService)PortalBeanLocatorUtil.locate(AssetEntryLocalService.class.getName());
857
858 ReferenceRegistry.registerReference(AssetEntryLocalServiceUtil.class,
859 "_service");
860 }
861
862 return _service;
863 }
864
865 private static AssetEntryLocalService _service;
866 }