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