1
19
20 package com.liferay.portlet.tags.service.persistence;
21
22
28 public class TagsAssetFinderUtil {
29 public static int countAssets(long groupId, long[] classNameIds,
30 boolean excludeZeroViewCount, java.util.Date publishDate,
31 java.util.Date expirationDate)
32 throws com.liferay.portal.SystemException {
33 return getFinder()
34 .countAssets(groupId, classNameIds, excludeZeroViewCount,
35 publishDate, expirationDate);
36 }
37
38 public static int countByAndEntryIds(long groupId, long[] classNameIds,
39 long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount,
40 java.util.Date publishDate, java.util.Date expirationDate)
41 throws com.liferay.portal.SystemException {
42 return getFinder()
43 .countByAndEntryIds(groupId, classNameIds, entryIds,
44 notEntryIds, excludeZeroViewCount, publishDate, expirationDate);
45 }
46
47 public static int countByOrEntryIds(long groupId, long[] classNameIds,
48 long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount,
49 java.util.Date publishDate, java.util.Date expirationDate)
50 throws com.liferay.portal.SystemException {
51 return getFinder()
52 .countByOrEntryIds(groupId, classNameIds, entryIds,
53 notEntryIds, excludeZeroViewCount, publishDate, expirationDate);
54 }
55
56 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findAssets(
57 long groupId, long[] classNameIds, java.lang.String orderByCol1,
58 java.lang.String orderByCol2, java.lang.String orderByType1,
59 java.lang.String orderByType2, boolean excludeZeroViewCount,
60 java.util.Date publishDate, java.util.Date expirationDate, int start,
61 int end) throws com.liferay.portal.SystemException {
62 return getFinder()
63 .findAssets(groupId, classNameIds, orderByCol1, orderByCol2,
64 orderByType1, orderByType2, excludeZeroViewCount, publishDate,
65 expirationDate, start, end);
66 }
67
68 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByAndEntryIds(
69 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
70 java.lang.String orderByCol1, java.lang.String orderByCol2,
71 java.lang.String orderByType1, java.lang.String orderByType2,
72 boolean excludeZeroViewCount, java.util.Date publishDate,
73 java.util.Date expirationDate, int start, int end)
74 throws com.liferay.portal.SystemException {
75 return getFinder()
76 .findByAndEntryIds(groupId, classNameIds, entryIds,
77 notEntryIds, orderByCol1, orderByCol2, orderByType1, orderByType2,
78 excludeZeroViewCount, publishDate, expirationDate, start, end);
79 }
80
81 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByOrEntryIds(
82 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
83 java.util.Date publishDate, java.util.Date expirationDate)
84 throws com.liferay.portal.SystemException {
85 return getFinder()
86 .findByOrEntryIds(groupId, classNameIds, entryIds,
87 notEntryIds, publishDate, expirationDate);
88 }
89
90 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByOrEntryIds(
91 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
92 java.lang.String orderByCol1, java.lang.String orderByCol2,
93 java.lang.String orderByType1, java.lang.String orderByType2,
94 boolean excludeZeroViewCount, java.util.Date publishDate,
95 java.util.Date expirationDate, int start, int end)
96 throws com.liferay.portal.SystemException {
97 return getFinder()
98 .findByOrEntryIds(groupId, classNameIds, entryIds,
99 notEntryIds, orderByCol1, orderByCol2, orderByType1, orderByType2,
100 excludeZeroViewCount, publishDate, expirationDate, start, end);
101 }
102
103 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByViewCount(
104 long[] classNameId, boolean asc, int start, int end)
105 throws com.liferay.portal.SystemException {
106 return getFinder().findByViewCount(classNameId, asc, start, end);
107 }
108
109 public static TagsAssetFinder getFinder() {
110 return _finder;
111 }
112
113 public void setFinder(TagsAssetFinder finder) {
114 _finder = finder;
115 }
116
117 private static TagsAssetFinder _finder;
118 }