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