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