1
14
15 package com.liferay.portlet.asset.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.asset.model.AssetTagStats;
20
21
34 public interface AssetTagStatsPersistence extends BasePersistence<AssetTagStats> {
35 public void cacheResult(
36 com.liferay.portlet.asset.model.AssetTagStats assetTagStats);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.asset.model.AssetTagStats> assetTagStatses);
40
41 public com.liferay.portlet.asset.model.AssetTagStats create(long tagStatsId);
42
43 public com.liferay.portlet.asset.model.AssetTagStats remove(long tagStatsId)
44 throws com.liferay.portal.kernel.exception.SystemException,
45 com.liferay.portlet.asset.NoSuchTagStatsException;
46
47 public com.liferay.portlet.asset.model.AssetTagStats updateImpl(
48 com.liferay.portlet.asset.model.AssetTagStats assetTagStats,
49 boolean merge)
50 throws com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portlet.asset.model.AssetTagStats findByPrimaryKey(
53 long tagStatsId)
54 throws com.liferay.portal.kernel.exception.SystemException,
55 com.liferay.portlet.asset.NoSuchTagStatsException;
56
57 public com.liferay.portlet.asset.model.AssetTagStats fetchByPrimaryKey(
58 long tagStatsId)
59 throws com.liferay.portal.kernel.exception.SystemException;
60
61 public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByTagId(
62 long tagId) throws com.liferay.portal.kernel.exception.SystemException;
63
64 public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByTagId(
65 long tagId, int start, int end)
66 throws com.liferay.portal.kernel.exception.SystemException;
67
68 public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByTagId(
69 long tagId, int start, int end,
70 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
71 throws com.liferay.portal.kernel.exception.SystemException;
72
73 public com.liferay.portlet.asset.model.AssetTagStats findByTagId_First(
74 long tagId,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.kernel.exception.SystemException,
77 com.liferay.portlet.asset.NoSuchTagStatsException;
78
79 public com.liferay.portlet.asset.model.AssetTagStats findByTagId_Last(
80 long tagId,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.kernel.exception.SystemException,
83 com.liferay.portlet.asset.NoSuchTagStatsException;
84
85 public com.liferay.portlet.asset.model.AssetTagStats[] findByTagId_PrevAndNext(
86 long tagStatsId, long tagId,
87 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
88 throws com.liferay.portal.kernel.exception.SystemException,
89 com.liferay.portlet.asset.NoSuchTagStatsException;
90
91 public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByClassNameId(
92 long classNameId)
93 throws com.liferay.portal.kernel.exception.SystemException;
94
95 public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByClassNameId(
96 long classNameId, int start, int end)
97 throws com.liferay.portal.kernel.exception.SystemException;
98
99 public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findByClassNameId(
100 long classNameId, int start, int end,
101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public com.liferay.portlet.asset.model.AssetTagStats findByClassNameId_First(
105 long classNameId,
106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
107 throws com.liferay.portal.kernel.exception.SystemException,
108 com.liferay.portlet.asset.NoSuchTagStatsException;
109
110 public com.liferay.portlet.asset.model.AssetTagStats findByClassNameId_Last(
111 long classNameId,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.kernel.exception.SystemException,
114 com.liferay.portlet.asset.NoSuchTagStatsException;
115
116 public com.liferay.portlet.asset.model.AssetTagStats[] findByClassNameId_PrevAndNext(
117 long tagStatsId, long classNameId,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.kernel.exception.SystemException,
120 com.liferay.portlet.asset.NoSuchTagStatsException;
121
122 public com.liferay.portlet.asset.model.AssetTagStats findByT_C(long tagId,
123 long classNameId)
124 throws com.liferay.portal.kernel.exception.SystemException,
125 com.liferay.portlet.asset.NoSuchTagStatsException;
126
127 public com.liferay.portlet.asset.model.AssetTagStats fetchByT_C(
128 long tagId, long classNameId)
129 throws com.liferay.portal.kernel.exception.SystemException;
130
131 public com.liferay.portlet.asset.model.AssetTagStats fetchByT_C(
132 long tagId, long classNameId, boolean retrieveFromCache)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findAll()
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findAll(
139 int start, int end)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public java.util.List<com.liferay.portlet.asset.model.AssetTagStats> findAll(
143 int start, int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException;
146
147 public void removeByTagId(long tagId)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150 public void removeByClassNameId(long classNameId)
151 throws com.liferay.portal.kernel.exception.SystemException;
152
153 public void removeByT_C(long tagId, long classNameId)
154 throws com.liferay.portal.kernel.exception.SystemException,
155 com.liferay.portlet.asset.NoSuchTagStatsException;
156
157 public void removeAll()
158 throws com.liferay.portal.kernel.exception.SystemException;
159
160 public int countByTagId(long tagId)
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163 public int countByClassNameId(long classNameId)
164 throws com.liferay.portal.kernel.exception.SystemException;
165
166 public int countByT_C(long tagId, long classNameId)
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 public int countAll()
170 throws com.liferay.portal.kernel.exception.SystemException;
171 }