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