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