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