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 public static com.liferay.portlet.journal.model.JournalArticleImage update(
51 com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(journalArticleImage);
54 }
55
56 public static com.liferay.portlet.journal.model.JournalArticleImage update(
57 com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
58 boolean merge) throws com.liferay.portal.SystemException {
59 return getPersistence().update(journalArticleImage, merge);
60 }
61
62 public static com.liferay.portlet.journal.model.JournalArticleImage updateImpl(
63 com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
64 boolean merge) throws com.liferay.portal.SystemException {
65 return getPersistence().updateImpl(journalArticleImage, merge);
66 }
67
68 public static com.liferay.portlet.journal.model.JournalArticleImage findByPrimaryKey(
69 long articleImageId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.journal.NoSuchArticleImageException {
72 return getPersistence().findByPrimaryKey(articleImageId);
73 }
74
75 public static com.liferay.portlet.journal.model.JournalArticleImage fetchByPrimaryKey(
76 long articleImageId) throws com.liferay.portal.SystemException {
77 return getPersistence().fetchByPrimaryKey(articleImageId);
78 }
79
80 public static java.util.List findByGroupId(long groupId)
81 throws com.liferay.portal.SystemException {
82 return getPersistence().findByGroupId(groupId);
83 }
84
85 public static java.util.List findByGroupId(long groupId, int begin, int end)
86 throws com.liferay.portal.SystemException {
87 return getPersistence().findByGroupId(groupId, begin, end);
88 }
89
90 public static java.util.List findByGroupId(long groupId, int begin,
91 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.SystemException {
93 return getPersistence().findByGroupId(groupId, begin, end, obc);
94 }
95
96 public static com.liferay.portlet.journal.model.JournalArticleImage findByGroupId_First(
97 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.journal.NoSuchArticleImageException {
100 return getPersistence().findByGroupId_First(groupId, obc);
101 }
102
103 public static com.liferay.portlet.journal.model.JournalArticleImage findByGroupId_Last(
104 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.journal.NoSuchArticleImageException {
107 return getPersistence().findByGroupId_Last(groupId, obc);
108 }
109
110 public static com.liferay.portlet.journal.model.JournalArticleImage[] findByGroupId_PrevAndNext(
111 long articleImageId, long groupId,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.journal.NoSuchArticleImageException {
115 return getPersistence().findByGroupId_PrevAndNext(articleImageId,
116 groupId, obc);
117 }
118
119 public static java.util.List findByTempImage(boolean tempImage)
120 throws com.liferay.portal.SystemException {
121 return getPersistence().findByTempImage(tempImage);
122 }
123
124 public static java.util.List findByTempImage(boolean tempImage, int begin,
125 int end) throws com.liferay.portal.SystemException {
126 return getPersistence().findByTempImage(tempImage, begin, end);
127 }
128
129 public static java.util.List findByTempImage(boolean tempImage, int begin,
130 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().findByTempImage(tempImage, begin, end, obc);
133 }
134
135 public static com.liferay.portlet.journal.model.JournalArticleImage findByTempImage_First(
136 boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.journal.NoSuchArticleImageException {
139 return getPersistence().findByTempImage_First(tempImage, obc);
140 }
141
142 public static com.liferay.portlet.journal.model.JournalArticleImage findByTempImage_Last(
143 boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.journal.NoSuchArticleImageException {
146 return getPersistence().findByTempImage_Last(tempImage, obc);
147 }
148
149 public static com.liferay.portlet.journal.model.JournalArticleImage[] findByTempImage_PrevAndNext(
150 long articleImageId, boolean tempImage,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.journal.NoSuchArticleImageException {
154 return getPersistence().findByTempImage_PrevAndNext(articleImageId,
155 tempImage, obc);
156 }
157
158 public static java.util.List findByG_A_V(long groupId,
159 java.lang.String articleId, double version)
160 throws com.liferay.portal.SystemException {
161 return getPersistence().findByG_A_V(groupId, articleId, version);
162 }
163
164 public static java.util.List findByG_A_V(long groupId,
165 java.lang.String articleId, double version, int begin, int end)
166 throws com.liferay.portal.SystemException {
167 return getPersistence().findByG_A_V(groupId, articleId, version, begin,
168 end);
169 }
170
171 public static java.util.List findByG_A_V(long groupId,
172 java.lang.String articleId, double version, int begin, int end,
173 com.liferay.portal.kernel.util.OrderByComparator obc)
174 throws com.liferay.portal.SystemException {
175 return getPersistence().findByG_A_V(groupId, articleId, version, begin,
176 end, obc);
177 }
178
179 public static com.liferay.portlet.journal.model.JournalArticleImage findByG_A_V_First(
180 long groupId, java.lang.String articleId, double version,
181 com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.SystemException,
183 com.liferay.portlet.journal.NoSuchArticleImageException {
184 return getPersistence().findByG_A_V_First(groupId, articleId, version,
185 obc);
186 }
187
188 public static com.liferay.portlet.journal.model.JournalArticleImage findByG_A_V_Last(
189 long groupId, java.lang.String articleId, double version,
190 com.liferay.portal.kernel.util.OrderByComparator obc)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portlet.journal.NoSuchArticleImageException {
193 return getPersistence().findByG_A_V_Last(groupId, articleId, version,
194 obc);
195 }
196
197 public static com.liferay.portlet.journal.model.JournalArticleImage[] findByG_A_V_PrevAndNext(
198 long articleImageId, long groupId, java.lang.String articleId,
199 double version, com.liferay.portal.kernel.util.OrderByComparator obc)
200 throws com.liferay.portal.SystemException,
201 com.liferay.portlet.journal.NoSuchArticleImageException {
202 return getPersistence().findByG_A_V_PrevAndNext(articleImageId,
203 groupId, articleId, version, obc);
204 }
205
206 public static com.liferay.portlet.journal.model.JournalArticleImage findByG_A_V_E_L(
207 long groupId, java.lang.String articleId, double version,
208 java.lang.String elName, java.lang.String languageId)
209 throws com.liferay.portal.SystemException,
210 com.liferay.portlet.journal.NoSuchArticleImageException {
211 return getPersistence().findByG_A_V_E_L(groupId, articleId, version,
212 elName, languageId);
213 }
214
215 public static com.liferay.portlet.journal.model.JournalArticleImage fetchByG_A_V_E_L(
216 long groupId, java.lang.String articleId, double version,
217 java.lang.String elName, java.lang.String languageId)
218 throws com.liferay.portal.SystemException {
219 return getPersistence().fetchByG_A_V_E_L(groupId, articleId, version,
220 elName, languageId);
221 }
222
223 public static java.util.List findWithDynamicQuery(
224 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
225 throws com.liferay.portal.SystemException {
226 return getPersistence().findWithDynamicQuery(queryInitializer);
227 }
228
229 public static java.util.List findWithDynamicQuery(
230 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
231 int begin, int end) throws com.liferay.portal.SystemException {
232 return getPersistence().findWithDynamicQuery(queryInitializer, begin,
233 end);
234 }
235
236 public static java.util.List findAll()
237 throws com.liferay.portal.SystemException {
238 return getPersistence().findAll();
239 }
240
241 public static java.util.List findAll(int begin, int end)
242 throws com.liferay.portal.SystemException {
243 return getPersistence().findAll(begin, end);
244 }
245
246 public static java.util.List findAll(int begin, int end,
247 com.liferay.portal.kernel.util.OrderByComparator obc)
248 throws com.liferay.portal.SystemException {
249 return getPersistence().findAll(begin, end, obc);
250 }
251
252 public static void removeByGroupId(long groupId)
253 throws com.liferay.portal.SystemException {
254 getPersistence().removeByGroupId(groupId);
255 }
256
257 public static void removeByTempImage(boolean tempImage)
258 throws com.liferay.portal.SystemException {
259 getPersistence().removeByTempImage(tempImage);
260 }
261
262 public static void removeByG_A_V(long groupId, java.lang.String articleId,
263 double version) throws com.liferay.portal.SystemException {
264 getPersistence().removeByG_A_V(groupId, articleId, version);
265 }
266
267 public static void removeByG_A_V_E_L(long groupId,
268 java.lang.String articleId, double version, java.lang.String elName,
269 java.lang.String languageId)
270 throws com.liferay.portal.SystemException,
271 com.liferay.portlet.journal.NoSuchArticleImageException {
272 getPersistence().removeByG_A_V_E_L(groupId, articleId, version, elName,
273 languageId);
274 }
275
276 public static void removeAll() throws com.liferay.portal.SystemException {
277 getPersistence().removeAll();
278 }
279
280 public static int countByGroupId(long groupId)
281 throws com.liferay.portal.SystemException {
282 return getPersistence().countByGroupId(groupId);
283 }
284
285 public static int countByTempImage(boolean tempImage)
286 throws com.liferay.portal.SystemException {
287 return getPersistence().countByTempImage(tempImage);
288 }
289
290 public static int countByG_A_V(long groupId, java.lang.String articleId,
291 double version) throws com.liferay.portal.SystemException {
292 return getPersistence().countByG_A_V(groupId, articleId, version);
293 }
294
295 public static int countByG_A_V_E_L(long groupId,
296 java.lang.String articleId, double version, java.lang.String elName,
297 java.lang.String languageId) throws com.liferay.portal.SystemException {
298 return getPersistence().countByG_A_V_E_L(groupId, articleId, version,
299 elName, languageId);
300 }
301
302 public static int countAll() throws com.liferay.portal.SystemException {
303 return getPersistence().countAll();
304 }
305
306 public static JournalArticleImagePersistence getPersistence() {
307 return _getUtil()._persistence;
308 }
309
310 public void setPersistence(JournalArticleImagePersistence persistence) {
311 _persistence = persistence;
312 }
313
314 private static JournalArticleImageUtil _getUtil() {
315 if (_util == null) {
316 _util = (JournalArticleImageUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
317 }
318
319 return _util;
320 }
321
322 private static final String _UTIL = JournalArticleImageUtil.class.getName();
323 private static JournalArticleImageUtil _util;
324 private JournalArticleImagePersistence _persistence;
325 }