1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
26
39 public class JournalFeedUtil {
40 public static void cacheResult(
41 com.liferay.portlet.journal.model.JournalFeed journalFeed) {
42 getPersistence().cacheResult(journalFeed);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portlet.journal.model.JournalFeed> journalFeeds) {
47 getPersistence().cacheResult(journalFeeds);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portlet.journal.model.JournalFeed create(long id) {
55 return getPersistence().create(id);
56 }
57
58 public static com.liferay.portlet.journal.model.JournalFeed remove(long id)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portlet.journal.NoSuchFeedException {
61 return getPersistence().remove(id);
62 }
63
64 public static com.liferay.portlet.journal.model.JournalFeed remove(
65 com.liferay.portlet.journal.model.JournalFeed journalFeed)
66 throws com.liferay.portal.SystemException {
67 return getPersistence().remove(journalFeed);
68 }
69
70
73 public static com.liferay.portlet.journal.model.JournalFeed update(
74 com.liferay.portlet.journal.model.JournalFeed journalFeed)
75 throws com.liferay.portal.SystemException {
76 return getPersistence().update(journalFeed);
77 }
78
79
91 public static com.liferay.portlet.journal.model.JournalFeed update(
92 com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
93 throws com.liferay.portal.SystemException {
94 return getPersistence().update(journalFeed, merge);
95 }
96
97 public static com.liferay.portlet.journal.model.JournalFeed updateImpl(
98 com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
99 throws com.liferay.portal.SystemException {
100 return getPersistence().updateImpl(journalFeed, merge);
101 }
102
103 public static com.liferay.portlet.journal.model.JournalFeed findByPrimaryKey(
104 long id)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.journal.NoSuchFeedException {
107 return getPersistence().findByPrimaryKey(id);
108 }
109
110 public static com.liferay.portlet.journal.model.JournalFeed fetchByPrimaryKey(
111 long id) throws com.liferay.portal.SystemException {
112 return getPersistence().fetchByPrimaryKey(id);
113 }
114
115 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
116 java.lang.String uuid) throws com.liferay.portal.SystemException {
117 return getPersistence().findByUuid(uuid);
118 }
119
120 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
121 java.lang.String uuid, int start, int end)
122 throws com.liferay.portal.SystemException {
123 return getPersistence().findByUuid(uuid, start, end);
124 }
125
126 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid(
127 java.lang.String uuid, int start, int end,
128 com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException {
130 return getPersistence().findByUuid(uuid, start, end, obc);
131 }
132
133 public static com.liferay.portlet.journal.model.JournalFeed findByUuid_First(
134 java.lang.String uuid,
135 com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.journal.NoSuchFeedException {
138 return getPersistence().findByUuid_First(uuid, obc);
139 }
140
141 public static com.liferay.portlet.journal.model.JournalFeed findByUuid_Last(
142 java.lang.String uuid,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.journal.NoSuchFeedException {
146 return getPersistence().findByUuid_Last(uuid, obc);
147 }
148
149 public static com.liferay.portlet.journal.model.JournalFeed[] findByUuid_PrevAndNext(
150 long id, java.lang.String uuid,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.journal.NoSuchFeedException {
154 return getPersistence().findByUuid_PrevAndNext(id, uuid, obc);
155 }
156
157 public static com.liferay.portlet.journal.model.JournalFeed findByUUID_G(
158 java.lang.String uuid, long groupId)
159 throws com.liferay.portal.SystemException,
160 com.liferay.portlet.journal.NoSuchFeedException {
161 return getPersistence().findByUUID_G(uuid, groupId);
162 }
163
164 public static com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
165 java.lang.String uuid, long groupId)
166 throws com.liferay.portal.SystemException {
167 return getPersistence().fetchByUUID_G(uuid, groupId);
168 }
169
170 public static com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G(
171 java.lang.String uuid, long groupId, boolean retrieveFromCache)
172 throws com.liferay.portal.SystemException {
173 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
174 }
175
176 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
177 long groupId) throws com.liferay.portal.SystemException {
178 return getPersistence().findByGroupId(groupId);
179 }
180
181 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
182 long groupId, int start, int end)
183 throws com.liferay.portal.SystemException {
184 return getPersistence().findByGroupId(groupId, start, end);
185 }
186
187 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId(
188 long groupId, int start, int end,
189 com.liferay.portal.kernel.util.OrderByComparator obc)
190 throws com.liferay.portal.SystemException {
191 return getPersistence().findByGroupId(groupId, start, end, obc);
192 }
193
194 public static com.liferay.portlet.journal.model.JournalFeed findByGroupId_First(
195 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.SystemException,
197 com.liferay.portlet.journal.NoSuchFeedException {
198 return getPersistence().findByGroupId_First(groupId, obc);
199 }
200
201 public static com.liferay.portlet.journal.model.JournalFeed findByGroupId_Last(
202 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException,
204 com.liferay.portlet.journal.NoSuchFeedException {
205 return getPersistence().findByGroupId_Last(groupId, obc);
206 }
207
208 public static com.liferay.portlet.journal.model.JournalFeed[] findByGroupId_PrevAndNext(
209 long id, long groupId,
210 com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portlet.journal.NoSuchFeedException {
213 return getPersistence().findByGroupId_PrevAndNext(id, groupId, obc);
214 }
215
216 public static com.liferay.portlet.journal.model.JournalFeed findByG_F(
217 long groupId, java.lang.String feedId)
218 throws com.liferay.portal.SystemException,
219 com.liferay.portlet.journal.NoSuchFeedException {
220 return getPersistence().findByG_F(groupId, feedId);
221 }
222
223 public static com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
224 long groupId, java.lang.String feedId)
225 throws com.liferay.portal.SystemException {
226 return getPersistence().fetchByG_F(groupId, feedId);
227 }
228
229 public static com.liferay.portlet.journal.model.JournalFeed fetchByG_F(
230 long groupId, java.lang.String feedId, boolean retrieveFromCache)
231 throws com.liferay.portal.SystemException {
232 return getPersistence().fetchByG_F(groupId, feedId, retrieveFromCache);
233 }
234
235 public static java.util.List<Object> findWithDynamicQuery(
236 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
237 throws com.liferay.portal.SystemException {
238 return getPersistence().findWithDynamicQuery(dynamicQuery);
239 }
240
241 public static java.util.List<Object> findWithDynamicQuery(
242 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
243 int end) throws com.liferay.portal.SystemException {
244 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
245 }
246
247 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll()
248 throws com.liferay.portal.SystemException {
249 return getPersistence().findAll();
250 }
251
252 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
253 int start, int end) throws com.liferay.portal.SystemException {
254 return getPersistence().findAll(start, end);
255 }
256
257 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll(
258 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
259 throws com.liferay.portal.SystemException {
260 return getPersistence().findAll(start, end, obc);
261 }
262
263 public static void removeByUuid(java.lang.String uuid)
264 throws com.liferay.portal.SystemException {
265 getPersistence().removeByUuid(uuid);
266 }
267
268 public static void removeByUUID_G(java.lang.String uuid, long groupId)
269 throws com.liferay.portal.SystemException,
270 com.liferay.portlet.journal.NoSuchFeedException {
271 getPersistence().removeByUUID_G(uuid, groupId);
272 }
273
274 public static void removeByGroupId(long groupId)
275 throws com.liferay.portal.SystemException {
276 getPersistence().removeByGroupId(groupId);
277 }
278
279 public static void removeByG_F(long groupId, java.lang.String feedId)
280 throws com.liferay.portal.SystemException,
281 com.liferay.portlet.journal.NoSuchFeedException {
282 getPersistence().removeByG_F(groupId, feedId);
283 }
284
285 public static void removeAll() throws com.liferay.portal.SystemException {
286 getPersistence().removeAll();
287 }
288
289 public static int countByUuid(java.lang.String uuid)
290 throws com.liferay.portal.SystemException {
291 return getPersistence().countByUuid(uuid);
292 }
293
294 public static int countByUUID_G(java.lang.String uuid, long groupId)
295 throws com.liferay.portal.SystemException {
296 return getPersistence().countByUUID_G(uuid, groupId);
297 }
298
299 public static int countByGroupId(long groupId)
300 throws com.liferay.portal.SystemException {
301 return getPersistence().countByGroupId(groupId);
302 }
303
304 public static int countByG_F(long groupId, java.lang.String feedId)
305 throws com.liferay.portal.SystemException {
306 return getPersistence().countByG_F(groupId, feedId);
307 }
308
309 public static int countAll() throws com.liferay.portal.SystemException {
310 return getPersistence().countAll();
311 }
312
313 public static JournalFeedPersistence getPersistence() {
314 return _persistence;
315 }
316
317 public void setPersistence(JournalFeedPersistence persistence) {
318 _persistence = persistence;
319 }
320
321 private static JournalFeedPersistence _persistence;
322 }