Source Code Cross Referenced for RoleLocalServiceUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portal » service » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » com.liferay.portal.service 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


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