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