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