1
19
20 package com.liferay.portlet.tags.service.persistence;
21
22
28 public interface TagsAssetFinder {
29 public 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
34 public int countByAndEntryIds(long groupId, long[] classNameIds,
35 long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount,
36 java.util.Date publishDate, java.util.Date expirationDate)
37 throws com.liferay.portal.SystemException;
38
39 public int countByOrEntryIds(long groupId, long[] classNameIds,
40 long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount,
41 java.util.Date publishDate, java.util.Date expirationDate)
42 throws com.liferay.portal.SystemException;
43
44 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findAssets(
45 long groupId, long[] classNameIds, java.lang.String orderByCol1,
46 java.lang.String orderByCol2, java.lang.String orderByType1,
47 java.lang.String orderByType2, boolean excludeZeroViewCount,
48 java.util.Date publishDate, java.util.Date expirationDate, int start,
49 int end) throws com.liferay.portal.SystemException;
50
51 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByAndEntryIds(
52 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
53 java.lang.String orderByCol1, java.lang.String orderByCol2,
54 java.lang.String orderByType1, java.lang.String orderByType2,
55 boolean excludeZeroViewCount, java.util.Date publishDate,
56 java.util.Date expirationDate, int start, int end)
57 throws com.liferay.portal.SystemException;
58
59 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByOrEntryIds(
60 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
61 java.util.Date publishDate, java.util.Date expirationDate)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByOrEntryIds(
65 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
66 java.lang.String orderByCol1, java.lang.String orderByCol2,
67 java.lang.String orderByType1, java.lang.String orderByType2,
68 boolean excludeZeroViewCount, java.util.Date publishDate,
69 java.util.Date expirationDate, int start, int end)
70 throws com.liferay.portal.SystemException;
71
72 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByViewCount(
73 long[] classNameId, boolean asc, int start, int end)
74 throws com.liferay.portal.SystemException;
75 }