1
14
15 package com.liferay.portlet.blogs.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.blogs.model.BlogsStatsUser;
20
21
34 public interface BlogsStatsUserPersistence extends BasePersistence<BlogsStatsUser> {
35 public void cacheResult(
36 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> blogsStatsUsers);
40
41 public com.liferay.portlet.blogs.model.BlogsStatsUser create(
42 long statsUserId);
43
44 public com.liferay.portlet.blogs.model.BlogsStatsUser remove(
45 long statsUserId)
46 throws com.liferay.portal.SystemException,
47 com.liferay.portlet.blogs.NoSuchStatsUserException;
48
49
52 public com.liferay.portlet.blogs.model.BlogsStatsUser update(
53 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.blogs.model.BlogsStatsUser updateImpl(
57 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.blogs.model.BlogsStatsUser findByPrimaryKey(
61 long statsUserId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.blogs.NoSuchStatsUserException;
64
65 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByPrimaryKey(
66 long statsUserId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
69 long groupId) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
72 long groupId, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
76 long groupId, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator obc)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_First(
81 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portlet.blogs.NoSuchStatsUserException;
84
85 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_Last(
86 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.blogs.NoSuchStatsUserException;
89
90 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByGroupId_PrevAndNext(
91 long statsUserId, long groupId,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.blogs.NoSuchStatsUserException;
95
96 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
97 long userId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
100 long userId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
104 long userId, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_First(
109 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.blogs.NoSuchStatsUserException;
112
113 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_Last(
114 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.blogs.NoSuchStatsUserException;
117
118 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByUserId_PrevAndNext(
119 long statsUserId, long userId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.blogs.NoSuchStatsUserException;
123
124 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_U(
125 long groupId, long userId)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.blogs.NoSuchStatsUserException;
128
129 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
130 long groupId, long userId) throws com.liferay.portal.SystemException;
131
132 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
133 long groupId, long userId, boolean retrieveFromCache)
134 throws com.liferay.portal.SystemException;
135
136 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
137 long groupId, int entryCount) throws com.liferay.portal.SystemException;
138
139 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
140 long groupId, int entryCount, int start, int end)
141 throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
144 long groupId, int entryCount, int start, int end,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.SystemException;
147
148 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_First(
149 long groupId, int entryCount,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.blogs.NoSuchStatsUserException;
153
154 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_Last(
155 long groupId, int entryCount,
156 com.liferay.portal.kernel.util.OrderByComparator obc)
157 throws com.liferay.portal.SystemException,
158 com.liferay.portlet.blogs.NoSuchStatsUserException;
159
160 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByG_E_PrevAndNext(
161 long statsUserId, long groupId, int entryCount,
162 com.liferay.portal.kernel.util.OrderByComparator obc)
163 throws com.liferay.portal.SystemException,
164 com.liferay.portlet.blogs.NoSuchStatsUserException;
165
166 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
167 long companyId, int entryCount)
168 throws com.liferay.portal.SystemException;
169
170 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
171 long companyId, int entryCount, int start, int end)
172 throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
175 long companyId, int entryCount, int start, int end,
176 com.liferay.portal.kernel.util.OrderByComparator obc)
177 throws com.liferay.portal.SystemException;
178
179 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_First(
180 long companyId, int entryCount,
181 com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.SystemException,
183 com.liferay.portlet.blogs.NoSuchStatsUserException;
184
185 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_Last(
186 long companyId, int entryCount,
187 com.liferay.portal.kernel.util.OrderByComparator obc)
188 throws com.liferay.portal.SystemException,
189 com.liferay.portlet.blogs.NoSuchStatsUserException;
190
191 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByC_E_PrevAndNext(
192 long statsUserId, long companyId, int entryCount,
193 com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException,
195 com.liferay.portlet.blogs.NoSuchStatsUserException;
196
197 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll()
198 throws com.liferay.portal.SystemException;
199
200 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
201 int start, int end) throws com.liferay.portal.SystemException;
202
203 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
204 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
205 throws com.liferay.portal.SystemException;
206
207 public void removeByGroupId(long groupId)
208 throws com.liferay.portal.SystemException;
209
210 public void removeByUserId(long userId)
211 throws com.liferay.portal.SystemException;
212
213 public void removeByG_U(long groupId, long userId)
214 throws com.liferay.portal.SystemException,
215 com.liferay.portlet.blogs.NoSuchStatsUserException;
216
217 public void removeByG_E(long groupId, int entryCount)
218 throws com.liferay.portal.SystemException;
219
220 public void removeByC_E(long companyId, int entryCount)
221 throws com.liferay.portal.SystemException;
222
223 public void removeAll() throws com.liferay.portal.SystemException;
224
225 public int countByGroupId(long groupId)
226 throws com.liferay.portal.SystemException;
227
228 public int countByUserId(long userId)
229 throws com.liferay.portal.SystemException;
230
231 public int countByG_U(long groupId, long userId)
232 throws com.liferay.portal.SystemException;
233
234 public int countByG_E(long groupId, int entryCount)
235 throws com.liferay.portal.SystemException;
236
237 public int countByC_E(long companyId, int entryCount)
238 throws com.liferay.portal.SystemException;
239
240 public int countAll() throws com.liferay.portal.SystemException;
241 }