001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.service;
022:
023: /**
024: * <a href="ImageLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This class provides static methods for the
033: * <code>com.liferay.portal.service.ImageLocalService</code>
034: * bean. The static methods of this class calls the same methods of the bean
035: * instance. It's convenient to be able to just write one line to call a method
036: * on a bean instead of writing a lookup call and a method call.
037: * </p>
038: *
039: * <p>
040: * <code>com.liferay.portal.service.ImageLocalServiceFactory</code>
041: * is responsible for the lookup of the bean.
042: * </p>
043: *
044: * @author Brian Wing Shun Chan
045: *
046: * @see com.liferay.portal.service.ImageLocalService
047: * @see com.liferay.portal.service.ImageLocalServiceFactory
048: *
049: */
050: public class ImageLocalServiceUtil {
051: public static com.liferay.portal.model.Image addImage(
052: com.liferay.portal.model.Image model)
053: throws com.liferay.portal.SystemException {
054: ImageLocalService imageLocalService = ImageLocalServiceFactory
055: .getService();
056:
057: return imageLocalService.addImage(model);
058: }
059:
060: public static java.util.List dynamicQuery(
061: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
062: throws com.liferay.portal.SystemException {
063: ImageLocalService imageLocalService = ImageLocalServiceFactory
064: .getService();
065:
066: return imageLocalService.dynamicQuery(queryInitializer);
067: }
068:
069: public static java.util.List dynamicQuery(
070: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
071: int begin, int end)
072: throws com.liferay.portal.SystemException {
073: ImageLocalService imageLocalService = ImageLocalServiceFactory
074: .getService();
075:
076: return imageLocalService.dynamicQuery(queryInitializer, begin,
077: end);
078: }
079:
080: public static com.liferay.portal.model.Image updateImage(
081: com.liferay.portal.model.Image model)
082: throws com.liferay.portal.SystemException {
083: ImageLocalService imageLocalService = ImageLocalServiceFactory
084: .getService();
085:
086: return imageLocalService.updateImage(model);
087: }
088:
089: public static com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence() {
090: ImageLocalService imageLocalService = ImageLocalServiceFactory
091: .getService();
092:
093: return imageLocalService.getAccountPersistence();
094: }
095:
096: public static void setAccountPersistence(
097: com.liferay.portal.service.persistence.AccountPersistence accountPersistence) {
098: ImageLocalService imageLocalService = ImageLocalServiceFactory
099: .getService();
100:
101: imageLocalService.setAccountPersistence(accountPersistence);
102: }
103:
104: public static com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence() {
105: ImageLocalService imageLocalService = ImageLocalServiceFactory
106: .getService();
107:
108: return imageLocalService.getActivityTrackerPersistence();
109: }
110:
111: public static void setActivityTrackerPersistence(
112: com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence) {
113: ImageLocalService imageLocalService = ImageLocalServiceFactory
114: .getService();
115:
116: imageLocalService
117: .setActivityTrackerPersistence(activityTrackerPersistence);
118: }
119:
120: public static com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder() {
121: ImageLocalService imageLocalService = ImageLocalServiceFactory
122: .getService();
123:
124: return imageLocalService.getActivityTrackerFinder();
125: }
126:
127: public static void setActivityTrackerFinder(
128: com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder) {
129: ImageLocalService imageLocalService = ImageLocalServiceFactory
130: .getService();
131:
132: imageLocalService
133: .setActivityTrackerFinder(activityTrackerFinder);
134: }
135:
136: public static com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence() {
137: ImageLocalService imageLocalService = ImageLocalServiceFactory
138: .getService();
139:
140: return imageLocalService.getAddressPersistence();
141: }
142:
143: public static void setAddressPersistence(
144: com.liferay.portal.service.persistence.AddressPersistence addressPersistence) {
145: ImageLocalService imageLocalService = ImageLocalServiceFactory
146: .getService();
147:
148: imageLocalService.setAddressPersistence(addressPersistence);
149: }
150:
151: public static com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence() {
152: ImageLocalService imageLocalService = ImageLocalServiceFactory
153: .getService();
154:
155: return imageLocalService.getClassNamePersistence();
156: }
157:
158: public static void setClassNamePersistence(
159: com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence) {
160: ImageLocalService imageLocalService = ImageLocalServiceFactory
161: .getService();
162:
163: imageLocalService.setClassNamePersistence(classNamePersistence);
164: }
165:
166: public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
167: ImageLocalService imageLocalService = ImageLocalServiceFactory
168: .getService();
169:
170: return imageLocalService.getCompanyPersistence();
171: }
172:
173: public static void setCompanyPersistence(
174: com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
175: ImageLocalService imageLocalService = ImageLocalServiceFactory
176: .getService();
177:
178: imageLocalService.setCompanyPersistence(companyPersistence);
179: }
180:
181: public static com.liferay.portal.service.persistence.ContactPersistence getContactPersistence() {
182: ImageLocalService imageLocalService = ImageLocalServiceFactory
183: .getService();
184:
185: return imageLocalService.getContactPersistence();
186: }
187:
188: public static void setContactPersistence(
189: com.liferay.portal.service.persistence.ContactPersistence contactPersistence) {
190: ImageLocalService imageLocalService = ImageLocalServiceFactory
191: .getService();
192:
193: imageLocalService.setContactPersistence(contactPersistence);
194: }
195:
196: public static com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence() {
197: ImageLocalService imageLocalService = ImageLocalServiceFactory
198: .getService();
199:
200: return imageLocalService.getCountryPersistence();
201: }
202:
203: public static void setCountryPersistence(
204: com.liferay.portal.service.persistence.CountryPersistence countryPersistence) {
205: ImageLocalService imageLocalService = ImageLocalServiceFactory
206: .getService();
207:
208: imageLocalService.setCountryPersistence(countryPersistence);
209: }
210:
211: public static com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence() {
212: ImageLocalService imageLocalService = ImageLocalServiceFactory
213: .getService();
214:
215: return imageLocalService.getEmailAddressPersistence();
216: }
217:
218: public static void setEmailAddressPersistence(
219: com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence) {
220: ImageLocalService imageLocalService = ImageLocalServiceFactory
221: .getService();
222:
223: imageLocalService
224: .setEmailAddressPersistence(emailAddressPersistence);
225: }
226:
227: public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
228: ImageLocalService imageLocalService = ImageLocalServiceFactory
229: .getService();
230:
231: return imageLocalService.getGroupPersistence();
232: }
233:
234: public static void setGroupPersistence(
235: com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
236: ImageLocalService imageLocalService = ImageLocalServiceFactory
237: .getService();
238:
239: imageLocalService.setGroupPersistence(groupPersistence);
240: }
241:
242: public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
243: ImageLocalService imageLocalService = ImageLocalServiceFactory
244: .getService();
245:
246: return imageLocalService.getGroupFinder();
247: }
248:
249: public static void setGroupFinder(
250: com.liferay.portal.service.persistence.GroupFinder groupFinder) {
251: ImageLocalService imageLocalService = ImageLocalServiceFactory
252: .getService();
253:
254: imageLocalService.setGroupFinder(groupFinder);
255: }
256:
257: public static com.liferay.portal.service.persistence.ImagePersistence getImagePersistence() {
258: ImageLocalService imageLocalService = ImageLocalServiceFactory
259: .getService();
260:
261: return imageLocalService.getImagePersistence();
262: }
263:
264: public static void setImagePersistence(
265: com.liferay.portal.service.persistence.ImagePersistence imagePersistence) {
266: ImageLocalService imageLocalService = ImageLocalServiceFactory
267: .getService();
268:
269: imageLocalService.setImagePersistence(imagePersistence);
270: }
271:
272: public static com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence() {
273: ImageLocalService imageLocalService = ImageLocalServiceFactory
274: .getService();
275:
276: return imageLocalService.getLayoutPersistence();
277: }
278:
279: public static void setLayoutPersistence(
280: com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence) {
281: ImageLocalService imageLocalService = ImageLocalServiceFactory
282: .getService();
283:
284: imageLocalService.setLayoutPersistence(layoutPersistence);
285: }
286:
287: public static com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder() {
288: ImageLocalService imageLocalService = ImageLocalServiceFactory
289: .getService();
290:
291: return imageLocalService.getLayoutFinder();
292: }
293:
294: public static void setLayoutFinder(
295: com.liferay.portal.service.persistence.LayoutFinder layoutFinder) {
296: ImageLocalService imageLocalService = ImageLocalServiceFactory
297: .getService();
298:
299: imageLocalService.setLayoutFinder(layoutFinder);
300: }
301:
302: public static com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence() {
303: ImageLocalService imageLocalService = ImageLocalServiceFactory
304: .getService();
305:
306: return imageLocalService.getLayoutSetPersistence();
307: }
308:
309: public static void setLayoutSetPersistence(
310: com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence) {
311: ImageLocalService imageLocalService = ImageLocalServiceFactory
312: .getService();
313:
314: imageLocalService.setLayoutSetPersistence(layoutSetPersistence);
315: }
316:
317: public static com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence() {
318: ImageLocalService imageLocalService = ImageLocalServiceFactory
319: .getService();
320:
321: return imageLocalService.getListTypePersistence();
322: }
323:
324: public static void setListTypePersistence(
325: com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence) {
326: ImageLocalService imageLocalService = ImageLocalServiceFactory
327: .getService();
328:
329: imageLocalService.setListTypePersistence(listTypePersistence);
330: }
331:
332: public static com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence() {
333: ImageLocalService imageLocalService = ImageLocalServiceFactory
334: .getService();
335:
336: return imageLocalService.getMembershipRequestPersistence();
337: }
338:
339: public static void setMembershipRequestPersistence(
340: com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence) {
341: ImageLocalService imageLocalService = ImageLocalServiceFactory
342: .getService();
343:
344: imageLocalService
345: .setMembershipRequestPersistence(membershipRequestPersistence);
346: }
347:
348: public static com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence() {
349: ImageLocalService imageLocalService = ImageLocalServiceFactory
350: .getService();
351:
352: return imageLocalService.getOrganizationPersistence();
353: }
354:
355: public static void setOrganizationPersistence(
356: com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence) {
357: ImageLocalService imageLocalService = ImageLocalServiceFactory
358: .getService();
359:
360: imageLocalService
361: .setOrganizationPersistence(organizationPersistence);
362: }
363:
364: public static com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder() {
365: ImageLocalService imageLocalService = ImageLocalServiceFactory
366: .getService();
367:
368: return imageLocalService.getOrganizationFinder();
369: }
370:
371: public static void setOrganizationFinder(
372: com.liferay.portal.service.persistence.OrganizationFinder organizationFinder) {
373: ImageLocalService imageLocalService = ImageLocalServiceFactory
374: .getService();
375:
376: imageLocalService.setOrganizationFinder(organizationFinder);
377: }
378:
379: public static com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence() {
380: ImageLocalService imageLocalService = ImageLocalServiceFactory
381: .getService();
382:
383: return imageLocalService.getOrgGroupPermissionPersistence();
384: }
385:
386: public static void setOrgGroupPermissionPersistence(
387: com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence) {
388: ImageLocalService imageLocalService = ImageLocalServiceFactory
389: .getService();
390:
391: imageLocalService
392: .setOrgGroupPermissionPersistence(orgGroupPermissionPersistence);
393: }
394:
395: public static com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder() {
396: ImageLocalService imageLocalService = ImageLocalServiceFactory
397: .getService();
398:
399: return imageLocalService.getOrgGroupPermissionFinder();
400: }
401:
402: public static void setOrgGroupPermissionFinder(
403: com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder) {
404: ImageLocalService imageLocalService = ImageLocalServiceFactory
405: .getService();
406:
407: imageLocalService
408: .setOrgGroupPermissionFinder(orgGroupPermissionFinder);
409: }
410:
411: public static com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence() {
412: ImageLocalService imageLocalService = ImageLocalServiceFactory
413: .getService();
414:
415: return imageLocalService.getOrgGroupRolePersistence();
416: }
417:
418: public static void setOrgGroupRolePersistence(
419: com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence) {
420: ImageLocalService imageLocalService = ImageLocalServiceFactory
421: .getService();
422:
423: imageLocalService
424: .setOrgGroupRolePersistence(orgGroupRolePersistence);
425: }
426:
427: public static com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence() {
428: ImageLocalService imageLocalService = ImageLocalServiceFactory
429: .getService();
430:
431: return imageLocalService.getOrgLaborPersistence();
432: }
433:
434: public static void setOrgLaborPersistence(
435: com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence) {
436: ImageLocalService imageLocalService = ImageLocalServiceFactory
437: .getService();
438:
439: imageLocalService.setOrgLaborPersistence(orgLaborPersistence);
440: }
441:
442: public static com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence() {
443: ImageLocalService imageLocalService = ImageLocalServiceFactory
444: .getService();
445:
446: return imageLocalService.getPasswordPolicyPersistence();
447: }
448:
449: public static void setPasswordPolicyPersistence(
450: com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence) {
451: ImageLocalService imageLocalService = ImageLocalServiceFactory
452: .getService();
453:
454: imageLocalService
455: .setPasswordPolicyPersistence(passwordPolicyPersistence);
456: }
457:
458: public static com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder() {
459: ImageLocalService imageLocalService = ImageLocalServiceFactory
460: .getService();
461:
462: return imageLocalService.getPasswordPolicyFinder();
463: }
464:
465: public static void setPasswordPolicyFinder(
466: com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder) {
467: ImageLocalService imageLocalService = ImageLocalServiceFactory
468: .getService();
469:
470: imageLocalService.setPasswordPolicyFinder(passwordPolicyFinder);
471: }
472:
473: public static com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
474: ImageLocalService imageLocalService = ImageLocalServiceFactory
475: .getService();
476:
477: return imageLocalService.getPasswordPolicyRelPersistence();
478: }
479:
480: public static void setPasswordPolicyRelPersistence(
481: com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
482: ImageLocalService imageLocalService = ImageLocalServiceFactory
483: .getService();
484:
485: imageLocalService
486: .setPasswordPolicyRelPersistence(passwordPolicyRelPersistence);
487: }
488:
489: public static com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence() {
490: ImageLocalService imageLocalService = ImageLocalServiceFactory
491: .getService();
492:
493: return imageLocalService.getPasswordTrackerPersistence();
494: }
495:
496: public static void setPasswordTrackerPersistence(
497: com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence) {
498: ImageLocalService imageLocalService = ImageLocalServiceFactory
499: .getService();
500:
501: imageLocalService
502: .setPasswordTrackerPersistence(passwordTrackerPersistence);
503: }
504:
505: public static com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence() {
506: ImageLocalService imageLocalService = ImageLocalServiceFactory
507: .getService();
508:
509: return imageLocalService.getPermissionPersistence();
510: }
511:
512: public static void setPermissionPersistence(
513: com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence) {
514: ImageLocalService imageLocalService = ImageLocalServiceFactory
515: .getService();
516:
517: imageLocalService
518: .setPermissionPersistence(permissionPersistence);
519: }
520:
521: public static com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder() {
522: ImageLocalService imageLocalService = ImageLocalServiceFactory
523: .getService();
524:
525: return imageLocalService.getPermissionFinder();
526: }
527:
528: public static void setPermissionFinder(
529: com.liferay.portal.service.persistence.PermissionFinder permissionFinder) {
530: ImageLocalService imageLocalService = ImageLocalServiceFactory
531: .getService();
532:
533: imageLocalService.setPermissionFinder(permissionFinder);
534: }
535:
536: public static com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder() {
537: ImageLocalService imageLocalService = ImageLocalServiceFactory
538: .getService();
539:
540: return imageLocalService.getPermissionUserFinder();
541: }
542:
543: public static void setPermissionUserFinder(
544: com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder) {
545: ImageLocalService imageLocalService = ImageLocalServiceFactory
546: .getService();
547:
548: imageLocalService.setPermissionUserFinder(permissionUserFinder);
549: }
550:
551: public static com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence() {
552: ImageLocalService imageLocalService = ImageLocalServiceFactory
553: .getService();
554:
555: return imageLocalService.getPhonePersistence();
556: }
557:
558: public static void setPhonePersistence(
559: com.liferay.portal.service.persistence.PhonePersistence phonePersistence) {
560: ImageLocalService imageLocalService = ImageLocalServiceFactory
561: .getService();
562:
563: imageLocalService.setPhonePersistence(phonePersistence);
564: }
565:
566: public static com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence() {
567: ImageLocalService imageLocalService = ImageLocalServiceFactory
568: .getService();
569:
570: return imageLocalService.getPluginSettingPersistence();
571: }
572:
573: public static void setPluginSettingPersistence(
574: com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence) {
575: ImageLocalService imageLocalService = ImageLocalServiceFactory
576: .getService();
577:
578: imageLocalService
579: .setPluginSettingPersistence(pluginSettingPersistence);
580: }
581:
582: public static com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence() {
583: ImageLocalService imageLocalService = ImageLocalServiceFactory
584: .getService();
585:
586: return imageLocalService.getPortletPersistence();
587: }
588:
589: public static void setPortletPersistence(
590: com.liferay.portal.service.persistence.PortletPersistence portletPersistence) {
591: ImageLocalService imageLocalService = ImageLocalServiceFactory
592: .getService();
593:
594: imageLocalService.setPortletPersistence(portletPersistence);
595: }
596:
597: public static com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence() {
598: ImageLocalService imageLocalService = ImageLocalServiceFactory
599: .getService();
600:
601: return imageLocalService.getPortletPreferencesPersistence();
602: }
603:
604: public static void setPortletPreferencesPersistence(
605: com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence) {
606: ImageLocalService imageLocalService = ImageLocalServiceFactory
607: .getService();
608:
609: imageLocalService
610: .setPortletPreferencesPersistence(portletPreferencesPersistence);
611: }
612:
613: public static com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder() {
614: ImageLocalService imageLocalService = ImageLocalServiceFactory
615: .getService();
616:
617: return imageLocalService.getPortletPreferencesFinder();
618: }
619:
620: public static void setPortletPreferencesFinder(
621: com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder) {
622: ImageLocalService imageLocalService = ImageLocalServiceFactory
623: .getService();
624:
625: imageLocalService
626: .setPortletPreferencesFinder(portletPreferencesFinder);
627: }
628:
629: public static com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence() {
630: ImageLocalService imageLocalService = ImageLocalServiceFactory
631: .getService();
632:
633: return imageLocalService.getRegionPersistence();
634: }
635:
636: public static void setRegionPersistence(
637: com.liferay.portal.service.persistence.RegionPersistence regionPersistence) {
638: ImageLocalService imageLocalService = ImageLocalServiceFactory
639: .getService();
640:
641: imageLocalService.setRegionPersistence(regionPersistence);
642: }
643:
644: public static com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence() {
645: ImageLocalService imageLocalService = ImageLocalServiceFactory
646: .getService();
647:
648: return imageLocalService.getReleasePersistence();
649: }
650:
651: public static void setReleasePersistence(
652: com.liferay.portal.service.persistence.ReleasePersistence releasePersistence) {
653: ImageLocalService imageLocalService = ImageLocalServiceFactory
654: .getService();
655:
656: imageLocalService.setReleasePersistence(releasePersistence);
657: }
658:
659: public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
660: ImageLocalService imageLocalService = ImageLocalServiceFactory
661: .getService();
662:
663: return imageLocalService.getResourcePersistence();
664: }
665:
666: public static void setResourcePersistence(
667: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
668: ImageLocalService imageLocalService = ImageLocalServiceFactory
669: .getService();
670:
671: imageLocalService.setResourcePersistence(resourcePersistence);
672: }
673:
674: public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
675: ImageLocalService imageLocalService = ImageLocalServiceFactory
676: .getService();
677:
678: return imageLocalService.getResourceFinder();
679: }
680:
681: public static void setResourceFinder(
682: com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
683: ImageLocalService imageLocalService = ImageLocalServiceFactory
684: .getService();
685:
686: imageLocalService.setResourceFinder(resourceFinder);
687: }
688:
689: public static com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence() {
690: ImageLocalService imageLocalService = ImageLocalServiceFactory
691: .getService();
692:
693: return imageLocalService.getResourceCodePersistence();
694: }
695:
696: public static void setResourceCodePersistence(
697: com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence) {
698: ImageLocalService imageLocalService = ImageLocalServiceFactory
699: .getService();
700:
701: imageLocalService
702: .setResourceCodePersistence(resourceCodePersistence);
703: }
704:
705: public static com.liferay.portal.service.persistence.RolePersistence getRolePersistence() {
706: ImageLocalService imageLocalService = ImageLocalServiceFactory
707: .getService();
708:
709: return imageLocalService.getRolePersistence();
710: }
711:
712: public static void setRolePersistence(
713: com.liferay.portal.service.persistence.RolePersistence rolePersistence) {
714: ImageLocalService imageLocalService = ImageLocalServiceFactory
715: .getService();
716:
717: imageLocalService.setRolePersistence(rolePersistence);
718: }
719:
720: public static com.liferay.portal.service.persistence.RoleFinder getRoleFinder() {
721: ImageLocalService imageLocalService = ImageLocalServiceFactory
722: .getService();
723:
724: return imageLocalService.getRoleFinder();
725: }
726:
727: public static void setRoleFinder(
728: com.liferay.portal.service.persistence.RoleFinder roleFinder) {
729: ImageLocalService imageLocalService = ImageLocalServiceFactory
730: .getService();
731:
732: imageLocalService.setRoleFinder(roleFinder);
733: }
734:
735: public static com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence() {
736: ImageLocalService imageLocalService = ImageLocalServiceFactory
737: .getService();
738:
739: return imageLocalService.getServiceComponentPersistence();
740: }
741:
742: public static void setServiceComponentPersistence(
743: com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence) {
744: ImageLocalService imageLocalService = ImageLocalServiceFactory
745: .getService();
746:
747: imageLocalService
748: .setServiceComponentPersistence(serviceComponentPersistence);
749: }
750:
751: public static com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence() {
752: ImageLocalService imageLocalService = ImageLocalServiceFactory
753: .getService();
754:
755: return imageLocalService.getSubscriptionPersistence();
756: }
757:
758: public static void setSubscriptionPersistence(
759: com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence) {
760: ImageLocalService imageLocalService = ImageLocalServiceFactory
761: .getService();
762:
763: imageLocalService
764: .setSubscriptionPersistence(subscriptionPersistence);
765: }
766:
767: public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
768: ImageLocalService imageLocalService = ImageLocalServiceFactory
769: .getService();
770:
771: return imageLocalService.getUserPersistence();
772: }
773:
774: public static void setUserPersistence(
775: com.liferay.portal.service.persistence.UserPersistence userPersistence) {
776: ImageLocalService imageLocalService = ImageLocalServiceFactory
777: .getService();
778:
779: imageLocalService.setUserPersistence(userPersistence);
780: }
781:
782: public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
783: ImageLocalService imageLocalService = ImageLocalServiceFactory
784: .getService();
785:
786: return imageLocalService.getUserFinder();
787: }
788:
789: public static void setUserFinder(
790: com.liferay.portal.service.persistence.UserFinder userFinder) {
791: ImageLocalService imageLocalService = ImageLocalServiceFactory
792: .getService();
793:
794: imageLocalService.setUserFinder(userFinder);
795: }
796:
797: public static com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence() {
798: ImageLocalService imageLocalService = ImageLocalServiceFactory
799: .getService();
800:
801: return imageLocalService.getUserGroupPersistence();
802: }
803:
804: public static void setUserGroupPersistence(
805: com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence) {
806: ImageLocalService imageLocalService = ImageLocalServiceFactory
807: .getService();
808:
809: imageLocalService.setUserGroupPersistence(userGroupPersistence);
810: }
811:
812: public static com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder() {
813: ImageLocalService imageLocalService = ImageLocalServiceFactory
814: .getService();
815:
816: return imageLocalService.getUserGroupFinder();
817: }
818:
819: public static void setUserGroupFinder(
820: com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder) {
821: ImageLocalService imageLocalService = ImageLocalServiceFactory
822: .getService();
823:
824: imageLocalService.setUserGroupFinder(userGroupFinder);
825: }
826:
827: public static com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence() {
828: ImageLocalService imageLocalService = ImageLocalServiceFactory
829: .getService();
830:
831: return imageLocalService.getUserGroupRolePersistence();
832: }
833:
834: public static void setUserGroupRolePersistence(
835: com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence) {
836: ImageLocalService imageLocalService = ImageLocalServiceFactory
837: .getService();
838:
839: imageLocalService
840: .setUserGroupRolePersistence(userGroupRolePersistence);
841: }
842:
843: public static com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence() {
844: ImageLocalService imageLocalService = ImageLocalServiceFactory
845: .getService();
846:
847: return imageLocalService.getUserIdMapperPersistence();
848: }
849:
850: public static void setUserIdMapperPersistence(
851: com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence) {
852: ImageLocalService imageLocalService = ImageLocalServiceFactory
853: .getService();
854:
855: imageLocalService
856: .setUserIdMapperPersistence(userIdMapperPersistence);
857: }
858:
859: public static com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence() {
860: ImageLocalService imageLocalService = ImageLocalServiceFactory
861: .getService();
862:
863: return imageLocalService.getUserTrackerPersistence();
864: }
865:
866: public static void setUserTrackerPersistence(
867: com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence) {
868: ImageLocalService imageLocalService = ImageLocalServiceFactory
869: .getService();
870:
871: imageLocalService
872: .setUserTrackerPersistence(userTrackerPersistence);
873: }
874:
875: public static com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence() {
876: ImageLocalService imageLocalService = ImageLocalServiceFactory
877: .getService();
878:
879: return imageLocalService.getUserTrackerPathPersistence();
880: }
881:
882: public static void setUserTrackerPathPersistence(
883: com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence) {
884: ImageLocalService imageLocalService = ImageLocalServiceFactory
885: .getService();
886:
887: imageLocalService
888: .setUserTrackerPathPersistence(userTrackerPathPersistence);
889: }
890:
891: public static com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence() {
892: ImageLocalService imageLocalService = ImageLocalServiceFactory
893: .getService();
894:
895: return imageLocalService.getWebDAVPropsPersistence();
896: }
897:
898: public static void setWebDAVPropsPersistence(
899: com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence) {
900: ImageLocalService imageLocalService = ImageLocalServiceFactory
901: .getService();
902:
903: imageLocalService
904: .setWebDAVPropsPersistence(webDAVPropsPersistence);
905: }
906:
907: public static com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence() {
908: ImageLocalService imageLocalService = ImageLocalServiceFactory
909: .getService();
910:
911: return imageLocalService.getWebsitePersistence();
912: }
913:
914: public static void setWebsitePersistence(
915: com.liferay.portal.service.persistence.WebsitePersistence websitePersistence) {
916: ImageLocalService imageLocalService = ImageLocalServiceFactory
917: .getService();
918:
919: imageLocalService.setWebsitePersistence(websitePersistence);
920: }
921:
922: public static void afterPropertiesSet() {
923: ImageLocalService imageLocalService = ImageLocalServiceFactory
924: .getService();
925:
926: imageLocalService.afterPropertiesSet();
927: }
928:
929: public static void deleteImage(long imageId)
930: throws com.liferay.portal.SystemException {
931: ImageLocalService imageLocalService = ImageLocalServiceFactory
932: .getService();
933:
934: imageLocalService.deleteImage(imageId);
935: }
936:
937: public static com.liferay.portal.model.Image getImage(long imageId)
938: throws com.liferay.portal.PortalException,
939: com.liferay.portal.SystemException {
940: ImageLocalService imageLocalService = ImageLocalServiceFactory
941: .getService();
942:
943: return imageLocalService.getImage(imageId);
944: }
945:
946: public static java.util.List getImages()
947: throws com.liferay.portal.SystemException {
948: ImageLocalService imageLocalService = ImageLocalServiceFactory
949: .getService();
950:
951: return imageLocalService.getImages();
952: }
953:
954: public static java.util.List getImages(int begin, int end)
955: throws com.liferay.portal.SystemException {
956: ImageLocalService imageLocalService = ImageLocalServiceFactory
957: .getService();
958:
959: return imageLocalService.getImages(begin, end);
960: }
961:
962: public static java.util.List getImagesBySize(int size)
963: throws com.liferay.portal.SystemException {
964: ImageLocalService imageLocalService = ImageLocalServiceFactory
965: .getService();
966:
967: return imageLocalService.getImagesBySize(size);
968: }
969:
970: public static com.liferay.portal.model.Image updateImage(
971: long imageId, byte[] bytes, java.lang.String type,
972: int height, int width, int size)
973: throws com.liferay.portal.SystemException {
974: ImageLocalService imageLocalService = ImageLocalServiceFactory
975: .getService();
976:
977: return imageLocalService.updateImage(imageId, bytes, type,
978: height, width, size);
979: }
980: }
|