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