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