1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
31 public class JournalArticleImageUtil {
32 public static com.liferay.portlet.journal.model.JournalArticleImage create(
33 long articleImageId) {
34 return getPersistence().create(articleImageId);
35 }
36
37 public static com.liferay.portlet.journal.model.JournalArticleImage remove(
38 long articleImageId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.journal.NoSuchArticleImageException {
41 return getPersistence().remove(articleImageId);
42 }
43
44 public static com.liferay.portlet.journal.model.JournalArticleImage remove(
45 com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(journalArticleImage);
48 }
49
50
53 public static com.liferay.portlet.journal.model.JournalArticleImage update(
54 com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(journalArticleImage);
57 }
58
59
72 public static com.liferay.portlet.journal.model.JournalArticleImage update(
73 com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
74 boolean merge) throws com.liferay.portal.SystemException {
75 return getPersistence().update(journalArticleImage, merge);
76 }
77
78 public static com.liferay.portlet.journal.model.JournalArticleImage updateImpl(
79 com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
80 boolean merge) throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(journalArticleImage, merge);
82 }
83
84 public static com.liferay.portlet.journal.model.JournalArticleImage findByPrimaryKey(
85 long articleImageId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.journal.NoSuchArticleImageException {
88 return getPersistence().findByPrimaryKey(articleImageId);
89 }
90
91 public static com.liferay.portlet.journal.model.JournalArticleImage fetchByPrimaryKey(
92 long articleImageId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(articleImageId);
94 }
95
96 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByGroupId(
97 long groupId) throws com.liferay.portal.SystemException {
98 return getPersistence().findByGroupId(groupId);
99 }
100
101 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByGroupId(
102 long groupId, int start, int end)
103 throws com.liferay.portal.SystemException {
104 return getPersistence().findByGroupId(groupId, start, end);
105 }
106
107 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByGroupId(
108 long groupId, int start, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().findByGroupId(groupId, start, end, obc);
112 }
113
114 public static com.liferay.portlet.journal.model.JournalArticleImage findByGroupId_First(
115 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.journal.NoSuchArticleImageException {
118 return getPersistence().findByGroupId_First(groupId, obc);
119 }
120
121 public static com.liferay.portlet.journal.model.JournalArticleImage findByGroupId_Last(
122 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.journal.NoSuchArticleImageException {
125 return getPersistence().findByGroupId_Last(groupId, obc);
126 }
127
128 public static com.liferay.portlet.journal.model.JournalArticleImage[] findByGroupId_PrevAndNext(
129 long articleImageId, long groupId,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.journal.NoSuchArticleImageException {
133 return getPersistence()
134 .findByGroupId_PrevAndNext(articleImageId, groupId, obc);
135 }
136
137 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByTempImage(
138 boolean tempImage) throws com.liferay.portal.SystemException {
139 return getPersistence().findByTempImage(tempImage);
140 }
141
142 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByTempImage(
143 boolean tempImage, int start, int end)
144 throws com.liferay.portal.SystemException {
145 return getPersistence().findByTempImage(tempImage, start, end);
146 }
147
148 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByTempImage(
149 boolean tempImage, int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException {
152 return getPersistence().findByTempImage(tempImage, start, end, obc);
153 }
154
155 public static com.liferay.portlet.journal.model.JournalArticleImage findByTempImage_First(
156 boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
157 throws com.liferay.portal.SystemException,
158 com.liferay.portlet.journal.NoSuchArticleImageException {
159 return getPersistence().findByTempImage_First(tempImage, obc);
160 }
161
162 public static com.liferay.portlet.journal.model.JournalArticleImage findByTempImage_Last(
163 boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.journal.NoSuchArticleImageException {
166 return getPersistence().findByTempImage_Last(tempImage, obc);
167 }
168
169 public static com.liferay.portlet.journal.model.JournalArticleImage[] findByTempImage_PrevAndNext(
170 long articleImageId, boolean tempImage,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException,
173 com.liferay.portlet.journal.NoSuchArticleImageException {
174 return getPersistence()
175 .findByTempImage_PrevAndNext(articleImageId, tempImage, obc);
176 }
177
178 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByG_A_V(
179 long groupId, java.lang.String articleId, double version)
180 throws com.liferay.portal.SystemException {
181 return getPersistence().findByG_A_V(groupId, articleId, version);
182 }
183
184 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByG_A_V(
185 long groupId, java.lang.String articleId, double version, int start,
186 int end) throws com.liferay.portal.SystemException {
187 return getPersistence()
188 .findByG_A_V(groupId, articleId, version, start, end);
189 }
190
191 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByG_A_V(
192 long groupId, java.lang.String articleId, double version, int start,
193 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException {
195 return getPersistence()
196 .findByG_A_V(groupId, articleId, version, start, end, obc);
197 }
198
199 public static com.liferay.portlet.journal.model.JournalArticleImage findByG_A_V_First(
200 long groupId, java.lang.String articleId, double version,
201 com.liferay.portal.kernel.util.OrderByComparator obc)
202 throws com.liferay.portal.SystemException,
203 com.liferay.portlet.journal.NoSuchArticleImageException {
204 return getPersistence()
205 .findByG_A_V_First(groupId, articleId, version, obc);
206 }
207
208 public static com.liferay.portlet.journal.model.JournalArticleImage findByG_A_V_Last(
209 long groupId, java.lang.String articleId, double version,
210 com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portlet.journal.NoSuchArticleImageException {
213 return getPersistence()
214 .findByG_A_V_Last(groupId, articleId, version, obc);
215 }
216
217 public static com.liferay.portlet.journal.model.JournalArticleImage[] findByG_A_V_PrevAndNext(
218 long articleImageId, long groupId, java.lang.String articleId,
219 double version, com.liferay.portal.kernel.util.OrderByComparator obc)
220 throws com.liferay.portal.SystemException,
221 com.liferay.portlet.journal.NoSuchArticleImageException {
222 return getPersistence()
223 .findByG_A_V_PrevAndNext(articleImageId, groupId, articleId,
224 version, obc);
225 }
226
227 public static com.liferay.portlet.journal.model.JournalArticleImage findByG_A_V_E_E_L(
228 long groupId, java.lang.String articleId, double version,
229 java.lang.String elInstanceId, java.lang.String elName,
230 java.lang.String languageId)
231 throws com.liferay.portal.SystemException,
232 com.liferay.portlet.journal.NoSuchArticleImageException {
233 return getPersistence()
234 .findByG_A_V_E_E_L(groupId, articleId, version,
235 elInstanceId, elName, languageId);
236 }
237
238 public static com.liferay.portlet.journal.model.JournalArticleImage fetchByG_A_V_E_E_L(
239 long groupId, java.lang.String articleId, double version,
240 java.lang.String elInstanceId, java.lang.String elName,
241 java.lang.String languageId) throws com.liferay.portal.SystemException {
242 return getPersistence()
243 .fetchByG_A_V_E_E_L(groupId, articleId, version,
244 elInstanceId, elName, languageId);
245 }
246
247 public static java.util.List<Object> findWithDynamicQuery(
248 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
249 throws com.liferay.portal.SystemException {
250 return getPersistence().findWithDynamicQuery(dynamicQuery);
251 }
252
253 public static java.util.List<Object> findWithDynamicQuery(
254 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
255 int end) throws com.liferay.portal.SystemException {
256 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
257 }
258
259 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findAll()
260 throws com.liferay.portal.SystemException {
261 return getPersistence().findAll();
262 }
263
264 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findAll(
265 int start, int end) throws com.liferay.portal.SystemException {
266 return getPersistence().findAll(start, end);
267 }
268
269 public static java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findAll(
270 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
271 throws com.liferay.portal.SystemException {
272 return getPersistence().findAll(start, end, obc);
273 }
274
275 public static void removeByGroupId(long groupId)
276 throws com.liferay.portal.SystemException {
277 getPersistence().removeByGroupId(groupId);
278 }
279
280 public static void removeByTempImage(boolean tempImage)
281 throws com.liferay.portal.SystemException {
282 getPersistence().removeByTempImage(tempImage);
283 }
284
285 public static void removeByG_A_V(long groupId, java.lang.String articleId,
286 double version) throws com.liferay.portal.SystemException {
287 getPersistence().removeByG_A_V(groupId, articleId, version);
288 }
289
290 public static void removeByG_A_V_E_E_L(long groupId,
291 java.lang.String articleId, double version,
292 java.lang.String elInstanceId, java.lang.String elName,
293 java.lang.String languageId)
294 throws com.liferay.portal.SystemException,
295 com.liferay.portlet.journal.NoSuchArticleImageException {
296 getPersistence()
297 .removeByG_A_V_E_E_L(groupId, articleId, version, elInstanceId,
298 elName, languageId);
299 }
300
301 public static void removeAll() throws com.liferay.portal.SystemException {
302 getPersistence().removeAll();
303 }
304
305 public static int countByGroupId(long groupId)
306 throws com.liferay.portal.SystemException {
307 return getPersistence().countByGroupId(groupId);
308 }
309
310 public static int countByTempImage(boolean tempImage)
311 throws com.liferay.portal.SystemException {
312 return getPersistence().countByTempImage(tempImage);
313 }
314
315 public static int countByG_A_V(long groupId, java.lang.String articleId,
316 double version) throws com.liferay.portal.SystemException {
317 return getPersistence().countByG_A_V(groupId, articleId, version);
318 }
319
320 public static int countByG_A_V_E_E_L(long groupId,
321 java.lang.String articleId, double version,
322 java.lang.String elInstanceId, java.lang.String elName,
323 java.lang.String languageId) throws com.liferay.portal.SystemException {
324 return getPersistence()
325 .countByG_A_V_E_E_L(groupId, articleId, version,
326 elInstanceId, elName, languageId);
327 }
328
329 public static int countAll() throws com.liferay.portal.SystemException {
330 return getPersistence().countAll();
331 }
332
333 public static JournalArticleImagePersistence getPersistence() {
334 return _persistence;
335 }
336
337 public void setPersistence(JournalArticleImagePersistence persistence) {
338 _persistence = persistence;
339 }
340
341 private static JournalArticleImagePersistence _persistence;
342 }