1
22
23 package com.liferay.portlet.blogs.service.persistence;
24
25
31 public interface BlogsEntryPersistence {
32 public com.liferay.portlet.blogs.model.BlogsEntry create(long entryId);
33
34 public com.liferay.portlet.blogs.model.BlogsEntry remove(long entryId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.blogs.NoSuchEntryException;
37
38 public com.liferay.portlet.blogs.model.BlogsEntry remove(
39 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portlet.blogs.model.BlogsEntry update(
43 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portlet.blogs.model.BlogsEntry update(
47 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
48 throws com.liferay.portal.SystemException;
49
50 public com.liferay.portlet.blogs.model.BlogsEntry updateImpl(
51 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey(
55 long entryId)
56 throws com.liferay.portal.SystemException,
57 com.liferay.portlet.blogs.NoSuchEntryException;
58
59 public com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(
60 long entryId) throws com.liferay.portal.SystemException;
61
62 public java.util.List findByUuid(java.lang.String uuid)
63 throws com.liferay.portal.SystemException;
64
65 public java.util.List findByUuid(java.lang.String uuid, int begin, int end)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List findByUuid(java.lang.String uuid, int begin, int end,
69 com.liferay.portal.kernel.util.OrderByComparator obc)
70 throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First(
73 java.lang.String uuid,
74 com.liferay.portal.kernel.util.OrderByComparator obc)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portlet.blogs.NoSuchEntryException;
77
78 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last(
79 java.lang.String uuid,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.blogs.NoSuchEntryException;
83
84 public com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext(
85 long entryId, java.lang.String uuid,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.blogs.NoSuchEntryException;
89
90 public com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G(
91 java.lang.String uuid, long groupId)
92 throws com.liferay.portal.SystemException,
93 com.liferay.portlet.blogs.NoSuchEntryException;
94
95 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
96 java.lang.String uuid, long groupId)
97 throws com.liferay.portal.SystemException;
98
99 public java.util.List findByGroupId(long groupId)
100 throws com.liferay.portal.SystemException;
101
102 public java.util.List findByGroupId(long groupId, int begin, int end)
103 throws com.liferay.portal.SystemException;
104
105 public java.util.List findByGroupId(long groupId, int begin, int end,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException;
108
109 public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First(
110 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.blogs.NoSuchEntryException;
113
114 public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last(
115 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.blogs.NoSuchEntryException;
118
119 public com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext(
120 long entryId, long groupId,
121 com.liferay.portal.kernel.util.OrderByComparator obc)
122 throws com.liferay.portal.SystemException,
123 com.liferay.portlet.blogs.NoSuchEntryException;
124
125 public java.util.List findByCompanyId(long companyId)
126 throws com.liferay.portal.SystemException;
127
128 public java.util.List findByCompanyId(long companyId, int begin, int end)
129 throws com.liferay.portal.SystemException;
130
131 public java.util.List findByCompanyId(long companyId, int begin, int end,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException;
134
135 public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First(
136 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.blogs.NoSuchEntryException;
139
140 public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last(
141 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.blogs.NoSuchEntryException;
144
145 public com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext(
146 long entryId, long companyId,
147 com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.SystemException,
149 com.liferay.portlet.blogs.NoSuchEntryException;
150
151 public java.util.List findByG_U(long groupId, long userId)
152 throws com.liferay.portal.SystemException;
153
154 public java.util.List findByG_U(long groupId, long userId, int begin,
155 int end) throws com.liferay.portal.SystemException;
156
157 public java.util.List findByG_U(long groupId, long userId, int begin,
158 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException;
160
161 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_First(
162 long groupId, long userId,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.blogs.NoSuchEntryException;
166
167 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_Last(
168 long groupId, long userId,
169 com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.blogs.NoSuchEntryException;
172
173 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_PrevAndNext(
174 long entryId, long groupId, long userId,
175 com.liferay.portal.kernel.util.OrderByComparator obc)
176 throws com.liferay.portal.SystemException,
177 com.liferay.portlet.blogs.NoSuchEntryException;
178
179 public com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(long groupId,
180 java.lang.String urlTitle)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.blogs.NoSuchEntryException;
183
184 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
185 long groupId, java.lang.String urlTitle)
186 throws com.liferay.portal.SystemException;
187
188 public java.util.List findByC_U(long companyId, long userId)
189 throws com.liferay.portal.SystemException;
190
191 public java.util.List findByC_U(long companyId, long userId, int begin,
192 int end) throws com.liferay.portal.SystemException;
193
194 public java.util.List findByC_U(long companyId, long userId, int begin,
195 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.SystemException;
197
198 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_First(
199 long companyId, long userId,
200 com.liferay.portal.kernel.util.OrderByComparator obc)
201 throws com.liferay.portal.SystemException,
202 com.liferay.portlet.blogs.NoSuchEntryException;
203
204 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_Last(
205 long companyId, long userId,
206 com.liferay.portal.kernel.util.OrderByComparator obc)
207 throws com.liferay.portal.SystemException,
208 com.liferay.portlet.blogs.NoSuchEntryException;
209
210 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_PrevAndNext(
211 long entryId, long companyId, long userId,
212 com.liferay.portal.kernel.util.OrderByComparator obc)
213 throws com.liferay.portal.SystemException,
214 com.liferay.portlet.blogs.NoSuchEntryException;
215
216 public java.util.List findWithDynamicQuery(
217 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
218 throws com.liferay.portal.SystemException;
219
220 public java.util.List findWithDynamicQuery(
221 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
222 int begin, int end) throws com.liferay.portal.SystemException;
223
224 public java.util.List findAll() throws com.liferay.portal.SystemException;
225
226 public java.util.List findAll(int begin, int end)
227 throws com.liferay.portal.SystemException;
228
229 public java.util.List findAll(int begin, int end,
230 com.liferay.portal.kernel.util.OrderByComparator obc)
231 throws com.liferay.portal.SystemException;
232
233 public void removeByUuid(java.lang.String uuid)
234 throws com.liferay.portal.SystemException;
235
236 public void removeByUUID_G(java.lang.String uuid, long groupId)
237 throws com.liferay.portal.SystemException,
238 com.liferay.portlet.blogs.NoSuchEntryException;
239
240 public void removeByGroupId(long groupId)
241 throws com.liferay.portal.SystemException;
242
243 public void removeByCompanyId(long companyId)
244 throws com.liferay.portal.SystemException;
245
246 public void removeByG_U(long groupId, long userId)
247 throws com.liferay.portal.SystemException;
248
249 public void removeByG_UT(long groupId, java.lang.String urlTitle)
250 throws com.liferay.portal.SystemException,
251 com.liferay.portlet.blogs.NoSuchEntryException;
252
253 public void removeByC_U(long companyId, long userId)
254 throws com.liferay.portal.SystemException;
255
256 public void removeAll() throws com.liferay.portal.SystemException;
257
258 public int countByUuid(java.lang.String uuid)
259 throws com.liferay.portal.SystemException;
260
261 public int countByUUID_G(java.lang.String uuid, long groupId)
262 throws com.liferay.portal.SystemException;
263
264 public int countByGroupId(long groupId)
265 throws com.liferay.portal.SystemException;
266
267 public int countByCompanyId(long companyId)
268 throws com.liferay.portal.SystemException;
269
270 public int countByG_U(long groupId, long userId)
271 throws com.liferay.portal.SystemException;
272
273 public int countByG_UT(long groupId, java.lang.String urlTitle)
274 throws com.liferay.portal.SystemException;
275
276 public int countByC_U(long companyId, long userId)
277 throws com.liferay.portal.SystemException;
278
279 public int countAll() throws com.liferay.portal.SystemException;
280 }