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