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