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