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