0001: /**
0002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
0003: *
0004: * Permission is hereby granted, free of charge, to any person obtaining a copy
0005: * of this software and associated documentation files (the "Software"), to deal
0006: * in the Software without restriction, including without limitation the rights
0007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0008: * copies of the Software, and to permit persons to whom the Software is
0009: * furnished to do so, subject to the following conditions:
0010: *
0011: * The above copyright notice and this permission notice shall be included in
0012: * all copies or substantial portions of the Software.
0013: *
0014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0020: * SOFTWARE.
0021: */package com.liferay.portal.service;
0022:
0023: /**
0024: * <a href="EmailAddressLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
0025: *
0026: * <p>
0027: * ServiceBuilder generated this class. Modifications in this class will be
0028: * overwritten the next time is generated.
0029: * </p>
0030: *
0031: * <p>
0032: * This class provides static methods for the
0033: * <code>com.liferay.portal.service.EmailAddressLocalService</code>
0034: * bean. The static methods of this class calls the same methods of the bean
0035: * instance. It's convenient to be able to just write one line to call a method
0036: * on a bean instead of writing a lookup call and a method call.
0037: * </p>
0038: *
0039: * <p>
0040: * <code>com.liferay.portal.service.EmailAddressLocalServiceFactory</code>
0041: * is responsible for the lookup of the bean.
0042: * </p>
0043: *
0044: * @author Brian Wing Shun Chan
0045: *
0046: * @see com.liferay.portal.service.EmailAddressLocalService
0047: * @see com.liferay.portal.service.EmailAddressLocalServiceFactory
0048: *
0049: */
0050: public class EmailAddressLocalServiceUtil {
0051: public static com.liferay.portal.model.EmailAddress addEmailAddress(
0052: com.liferay.portal.model.EmailAddress model)
0053: throws com.liferay.portal.SystemException {
0054: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0055: .getService();
0056:
0057: return emailAddressLocalService.addEmailAddress(model);
0058: }
0059:
0060: public static java.util.List dynamicQuery(
0061: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
0062: throws com.liferay.portal.SystemException {
0063: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0064: .getService();
0065:
0066: return emailAddressLocalService.dynamicQuery(queryInitializer);
0067: }
0068:
0069: public static java.util.List dynamicQuery(
0070: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
0071: int begin, int end)
0072: throws com.liferay.portal.SystemException {
0073: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0074: .getService();
0075:
0076: return emailAddressLocalService.dynamicQuery(queryInitializer,
0077: begin, end);
0078: }
0079:
0080: public static com.liferay.portal.model.EmailAddress updateEmailAddress(
0081: com.liferay.portal.model.EmailAddress model)
0082: throws com.liferay.portal.SystemException {
0083: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0084: .getService();
0085:
0086: return emailAddressLocalService.updateEmailAddress(model);
0087: }
0088:
0089: public static com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence() {
0090: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0091: .getService();
0092:
0093: return emailAddressLocalService.getAccountPersistence();
0094: }
0095:
0096: public static void setAccountPersistence(
0097: com.liferay.portal.service.persistence.AccountPersistence accountPersistence) {
0098: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0099: .getService();
0100:
0101: emailAddressLocalService
0102: .setAccountPersistence(accountPersistence);
0103: }
0104:
0105: public static com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence() {
0106: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0107: .getService();
0108:
0109: return emailAddressLocalService.getActivityTrackerPersistence();
0110: }
0111:
0112: public static void setActivityTrackerPersistence(
0113: com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence) {
0114: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0115: .getService();
0116:
0117: emailAddressLocalService
0118: .setActivityTrackerPersistence(activityTrackerPersistence);
0119: }
0120:
0121: public static com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder() {
0122: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0123: .getService();
0124:
0125: return emailAddressLocalService.getActivityTrackerFinder();
0126: }
0127:
0128: public static void setActivityTrackerFinder(
0129: com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder) {
0130: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0131: .getService();
0132:
0133: emailAddressLocalService
0134: .setActivityTrackerFinder(activityTrackerFinder);
0135: }
0136:
0137: public static com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence() {
0138: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0139: .getService();
0140:
0141: return emailAddressLocalService.getAddressPersistence();
0142: }
0143:
0144: public static void setAddressPersistence(
0145: com.liferay.portal.service.persistence.AddressPersistence addressPersistence) {
0146: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0147: .getService();
0148:
0149: emailAddressLocalService
0150: .setAddressPersistence(addressPersistence);
0151: }
0152:
0153: public static com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence() {
0154: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0155: .getService();
0156:
0157: return emailAddressLocalService.getClassNamePersistence();
0158: }
0159:
0160: public static void setClassNamePersistence(
0161: com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence) {
0162: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0163: .getService();
0164:
0165: emailAddressLocalService
0166: .setClassNamePersistence(classNamePersistence);
0167: }
0168:
0169: public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
0170: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0171: .getService();
0172:
0173: return emailAddressLocalService.getCompanyPersistence();
0174: }
0175:
0176: public static void setCompanyPersistence(
0177: com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
0178: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0179: .getService();
0180:
0181: emailAddressLocalService
0182: .setCompanyPersistence(companyPersistence);
0183: }
0184:
0185: public static com.liferay.portal.service.persistence.ContactPersistence getContactPersistence() {
0186: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0187: .getService();
0188:
0189: return emailAddressLocalService.getContactPersistence();
0190: }
0191:
0192: public static void setContactPersistence(
0193: com.liferay.portal.service.persistence.ContactPersistence contactPersistence) {
0194: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0195: .getService();
0196:
0197: emailAddressLocalService
0198: .setContactPersistence(contactPersistence);
0199: }
0200:
0201: public static com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence() {
0202: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0203: .getService();
0204:
0205: return emailAddressLocalService.getCountryPersistence();
0206: }
0207:
0208: public static void setCountryPersistence(
0209: com.liferay.portal.service.persistence.CountryPersistence countryPersistence) {
0210: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0211: .getService();
0212:
0213: emailAddressLocalService
0214: .setCountryPersistence(countryPersistence);
0215: }
0216:
0217: public static com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence() {
0218: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0219: .getService();
0220:
0221: return emailAddressLocalService.getEmailAddressPersistence();
0222: }
0223:
0224: public static void setEmailAddressPersistence(
0225: com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence) {
0226: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0227: .getService();
0228:
0229: emailAddressLocalService
0230: .setEmailAddressPersistence(emailAddressPersistence);
0231: }
0232:
0233: public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
0234: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0235: .getService();
0236:
0237: return emailAddressLocalService.getGroupPersistence();
0238: }
0239:
0240: public static void setGroupPersistence(
0241: com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
0242: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0243: .getService();
0244:
0245: emailAddressLocalService.setGroupPersistence(groupPersistence);
0246: }
0247:
0248: public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
0249: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0250: .getService();
0251:
0252: return emailAddressLocalService.getGroupFinder();
0253: }
0254:
0255: public static void setGroupFinder(
0256: com.liferay.portal.service.persistence.GroupFinder groupFinder) {
0257: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0258: .getService();
0259:
0260: emailAddressLocalService.setGroupFinder(groupFinder);
0261: }
0262:
0263: public static com.liferay.portal.service.persistence.ImagePersistence getImagePersistence() {
0264: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0265: .getService();
0266:
0267: return emailAddressLocalService.getImagePersistence();
0268: }
0269:
0270: public static void setImagePersistence(
0271: com.liferay.portal.service.persistence.ImagePersistence imagePersistence) {
0272: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0273: .getService();
0274:
0275: emailAddressLocalService.setImagePersistence(imagePersistence);
0276: }
0277:
0278: public static com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence() {
0279: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0280: .getService();
0281:
0282: return emailAddressLocalService.getLayoutPersistence();
0283: }
0284:
0285: public static void setLayoutPersistence(
0286: com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence) {
0287: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0288: .getService();
0289:
0290: emailAddressLocalService
0291: .setLayoutPersistence(layoutPersistence);
0292: }
0293:
0294: public static com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder() {
0295: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0296: .getService();
0297:
0298: return emailAddressLocalService.getLayoutFinder();
0299: }
0300:
0301: public static void setLayoutFinder(
0302: com.liferay.portal.service.persistence.LayoutFinder layoutFinder) {
0303: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0304: .getService();
0305:
0306: emailAddressLocalService.setLayoutFinder(layoutFinder);
0307: }
0308:
0309: public static com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence() {
0310: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0311: .getService();
0312:
0313: return emailAddressLocalService.getLayoutSetPersistence();
0314: }
0315:
0316: public static void setLayoutSetPersistence(
0317: com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence) {
0318: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0319: .getService();
0320:
0321: emailAddressLocalService
0322: .setLayoutSetPersistence(layoutSetPersistence);
0323: }
0324:
0325: public static com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence() {
0326: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0327: .getService();
0328:
0329: return emailAddressLocalService.getListTypePersistence();
0330: }
0331:
0332: public static void setListTypePersistence(
0333: com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence) {
0334: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0335: .getService();
0336:
0337: emailAddressLocalService
0338: .setListTypePersistence(listTypePersistence);
0339: }
0340:
0341: public static com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence() {
0342: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0343: .getService();
0344:
0345: return emailAddressLocalService
0346: .getMembershipRequestPersistence();
0347: }
0348:
0349: public static void setMembershipRequestPersistence(
0350: com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence) {
0351: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0352: .getService();
0353:
0354: emailAddressLocalService
0355: .setMembershipRequestPersistence(membershipRequestPersistence);
0356: }
0357:
0358: public static com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence() {
0359: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0360: .getService();
0361:
0362: return emailAddressLocalService.getOrganizationPersistence();
0363: }
0364:
0365: public static void setOrganizationPersistence(
0366: com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence) {
0367: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0368: .getService();
0369:
0370: emailAddressLocalService
0371: .setOrganizationPersistence(organizationPersistence);
0372: }
0373:
0374: public static com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder() {
0375: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0376: .getService();
0377:
0378: return emailAddressLocalService.getOrganizationFinder();
0379: }
0380:
0381: public static void setOrganizationFinder(
0382: com.liferay.portal.service.persistence.OrganizationFinder organizationFinder) {
0383: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0384: .getService();
0385:
0386: emailAddressLocalService
0387: .setOrganizationFinder(organizationFinder);
0388: }
0389:
0390: public static com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence() {
0391: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0392: .getService();
0393:
0394: return emailAddressLocalService
0395: .getOrgGroupPermissionPersistence();
0396: }
0397:
0398: public static void setOrgGroupPermissionPersistence(
0399: com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence) {
0400: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0401: .getService();
0402:
0403: emailAddressLocalService
0404: .setOrgGroupPermissionPersistence(orgGroupPermissionPersistence);
0405: }
0406:
0407: public static com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder() {
0408: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0409: .getService();
0410:
0411: return emailAddressLocalService.getOrgGroupPermissionFinder();
0412: }
0413:
0414: public static void setOrgGroupPermissionFinder(
0415: com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder) {
0416: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0417: .getService();
0418:
0419: emailAddressLocalService
0420: .setOrgGroupPermissionFinder(orgGroupPermissionFinder);
0421: }
0422:
0423: public static com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence() {
0424: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0425: .getService();
0426:
0427: return emailAddressLocalService.getOrgGroupRolePersistence();
0428: }
0429:
0430: public static void setOrgGroupRolePersistence(
0431: com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence) {
0432: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0433: .getService();
0434:
0435: emailAddressLocalService
0436: .setOrgGroupRolePersistence(orgGroupRolePersistence);
0437: }
0438:
0439: public static com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence() {
0440: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0441: .getService();
0442:
0443: return emailAddressLocalService.getOrgLaborPersistence();
0444: }
0445:
0446: public static void setOrgLaborPersistence(
0447: com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence) {
0448: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0449: .getService();
0450:
0451: emailAddressLocalService
0452: .setOrgLaborPersistence(orgLaborPersistence);
0453: }
0454:
0455: public static com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence() {
0456: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0457: .getService();
0458:
0459: return emailAddressLocalService.getPasswordPolicyPersistence();
0460: }
0461:
0462: public static void setPasswordPolicyPersistence(
0463: com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence) {
0464: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0465: .getService();
0466:
0467: emailAddressLocalService
0468: .setPasswordPolicyPersistence(passwordPolicyPersistence);
0469: }
0470:
0471: public static com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder() {
0472: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0473: .getService();
0474:
0475: return emailAddressLocalService.getPasswordPolicyFinder();
0476: }
0477:
0478: public static void setPasswordPolicyFinder(
0479: com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder) {
0480: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0481: .getService();
0482:
0483: emailAddressLocalService
0484: .setPasswordPolicyFinder(passwordPolicyFinder);
0485: }
0486:
0487: public static com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
0488: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0489: .getService();
0490:
0491: return emailAddressLocalService
0492: .getPasswordPolicyRelPersistence();
0493: }
0494:
0495: public static void setPasswordPolicyRelPersistence(
0496: com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
0497: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0498: .getService();
0499:
0500: emailAddressLocalService
0501: .setPasswordPolicyRelPersistence(passwordPolicyRelPersistence);
0502: }
0503:
0504: public static com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence() {
0505: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0506: .getService();
0507:
0508: return emailAddressLocalService.getPasswordTrackerPersistence();
0509: }
0510:
0511: public static void setPasswordTrackerPersistence(
0512: com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence) {
0513: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0514: .getService();
0515:
0516: emailAddressLocalService
0517: .setPasswordTrackerPersistence(passwordTrackerPersistence);
0518: }
0519:
0520: public static com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence() {
0521: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0522: .getService();
0523:
0524: return emailAddressLocalService.getPermissionPersistence();
0525: }
0526:
0527: public static void setPermissionPersistence(
0528: com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence) {
0529: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0530: .getService();
0531:
0532: emailAddressLocalService
0533: .setPermissionPersistence(permissionPersistence);
0534: }
0535:
0536: public static com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder() {
0537: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0538: .getService();
0539:
0540: return emailAddressLocalService.getPermissionFinder();
0541: }
0542:
0543: public static void setPermissionFinder(
0544: com.liferay.portal.service.persistence.PermissionFinder permissionFinder) {
0545: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0546: .getService();
0547:
0548: emailAddressLocalService.setPermissionFinder(permissionFinder);
0549: }
0550:
0551: public static com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder() {
0552: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0553: .getService();
0554:
0555: return emailAddressLocalService.getPermissionUserFinder();
0556: }
0557:
0558: public static void setPermissionUserFinder(
0559: com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder) {
0560: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0561: .getService();
0562:
0563: emailAddressLocalService
0564: .setPermissionUserFinder(permissionUserFinder);
0565: }
0566:
0567: public static com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence() {
0568: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0569: .getService();
0570:
0571: return emailAddressLocalService.getPhonePersistence();
0572: }
0573:
0574: public static void setPhonePersistence(
0575: com.liferay.portal.service.persistence.PhonePersistence phonePersistence) {
0576: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0577: .getService();
0578:
0579: emailAddressLocalService.setPhonePersistence(phonePersistence);
0580: }
0581:
0582: public static com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence() {
0583: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0584: .getService();
0585:
0586: return emailAddressLocalService.getPluginSettingPersistence();
0587: }
0588:
0589: public static void setPluginSettingPersistence(
0590: com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence) {
0591: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0592: .getService();
0593:
0594: emailAddressLocalService
0595: .setPluginSettingPersistence(pluginSettingPersistence);
0596: }
0597:
0598: public static com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence() {
0599: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0600: .getService();
0601:
0602: return emailAddressLocalService.getPortletPersistence();
0603: }
0604:
0605: public static void setPortletPersistence(
0606: com.liferay.portal.service.persistence.PortletPersistence portletPersistence) {
0607: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0608: .getService();
0609:
0610: emailAddressLocalService
0611: .setPortletPersistence(portletPersistence);
0612: }
0613:
0614: public static com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence() {
0615: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0616: .getService();
0617:
0618: return emailAddressLocalService
0619: .getPortletPreferencesPersistence();
0620: }
0621:
0622: public static void setPortletPreferencesPersistence(
0623: com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence) {
0624: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0625: .getService();
0626:
0627: emailAddressLocalService
0628: .setPortletPreferencesPersistence(portletPreferencesPersistence);
0629: }
0630:
0631: public static com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder() {
0632: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0633: .getService();
0634:
0635: return emailAddressLocalService.getPortletPreferencesFinder();
0636: }
0637:
0638: public static void setPortletPreferencesFinder(
0639: com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder) {
0640: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0641: .getService();
0642:
0643: emailAddressLocalService
0644: .setPortletPreferencesFinder(portletPreferencesFinder);
0645: }
0646:
0647: public static com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence() {
0648: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0649: .getService();
0650:
0651: return emailAddressLocalService.getRegionPersistence();
0652: }
0653:
0654: public static void setRegionPersistence(
0655: com.liferay.portal.service.persistence.RegionPersistence regionPersistence) {
0656: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0657: .getService();
0658:
0659: emailAddressLocalService
0660: .setRegionPersistence(regionPersistence);
0661: }
0662:
0663: public static com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence() {
0664: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0665: .getService();
0666:
0667: return emailAddressLocalService.getReleasePersistence();
0668: }
0669:
0670: public static void setReleasePersistence(
0671: com.liferay.portal.service.persistence.ReleasePersistence releasePersistence) {
0672: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0673: .getService();
0674:
0675: emailAddressLocalService
0676: .setReleasePersistence(releasePersistence);
0677: }
0678:
0679: public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
0680: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0681: .getService();
0682:
0683: return emailAddressLocalService.getResourcePersistence();
0684: }
0685:
0686: public static void setResourcePersistence(
0687: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
0688: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0689: .getService();
0690:
0691: emailAddressLocalService
0692: .setResourcePersistence(resourcePersistence);
0693: }
0694:
0695: public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
0696: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0697: .getService();
0698:
0699: return emailAddressLocalService.getResourceFinder();
0700: }
0701:
0702: public static void setResourceFinder(
0703: com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
0704: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0705: .getService();
0706:
0707: emailAddressLocalService.setResourceFinder(resourceFinder);
0708: }
0709:
0710: public static com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence() {
0711: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0712: .getService();
0713:
0714: return emailAddressLocalService.getResourceCodePersistence();
0715: }
0716:
0717: public static void setResourceCodePersistence(
0718: com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence) {
0719: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0720: .getService();
0721:
0722: emailAddressLocalService
0723: .setResourceCodePersistence(resourceCodePersistence);
0724: }
0725:
0726: public static com.liferay.portal.service.persistence.RolePersistence getRolePersistence() {
0727: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0728: .getService();
0729:
0730: return emailAddressLocalService.getRolePersistence();
0731: }
0732:
0733: public static void setRolePersistence(
0734: com.liferay.portal.service.persistence.RolePersistence rolePersistence) {
0735: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0736: .getService();
0737:
0738: emailAddressLocalService.setRolePersistence(rolePersistence);
0739: }
0740:
0741: public static com.liferay.portal.service.persistence.RoleFinder getRoleFinder() {
0742: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0743: .getService();
0744:
0745: return emailAddressLocalService.getRoleFinder();
0746: }
0747:
0748: public static void setRoleFinder(
0749: com.liferay.portal.service.persistence.RoleFinder roleFinder) {
0750: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0751: .getService();
0752:
0753: emailAddressLocalService.setRoleFinder(roleFinder);
0754: }
0755:
0756: public static com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence() {
0757: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0758: .getService();
0759:
0760: return emailAddressLocalService
0761: .getServiceComponentPersistence();
0762: }
0763:
0764: public static void setServiceComponentPersistence(
0765: com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence) {
0766: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0767: .getService();
0768:
0769: emailAddressLocalService
0770: .setServiceComponentPersistence(serviceComponentPersistence);
0771: }
0772:
0773: public static com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence() {
0774: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0775: .getService();
0776:
0777: return emailAddressLocalService.getSubscriptionPersistence();
0778: }
0779:
0780: public static void setSubscriptionPersistence(
0781: com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence) {
0782: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0783: .getService();
0784:
0785: emailAddressLocalService
0786: .setSubscriptionPersistence(subscriptionPersistence);
0787: }
0788:
0789: public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
0790: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0791: .getService();
0792:
0793: return emailAddressLocalService.getUserPersistence();
0794: }
0795:
0796: public static void setUserPersistence(
0797: com.liferay.portal.service.persistence.UserPersistence userPersistence) {
0798: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0799: .getService();
0800:
0801: emailAddressLocalService.setUserPersistence(userPersistence);
0802: }
0803:
0804: public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
0805: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0806: .getService();
0807:
0808: return emailAddressLocalService.getUserFinder();
0809: }
0810:
0811: public static void setUserFinder(
0812: com.liferay.portal.service.persistence.UserFinder userFinder) {
0813: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0814: .getService();
0815:
0816: emailAddressLocalService.setUserFinder(userFinder);
0817: }
0818:
0819: public static com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence() {
0820: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0821: .getService();
0822:
0823: return emailAddressLocalService.getUserGroupPersistence();
0824: }
0825:
0826: public static void setUserGroupPersistence(
0827: com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence) {
0828: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0829: .getService();
0830:
0831: emailAddressLocalService
0832: .setUserGroupPersistence(userGroupPersistence);
0833: }
0834:
0835: public static com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder() {
0836: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0837: .getService();
0838:
0839: return emailAddressLocalService.getUserGroupFinder();
0840: }
0841:
0842: public static void setUserGroupFinder(
0843: com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder) {
0844: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0845: .getService();
0846:
0847: emailAddressLocalService.setUserGroupFinder(userGroupFinder);
0848: }
0849:
0850: public static com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence() {
0851: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0852: .getService();
0853:
0854: return emailAddressLocalService.getUserGroupRolePersistence();
0855: }
0856:
0857: public static void setUserGroupRolePersistence(
0858: com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence) {
0859: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0860: .getService();
0861:
0862: emailAddressLocalService
0863: .setUserGroupRolePersistence(userGroupRolePersistence);
0864: }
0865:
0866: public static com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence() {
0867: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0868: .getService();
0869:
0870: return emailAddressLocalService.getUserIdMapperPersistence();
0871: }
0872:
0873: public static void setUserIdMapperPersistence(
0874: com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence) {
0875: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0876: .getService();
0877:
0878: emailAddressLocalService
0879: .setUserIdMapperPersistence(userIdMapperPersistence);
0880: }
0881:
0882: public static com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence() {
0883: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0884: .getService();
0885:
0886: return emailAddressLocalService.getUserTrackerPersistence();
0887: }
0888:
0889: public static void setUserTrackerPersistence(
0890: com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence) {
0891: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0892: .getService();
0893:
0894: emailAddressLocalService
0895: .setUserTrackerPersistence(userTrackerPersistence);
0896: }
0897:
0898: public static com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence() {
0899: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0900: .getService();
0901:
0902: return emailAddressLocalService.getUserTrackerPathPersistence();
0903: }
0904:
0905: public static void setUserTrackerPathPersistence(
0906: com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence) {
0907: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0908: .getService();
0909:
0910: emailAddressLocalService
0911: .setUserTrackerPathPersistence(userTrackerPathPersistence);
0912: }
0913:
0914: public static com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence() {
0915: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0916: .getService();
0917:
0918: return emailAddressLocalService.getWebDAVPropsPersistence();
0919: }
0920:
0921: public static void setWebDAVPropsPersistence(
0922: com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence) {
0923: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0924: .getService();
0925:
0926: emailAddressLocalService
0927: .setWebDAVPropsPersistence(webDAVPropsPersistence);
0928: }
0929:
0930: public static com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence() {
0931: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0932: .getService();
0933:
0934: return emailAddressLocalService.getWebsitePersistence();
0935: }
0936:
0937: public static void setWebsitePersistence(
0938: com.liferay.portal.service.persistence.WebsitePersistence websitePersistence) {
0939: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0940: .getService();
0941:
0942: emailAddressLocalService
0943: .setWebsitePersistence(websitePersistence);
0944: }
0945:
0946: public static void afterPropertiesSet() {
0947: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0948: .getService();
0949:
0950: emailAddressLocalService.afterPropertiesSet();
0951: }
0952:
0953: public static com.liferay.portal.model.EmailAddress addEmailAddress(
0954: long userId, java.lang.String className, long classPK,
0955: java.lang.String address, int typeId, boolean primary)
0956: throws com.liferay.portal.PortalException,
0957: com.liferay.portal.SystemException {
0958: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0959: .getService();
0960:
0961: return emailAddressLocalService.addEmailAddress(userId,
0962: className, classPK, address, typeId, primary);
0963: }
0964:
0965: public static void deleteEmailAddress(long emailAddressId)
0966: throws com.liferay.portal.PortalException,
0967: com.liferay.portal.SystemException {
0968: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0969: .getService();
0970:
0971: emailAddressLocalService.deleteEmailAddress(emailAddressId);
0972: }
0973:
0974: public static void deleteEmailAddresses(long companyId,
0975: java.lang.String className, long classPK)
0976: throws com.liferay.portal.SystemException {
0977: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0978: .getService();
0979:
0980: emailAddressLocalService.deleteEmailAddresses(companyId,
0981: className, classPK);
0982: }
0983:
0984: public static com.liferay.portal.model.EmailAddress getEmailAddress(
0985: long emailAddressId)
0986: throws com.liferay.portal.PortalException,
0987: com.liferay.portal.SystemException {
0988: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0989: .getService();
0990:
0991: return emailAddressLocalService.getEmailAddress(emailAddressId);
0992: }
0993:
0994: public static java.util.List getEmailAddresses()
0995: throws com.liferay.portal.SystemException {
0996: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
0997: .getService();
0998:
0999: return emailAddressLocalService.getEmailAddresses();
1000: }
1001:
1002: public static java.util.List getEmailAddresses(long companyId,
1003: java.lang.String className, long classPK)
1004: throws com.liferay.portal.SystemException {
1005: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
1006: .getService();
1007:
1008: return emailAddressLocalService.getEmailAddresses(companyId,
1009: className, classPK);
1010: }
1011:
1012: public static com.liferay.portal.model.EmailAddress updateEmailAddress(
1013: long emailAddressId, java.lang.String address, int typeId,
1014: boolean primary) throws com.liferay.portal.PortalException,
1015: com.liferay.portal.SystemException {
1016: EmailAddressLocalService emailAddressLocalService = EmailAddressLocalServiceFactory
1017: .getService();
1018:
1019: return emailAddressLocalService.updateEmailAddress(
1020: emailAddressId, address, typeId, primary);
1021: }
1022: }
|