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