1
14
15 package com.liferay.portlet.tags.service.persistence;
16
17
22 public interface TagsAssetFinder {
23 public int countAssets(long groupId, long[] classNameIds,
24 boolean excludeZeroViewCount, java.util.Date publishDate,
25 java.util.Date expirationDate)
26 throws com.liferay.portal.SystemException;
27
28 public int countByAndEntryIds(long groupId, long[] classNameIds,
29 long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount,
30 java.util.Date publishDate, java.util.Date expirationDate)
31 throws com.liferay.portal.SystemException;
32
33 public int countByOrEntryIds(long groupId, long[] classNameIds,
34 long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount,
35 java.util.Date publishDate, java.util.Date expirationDate)
36 throws com.liferay.portal.SystemException;
37
38 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findAssets(
39 long groupId, long[] classNameIds, java.lang.String orderByCol1,
40 java.lang.String orderByCol2, java.lang.String orderByType1,
41 java.lang.String orderByType2, boolean excludeZeroViewCount,
42 java.util.Date publishDate, java.util.Date expirationDate, int start,
43 int end) throws com.liferay.portal.SystemException;
44
45 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByAndEntryIds(
46 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
47 java.lang.String orderByCol1, java.lang.String orderByCol2,
48 java.lang.String orderByType1, java.lang.String orderByType2,
49 boolean excludeZeroViewCount, java.util.Date publishDate,
50 java.util.Date expirationDate, int start, int end)
51 throws com.liferay.portal.SystemException;
52
53 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByOrEntryIds(
54 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
55 java.util.Date publishDate, java.util.Date expirationDate)
56 throws com.liferay.portal.SystemException;
57
58 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByOrEntryIds(
59 long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
60 java.lang.String orderByCol1, java.lang.String orderByCol2,
61 java.lang.String orderByType1, java.lang.String orderByType2,
62 boolean excludeZeroViewCount, java.util.Date publishDate,
63 java.util.Date expirationDate, int start, int end)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByViewCount(
67 long[] classNameId, boolean asc, int start, int end)
68 throws com.liferay.portal.SystemException;
69 }