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