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