Source Code Cross Referenced for UserLocalServiceUtil.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="UserLocalServiceUtil.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.UserLocalService</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.UserLocalServiceFactory</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.UserLocalService
0047:         * @see com.liferay.portal.service.UserLocalServiceFactory
0048:         *
0049:         */
0050:        public class UserLocalServiceUtil {
0051:            public static com.liferay.portal.model.User addUser(
0052:                    com.liferay.portal.model.User model)
0053:                    throws com.liferay.portal.SystemException {
0054:                UserLocalService userLocalService = UserLocalServiceFactory
0055:                        .getService();
0056:
0057:                return userLocalService.addUser(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:                UserLocalService userLocalService = UserLocalServiceFactory
0064:                        .getService();
0065:
0066:                return userLocalService.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:                UserLocalService userLocalService = UserLocalServiceFactory
0074:                        .getService();
0075:
0076:                return userLocalService.dynamicQuery(queryInitializer, begin,
0077:                        end);
0078:            }
0079:
0080:            public static com.liferay.portal.model.User updateUser(
0081:                    com.liferay.portal.model.User model)
0082:                    throws com.liferay.portal.SystemException {
0083:                UserLocalService userLocalService = UserLocalServiceFactory
0084:                        .getService();
0085:
0086:                return userLocalService.updateUser(model);
0087:            }
0088:
0089:            public static com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence() {
0090:                UserLocalService userLocalService = UserLocalServiceFactory
0091:                        .getService();
0092:
0093:                return userLocalService.getAccountPersistence();
0094:            }
0095:
0096:            public static void setAccountPersistence(
0097:                    com.liferay.portal.service.persistence.AccountPersistence accountPersistence) {
0098:                UserLocalService userLocalService = UserLocalServiceFactory
0099:                        .getService();
0100:
0101:                userLocalService.setAccountPersistence(accountPersistence);
0102:            }
0103:
0104:            public static com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence() {
0105:                UserLocalService userLocalService = UserLocalServiceFactory
0106:                        .getService();
0107:
0108:                return userLocalService.getActivityTrackerPersistence();
0109:            }
0110:
0111:            public static void setActivityTrackerPersistence(
0112:                    com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence) {
0113:                UserLocalService userLocalService = UserLocalServiceFactory
0114:                        .getService();
0115:
0116:                userLocalService
0117:                        .setActivityTrackerPersistence(activityTrackerPersistence);
0118:            }
0119:
0120:            public static com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder() {
0121:                UserLocalService userLocalService = UserLocalServiceFactory
0122:                        .getService();
0123:
0124:                return userLocalService.getActivityTrackerFinder();
0125:            }
0126:
0127:            public static void setActivityTrackerFinder(
0128:                    com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder) {
0129:                UserLocalService userLocalService = UserLocalServiceFactory
0130:                        .getService();
0131:
0132:                userLocalService
0133:                        .setActivityTrackerFinder(activityTrackerFinder);
0134:            }
0135:
0136:            public static com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence() {
0137:                UserLocalService userLocalService = UserLocalServiceFactory
0138:                        .getService();
0139:
0140:                return userLocalService.getAddressPersistence();
0141:            }
0142:
0143:            public static void setAddressPersistence(
0144:                    com.liferay.portal.service.persistence.AddressPersistence addressPersistence) {
0145:                UserLocalService userLocalService = UserLocalServiceFactory
0146:                        .getService();
0147:
0148:                userLocalService.setAddressPersistence(addressPersistence);
0149:            }
0150:
0151:            public static com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence() {
0152:                UserLocalService userLocalService = UserLocalServiceFactory
0153:                        .getService();
0154:
0155:                return userLocalService.getClassNamePersistence();
0156:            }
0157:
0158:            public static void setClassNamePersistence(
0159:                    com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence) {
0160:                UserLocalService userLocalService = UserLocalServiceFactory
0161:                        .getService();
0162:
0163:                userLocalService.setClassNamePersistence(classNamePersistence);
0164:            }
0165:
0166:            public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
0167:                UserLocalService userLocalService = UserLocalServiceFactory
0168:                        .getService();
0169:
0170:                return userLocalService.getCompanyPersistence();
0171:            }
0172:
0173:            public static void setCompanyPersistence(
0174:                    com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
0175:                UserLocalService userLocalService = UserLocalServiceFactory
0176:                        .getService();
0177:
0178:                userLocalService.setCompanyPersistence(companyPersistence);
0179:            }
0180:
0181:            public static com.liferay.portal.service.persistence.ContactPersistence getContactPersistence() {
0182:                UserLocalService userLocalService = UserLocalServiceFactory
0183:                        .getService();
0184:
0185:                return userLocalService.getContactPersistence();
0186:            }
0187:
0188:            public static void setContactPersistence(
0189:                    com.liferay.portal.service.persistence.ContactPersistence contactPersistence) {
0190:                UserLocalService userLocalService = UserLocalServiceFactory
0191:                        .getService();
0192:
0193:                userLocalService.setContactPersistence(contactPersistence);
0194:            }
0195:
0196:            public static com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence() {
0197:                UserLocalService userLocalService = UserLocalServiceFactory
0198:                        .getService();
0199:
0200:                return userLocalService.getCountryPersistence();
0201:            }
0202:
0203:            public static void setCountryPersistence(
0204:                    com.liferay.portal.service.persistence.CountryPersistence countryPersistence) {
0205:                UserLocalService userLocalService = UserLocalServiceFactory
0206:                        .getService();
0207:
0208:                userLocalService.setCountryPersistence(countryPersistence);
0209:            }
0210:
0211:            public static com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence() {
0212:                UserLocalService userLocalService = UserLocalServiceFactory
0213:                        .getService();
0214:
0215:                return userLocalService.getEmailAddressPersistence();
0216:            }
0217:
0218:            public static void setEmailAddressPersistence(
0219:                    com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence) {
0220:                UserLocalService userLocalService = UserLocalServiceFactory
0221:                        .getService();
0222:
0223:                userLocalService
0224:                        .setEmailAddressPersistence(emailAddressPersistence);
0225:            }
0226:
0227:            public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
0228:                UserLocalService userLocalService = UserLocalServiceFactory
0229:                        .getService();
0230:
0231:                return userLocalService.getGroupPersistence();
0232:            }
0233:
0234:            public static void setGroupPersistence(
0235:                    com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
0236:                UserLocalService userLocalService = UserLocalServiceFactory
0237:                        .getService();
0238:
0239:                userLocalService.setGroupPersistence(groupPersistence);
0240:            }
0241:
0242:            public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
0243:                UserLocalService userLocalService = UserLocalServiceFactory
0244:                        .getService();
0245:
0246:                return userLocalService.getGroupFinder();
0247:            }
0248:
0249:            public static void setGroupFinder(
0250:                    com.liferay.portal.service.persistence.GroupFinder groupFinder) {
0251:                UserLocalService userLocalService = UserLocalServiceFactory
0252:                        .getService();
0253:
0254:                userLocalService.setGroupFinder(groupFinder);
0255:            }
0256:
0257:            public static com.liferay.portal.service.persistence.ImagePersistence getImagePersistence() {
0258:                UserLocalService userLocalService = UserLocalServiceFactory
0259:                        .getService();
0260:
0261:                return userLocalService.getImagePersistence();
0262:            }
0263:
0264:            public static void setImagePersistence(
0265:                    com.liferay.portal.service.persistence.ImagePersistence imagePersistence) {
0266:                UserLocalService userLocalService = UserLocalServiceFactory
0267:                        .getService();
0268:
0269:                userLocalService.setImagePersistence(imagePersistence);
0270:            }
0271:
0272:            public static com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence() {
0273:                UserLocalService userLocalService = UserLocalServiceFactory
0274:                        .getService();
0275:
0276:                return userLocalService.getLayoutPersistence();
0277:            }
0278:
0279:            public static void setLayoutPersistence(
0280:                    com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence) {
0281:                UserLocalService userLocalService = UserLocalServiceFactory
0282:                        .getService();
0283:
0284:                userLocalService.setLayoutPersistence(layoutPersistence);
0285:            }
0286:
0287:            public static com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder() {
0288:                UserLocalService userLocalService = UserLocalServiceFactory
0289:                        .getService();
0290:
0291:                return userLocalService.getLayoutFinder();
0292:            }
0293:
0294:            public static void setLayoutFinder(
0295:                    com.liferay.portal.service.persistence.LayoutFinder layoutFinder) {
0296:                UserLocalService userLocalService = UserLocalServiceFactory
0297:                        .getService();
0298:
0299:                userLocalService.setLayoutFinder(layoutFinder);
0300:            }
0301:
0302:            public static com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence() {
0303:                UserLocalService userLocalService = UserLocalServiceFactory
0304:                        .getService();
0305:
0306:                return userLocalService.getLayoutSetPersistence();
0307:            }
0308:
0309:            public static void setLayoutSetPersistence(
0310:                    com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence) {
0311:                UserLocalService userLocalService = UserLocalServiceFactory
0312:                        .getService();
0313:
0314:                userLocalService.setLayoutSetPersistence(layoutSetPersistence);
0315:            }
0316:
0317:            public static com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence() {
0318:                UserLocalService userLocalService = UserLocalServiceFactory
0319:                        .getService();
0320:
0321:                return userLocalService.getListTypePersistence();
0322:            }
0323:
0324:            public static void setListTypePersistence(
0325:                    com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence) {
0326:                UserLocalService userLocalService = UserLocalServiceFactory
0327:                        .getService();
0328:
0329:                userLocalService.setListTypePersistence(listTypePersistence);
0330:            }
0331:
0332:            public static com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence() {
0333:                UserLocalService userLocalService = UserLocalServiceFactory
0334:                        .getService();
0335:
0336:                return userLocalService.getMembershipRequestPersistence();
0337:            }
0338:
0339:            public static void setMembershipRequestPersistence(
0340:                    com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence) {
0341:                UserLocalService userLocalService = UserLocalServiceFactory
0342:                        .getService();
0343:
0344:                userLocalService
0345:                        .setMembershipRequestPersistence(membershipRequestPersistence);
0346:            }
0347:
0348:            public static com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence() {
0349:                UserLocalService userLocalService = UserLocalServiceFactory
0350:                        .getService();
0351:
0352:                return userLocalService.getOrganizationPersistence();
0353:            }
0354:
0355:            public static void setOrganizationPersistence(
0356:                    com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence) {
0357:                UserLocalService userLocalService = UserLocalServiceFactory
0358:                        .getService();
0359:
0360:                userLocalService
0361:                        .setOrganizationPersistence(organizationPersistence);
0362:            }
0363:
0364:            public static com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder() {
0365:                UserLocalService userLocalService = UserLocalServiceFactory
0366:                        .getService();
0367:
0368:                return userLocalService.getOrganizationFinder();
0369:            }
0370:
0371:            public static void setOrganizationFinder(
0372:                    com.liferay.portal.service.persistence.OrganizationFinder organizationFinder) {
0373:                UserLocalService userLocalService = UserLocalServiceFactory
0374:                        .getService();
0375:
0376:                userLocalService.setOrganizationFinder(organizationFinder);
0377:            }
0378:
0379:            public static com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence() {
0380:                UserLocalService userLocalService = UserLocalServiceFactory
0381:                        .getService();
0382:
0383:                return userLocalService.getOrgGroupPermissionPersistence();
0384:            }
0385:
0386:            public static void setOrgGroupPermissionPersistence(
0387:                    com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence) {
0388:                UserLocalService userLocalService = UserLocalServiceFactory
0389:                        .getService();
0390:
0391:                userLocalService
0392:                        .setOrgGroupPermissionPersistence(orgGroupPermissionPersistence);
0393:            }
0394:
0395:            public static com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder() {
0396:                UserLocalService userLocalService = UserLocalServiceFactory
0397:                        .getService();
0398:
0399:                return userLocalService.getOrgGroupPermissionFinder();
0400:            }
0401:
0402:            public static void setOrgGroupPermissionFinder(
0403:                    com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder) {
0404:                UserLocalService userLocalService = UserLocalServiceFactory
0405:                        .getService();
0406:
0407:                userLocalService
0408:                        .setOrgGroupPermissionFinder(orgGroupPermissionFinder);
0409:            }
0410:
0411:            public static com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence() {
0412:                UserLocalService userLocalService = UserLocalServiceFactory
0413:                        .getService();
0414:
0415:                return userLocalService.getOrgGroupRolePersistence();
0416:            }
0417:
0418:            public static void setOrgGroupRolePersistence(
0419:                    com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence) {
0420:                UserLocalService userLocalService = UserLocalServiceFactory
0421:                        .getService();
0422:
0423:                userLocalService
0424:                        .setOrgGroupRolePersistence(orgGroupRolePersistence);
0425:            }
0426:
0427:            public static com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence() {
0428:                UserLocalService userLocalService = UserLocalServiceFactory
0429:                        .getService();
0430:
0431:                return userLocalService.getOrgLaborPersistence();
0432:            }
0433:
0434:            public static void setOrgLaborPersistence(
0435:                    com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence) {
0436:                UserLocalService userLocalService = UserLocalServiceFactory
0437:                        .getService();
0438:
0439:                userLocalService.setOrgLaborPersistence(orgLaborPersistence);
0440:            }
0441:
0442:            public static com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence() {
0443:                UserLocalService userLocalService = UserLocalServiceFactory
0444:                        .getService();
0445:
0446:                return userLocalService.getPasswordPolicyPersistence();
0447:            }
0448:
0449:            public static void setPasswordPolicyPersistence(
0450:                    com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence) {
0451:                UserLocalService userLocalService = UserLocalServiceFactory
0452:                        .getService();
0453:
0454:                userLocalService
0455:                        .setPasswordPolicyPersistence(passwordPolicyPersistence);
0456:            }
0457:
0458:            public static com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder() {
0459:                UserLocalService userLocalService = UserLocalServiceFactory
0460:                        .getService();
0461:
0462:                return userLocalService.getPasswordPolicyFinder();
0463:            }
0464:
0465:            public static void setPasswordPolicyFinder(
0466:                    com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder) {
0467:                UserLocalService userLocalService = UserLocalServiceFactory
0468:                        .getService();
0469:
0470:                userLocalService.setPasswordPolicyFinder(passwordPolicyFinder);
0471:            }
0472:
0473:            public static com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
0474:                UserLocalService userLocalService = UserLocalServiceFactory
0475:                        .getService();
0476:
0477:                return userLocalService.getPasswordPolicyRelPersistence();
0478:            }
0479:
0480:            public static void setPasswordPolicyRelPersistence(
0481:                    com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
0482:                UserLocalService userLocalService = UserLocalServiceFactory
0483:                        .getService();
0484:
0485:                userLocalService
0486:                        .setPasswordPolicyRelPersistence(passwordPolicyRelPersistence);
0487:            }
0488:
0489:            public static com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence() {
0490:                UserLocalService userLocalService = UserLocalServiceFactory
0491:                        .getService();
0492:
0493:                return userLocalService.getPasswordTrackerPersistence();
0494:            }
0495:
0496:            public static void setPasswordTrackerPersistence(
0497:                    com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence) {
0498:                UserLocalService userLocalService = UserLocalServiceFactory
0499:                        .getService();
0500:
0501:                userLocalService
0502:                        .setPasswordTrackerPersistence(passwordTrackerPersistence);
0503:            }
0504:
0505:            public static com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence() {
0506:                UserLocalService userLocalService = UserLocalServiceFactory
0507:                        .getService();
0508:
0509:                return userLocalService.getPermissionPersistence();
0510:            }
0511:
0512:            public static void setPermissionPersistence(
0513:                    com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence) {
0514:                UserLocalService userLocalService = UserLocalServiceFactory
0515:                        .getService();
0516:
0517:                userLocalService
0518:                        .setPermissionPersistence(permissionPersistence);
0519:            }
0520:
0521:            public static com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder() {
0522:                UserLocalService userLocalService = UserLocalServiceFactory
0523:                        .getService();
0524:
0525:                return userLocalService.getPermissionFinder();
0526:            }
0527:
0528:            public static void setPermissionFinder(
0529:                    com.liferay.portal.service.persistence.PermissionFinder permissionFinder) {
0530:                UserLocalService userLocalService = UserLocalServiceFactory
0531:                        .getService();
0532:
0533:                userLocalService.setPermissionFinder(permissionFinder);
0534:            }
0535:
0536:            public static com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder() {
0537:                UserLocalService userLocalService = UserLocalServiceFactory
0538:                        .getService();
0539:
0540:                return userLocalService.getPermissionUserFinder();
0541:            }
0542:
0543:            public static void setPermissionUserFinder(
0544:                    com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder) {
0545:                UserLocalService userLocalService = UserLocalServiceFactory
0546:                        .getService();
0547:
0548:                userLocalService.setPermissionUserFinder(permissionUserFinder);
0549:            }
0550:
0551:            public static com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence() {
0552:                UserLocalService userLocalService = UserLocalServiceFactory
0553:                        .getService();
0554:
0555:                return userLocalService.getPhonePersistence();
0556:            }
0557:
0558:            public static void setPhonePersistence(
0559:                    com.liferay.portal.service.persistence.PhonePersistence phonePersistence) {
0560:                UserLocalService userLocalService = UserLocalServiceFactory
0561:                        .getService();
0562:
0563:                userLocalService.setPhonePersistence(phonePersistence);
0564:            }
0565:
0566:            public static com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence() {
0567:                UserLocalService userLocalService = UserLocalServiceFactory
0568:                        .getService();
0569:
0570:                return userLocalService.getPluginSettingPersistence();
0571:            }
0572:
0573:            public static void setPluginSettingPersistence(
0574:                    com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence) {
0575:                UserLocalService userLocalService = UserLocalServiceFactory
0576:                        .getService();
0577:
0578:                userLocalService
0579:                        .setPluginSettingPersistence(pluginSettingPersistence);
0580:            }
0581:
0582:            public static com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence() {
0583:                UserLocalService userLocalService = UserLocalServiceFactory
0584:                        .getService();
0585:
0586:                return userLocalService.getPortletPersistence();
0587:            }
0588:
0589:            public static void setPortletPersistence(
0590:                    com.liferay.portal.service.persistence.PortletPersistence portletPersistence) {
0591:                UserLocalService userLocalService = UserLocalServiceFactory
0592:                        .getService();
0593:
0594:                userLocalService.setPortletPersistence(portletPersistence);
0595:            }
0596:
0597:            public static com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence() {
0598:                UserLocalService userLocalService = UserLocalServiceFactory
0599:                        .getService();
0600:
0601:                return userLocalService.getPortletPreferencesPersistence();
0602:            }
0603:
0604:            public static void setPortletPreferencesPersistence(
0605:                    com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence) {
0606:                UserLocalService userLocalService = UserLocalServiceFactory
0607:                        .getService();
0608:
0609:                userLocalService
0610:                        .setPortletPreferencesPersistence(portletPreferencesPersistence);
0611:            }
0612:
0613:            public static com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder() {
0614:                UserLocalService userLocalService = UserLocalServiceFactory
0615:                        .getService();
0616:
0617:                return userLocalService.getPortletPreferencesFinder();
0618:            }
0619:
0620:            public static void setPortletPreferencesFinder(
0621:                    com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder) {
0622:                UserLocalService userLocalService = UserLocalServiceFactory
0623:                        .getService();
0624:
0625:                userLocalService
0626:                        .setPortletPreferencesFinder(portletPreferencesFinder);
0627:            }
0628:
0629:            public static com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence() {
0630:                UserLocalService userLocalService = UserLocalServiceFactory
0631:                        .getService();
0632:
0633:                return userLocalService.getRegionPersistence();
0634:            }
0635:
0636:            public static void setRegionPersistence(
0637:                    com.liferay.portal.service.persistence.RegionPersistence regionPersistence) {
0638:                UserLocalService userLocalService = UserLocalServiceFactory
0639:                        .getService();
0640:
0641:                userLocalService.setRegionPersistence(regionPersistence);
0642:            }
0643:
0644:            public static com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence() {
0645:                UserLocalService userLocalService = UserLocalServiceFactory
0646:                        .getService();
0647:
0648:                return userLocalService.getReleasePersistence();
0649:            }
0650:
0651:            public static void setReleasePersistence(
0652:                    com.liferay.portal.service.persistence.ReleasePersistence releasePersistence) {
0653:                UserLocalService userLocalService = UserLocalServiceFactory
0654:                        .getService();
0655:
0656:                userLocalService.setReleasePersistence(releasePersistence);
0657:            }
0658:
0659:            public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
0660:                UserLocalService userLocalService = UserLocalServiceFactory
0661:                        .getService();
0662:
0663:                return userLocalService.getResourcePersistence();
0664:            }
0665:
0666:            public static void setResourcePersistence(
0667:                    com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
0668:                UserLocalService userLocalService = UserLocalServiceFactory
0669:                        .getService();
0670:
0671:                userLocalService.setResourcePersistence(resourcePersistence);
0672:            }
0673:
0674:            public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
0675:                UserLocalService userLocalService = UserLocalServiceFactory
0676:                        .getService();
0677:
0678:                return userLocalService.getResourceFinder();
0679:            }
0680:
0681:            public static void setResourceFinder(
0682:                    com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
0683:                UserLocalService userLocalService = UserLocalServiceFactory
0684:                        .getService();
0685:
0686:                userLocalService.setResourceFinder(resourceFinder);
0687:            }
0688:
0689:            public static com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence() {
0690:                UserLocalService userLocalService = UserLocalServiceFactory
0691:                        .getService();
0692:
0693:                return userLocalService.getResourceCodePersistence();
0694:            }
0695:
0696:            public static void setResourceCodePersistence(
0697:                    com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence) {
0698:                UserLocalService userLocalService = UserLocalServiceFactory
0699:                        .getService();
0700:
0701:                userLocalService
0702:                        .setResourceCodePersistence(resourceCodePersistence);
0703:            }
0704:
0705:            public static com.liferay.portal.service.persistence.RolePersistence getRolePersistence() {
0706:                UserLocalService userLocalService = UserLocalServiceFactory
0707:                        .getService();
0708:
0709:                return userLocalService.getRolePersistence();
0710:            }
0711:
0712:            public static void setRolePersistence(
0713:                    com.liferay.portal.service.persistence.RolePersistence rolePersistence) {
0714:                UserLocalService userLocalService = UserLocalServiceFactory
0715:                        .getService();
0716:
0717:                userLocalService.setRolePersistence(rolePersistence);
0718:            }
0719:
0720:            public static com.liferay.portal.service.persistence.RoleFinder getRoleFinder() {
0721:                UserLocalService userLocalService = UserLocalServiceFactory
0722:                        .getService();
0723:
0724:                return userLocalService.getRoleFinder();
0725:            }
0726:
0727:            public static void setRoleFinder(
0728:                    com.liferay.portal.service.persistence.RoleFinder roleFinder) {
0729:                UserLocalService userLocalService = UserLocalServiceFactory
0730:                        .getService();
0731:
0732:                userLocalService.setRoleFinder(roleFinder);
0733:            }
0734:
0735:            public static com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence() {
0736:                UserLocalService userLocalService = UserLocalServiceFactory
0737:                        .getService();
0738:
0739:                return userLocalService.getServiceComponentPersistence();
0740:            }
0741:
0742:            public static void setServiceComponentPersistence(
0743:                    com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence) {
0744:                UserLocalService userLocalService = UserLocalServiceFactory
0745:                        .getService();
0746:
0747:                userLocalService
0748:                        .setServiceComponentPersistence(serviceComponentPersistence);
0749:            }
0750:
0751:            public static com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence() {
0752:                UserLocalService userLocalService = UserLocalServiceFactory
0753:                        .getService();
0754:
0755:                return userLocalService.getSubscriptionPersistence();
0756:            }
0757:
0758:            public static void setSubscriptionPersistence(
0759:                    com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence) {
0760:                UserLocalService userLocalService = UserLocalServiceFactory
0761:                        .getService();
0762:
0763:                userLocalService
0764:                        .setSubscriptionPersistence(subscriptionPersistence);
0765:            }
0766:
0767:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
0768:                UserLocalService userLocalService = UserLocalServiceFactory
0769:                        .getService();
0770:
0771:                return userLocalService.getUserPersistence();
0772:            }
0773:
0774:            public static void setUserPersistence(
0775:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
0776:                UserLocalService userLocalService = UserLocalServiceFactory
0777:                        .getService();
0778:
0779:                userLocalService.setUserPersistence(userPersistence);
0780:            }
0781:
0782:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
0783:                UserLocalService userLocalService = UserLocalServiceFactory
0784:                        .getService();
0785:
0786:                return userLocalService.getUserFinder();
0787:            }
0788:
0789:            public static void setUserFinder(
0790:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
0791:                UserLocalService userLocalService = UserLocalServiceFactory
0792:                        .getService();
0793:
0794:                userLocalService.setUserFinder(userFinder);
0795:            }
0796:
0797:            public static com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence() {
0798:                UserLocalService userLocalService = UserLocalServiceFactory
0799:                        .getService();
0800:
0801:                return userLocalService.getUserGroupPersistence();
0802:            }
0803:
0804:            public static void setUserGroupPersistence(
0805:                    com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence) {
0806:                UserLocalService userLocalService = UserLocalServiceFactory
0807:                        .getService();
0808:
0809:                userLocalService.setUserGroupPersistence(userGroupPersistence);
0810:            }
0811:
0812:            public static com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder() {
0813:                UserLocalService userLocalService = UserLocalServiceFactory
0814:                        .getService();
0815:
0816:                return userLocalService.getUserGroupFinder();
0817:            }
0818:
0819:            public static void setUserGroupFinder(
0820:                    com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder) {
0821:                UserLocalService userLocalService = UserLocalServiceFactory
0822:                        .getService();
0823:
0824:                userLocalService.setUserGroupFinder(userGroupFinder);
0825:            }
0826:
0827:            public static com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence() {
0828:                UserLocalService userLocalService = UserLocalServiceFactory
0829:                        .getService();
0830:
0831:                return userLocalService.getUserGroupRolePersistence();
0832:            }
0833:
0834:            public static void setUserGroupRolePersistence(
0835:                    com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence) {
0836:                UserLocalService userLocalService = UserLocalServiceFactory
0837:                        .getService();
0838:
0839:                userLocalService
0840:                        .setUserGroupRolePersistence(userGroupRolePersistence);
0841:            }
0842:
0843:            public static com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence() {
0844:                UserLocalService userLocalService = UserLocalServiceFactory
0845:                        .getService();
0846:
0847:                return userLocalService.getUserIdMapperPersistence();
0848:            }
0849:
0850:            public static void setUserIdMapperPersistence(
0851:                    com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence) {
0852:                UserLocalService userLocalService = UserLocalServiceFactory
0853:                        .getService();
0854:
0855:                userLocalService
0856:                        .setUserIdMapperPersistence(userIdMapperPersistence);
0857:            }
0858:
0859:            public static com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence() {
0860:                UserLocalService userLocalService = UserLocalServiceFactory
0861:                        .getService();
0862:
0863:                return userLocalService.getUserTrackerPersistence();
0864:            }
0865:
0866:            public static void setUserTrackerPersistence(
0867:                    com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence) {
0868:                UserLocalService userLocalService = UserLocalServiceFactory
0869:                        .getService();
0870:
0871:                userLocalService
0872:                        .setUserTrackerPersistence(userTrackerPersistence);
0873:            }
0874:
0875:            public static com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence() {
0876:                UserLocalService userLocalService = UserLocalServiceFactory
0877:                        .getService();
0878:
0879:                return userLocalService.getUserTrackerPathPersistence();
0880:            }
0881:
0882:            public static void setUserTrackerPathPersistence(
0883:                    com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence) {
0884:                UserLocalService userLocalService = UserLocalServiceFactory
0885:                        .getService();
0886:
0887:                userLocalService
0888:                        .setUserTrackerPathPersistence(userTrackerPathPersistence);
0889:            }
0890:
0891:            public static com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence() {
0892:                UserLocalService userLocalService = UserLocalServiceFactory
0893:                        .getService();
0894:
0895:                return userLocalService.getWebDAVPropsPersistence();
0896:            }
0897:
0898:            public static void setWebDAVPropsPersistence(
0899:                    com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence) {
0900:                UserLocalService userLocalService = UserLocalServiceFactory
0901:                        .getService();
0902:
0903:                userLocalService
0904:                        .setWebDAVPropsPersistence(webDAVPropsPersistence);
0905:            }
0906:
0907:            public static com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence() {
0908:                UserLocalService userLocalService = UserLocalServiceFactory
0909:                        .getService();
0910:
0911:                return userLocalService.getWebsitePersistence();
0912:            }
0913:
0914:            public static void setWebsitePersistence(
0915:                    com.liferay.portal.service.persistence.WebsitePersistence websitePersistence) {
0916:                UserLocalService userLocalService = UserLocalServiceFactory
0917:                        .getService();
0918:
0919:                userLocalService.setWebsitePersistence(websitePersistence);
0920:            }
0921:
0922:            public static com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
0923:                UserLocalService userLocalService = UserLocalServiceFactory
0924:                        .getService();
0925:
0926:                return userLocalService.getBlogsStatsUserPersistence();
0927:            }
0928:
0929:            public static void setBlogsStatsUserPersistence(
0930:                    com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence blogsStatsUserPersistence) {
0931:                UserLocalService userLocalService = UserLocalServiceFactory
0932:                        .getService();
0933:
0934:                userLocalService
0935:                        .setBlogsStatsUserPersistence(blogsStatsUserPersistence);
0936:            }
0937:
0938:            public static com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder getBlogsStatsUserFinder() {
0939:                UserLocalService userLocalService = UserLocalServiceFactory
0940:                        .getService();
0941:
0942:                return userLocalService.getBlogsStatsUserFinder();
0943:            }
0944:
0945:            public static void setBlogsStatsUserFinder(
0946:                    com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder blogsStatsUserFinder) {
0947:                UserLocalService userLocalService = UserLocalServiceFactory
0948:                        .getService();
0949:
0950:                userLocalService.setBlogsStatsUserFinder(blogsStatsUserFinder);
0951:            }
0952:
0953:            public static com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence getDLFileRankPersistence() {
0954:                UserLocalService userLocalService = UserLocalServiceFactory
0955:                        .getService();
0956:
0957:                return userLocalService.getDLFileRankPersistence();
0958:            }
0959:
0960:            public static void setDLFileRankPersistence(
0961:                    com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence dlFileRankPersistence) {
0962:                UserLocalService userLocalService = UserLocalServiceFactory
0963:                        .getService();
0964:
0965:                userLocalService
0966:                        .setDLFileRankPersistence(dlFileRankPersistence);
0967:            }
0968:
0969:            public static com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder getDLFileRankFinder() {
0970:                UserLocalService userLocalService = UserLocalServiceFactory
0971:                        .getService();
0972:
0973:                return userLocalService.getDLFileRankFinder();
0974:            }
0975:
0976:            public static void setDLFileRankFinder(
0977:                    com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder dlFileRankFinder) {
0978:                UserLocalService userLocalService = UserLocalServiceFactory
0979:                        .getService();
0980:
0981:                userLocalService.setDLFileRankFinder(dlFileRankFinder);
0982:            }
0983:
0984:            public static com.liferay.portlet.messageboards.service.persistence.MBBanPersistence getMBBanPersistence() {
0985:                UserLocalService userLocalService = UserLocalServiceFactory
0986:                        .getService();
0987:
0988:                return userLocalService.getMBBanPersistence();
0989:            }
0990:
0991:            public static void setMBBanPersistence(
0992:                    com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence) {
0993:                UserLocalService userLocalService = UserLocalServiceFactory
0994:                        .getService();
0995:
0996:                userLocalService.setMBBanPersistence(mbBanPersistence);
0997:            }
0998:
0999:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence getMBMessageFlagPersistence() {
1000:                UserLocalService userLocalService = UserLocalServiceFactory
1001:                        .getService();
1002:
1003:                return userLocalService.getMBMessageFlagPersistence();
1004:            }
1005:
1006:            public static void setMBMessageFlagPersistence(
1007:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence mbMessageFlagPersistence) {
1008:                UserLocalService userLocalService = UserLocalServiceFactory
1009:                        .getService();
1010:
1011:                userLocalService
1012:                        .setMBMessageFlagPersistence(mbMessageFlagPersistence);
1013:            }
1014:
1015:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder getMBMessageFlagFinder() {
1016:                UserLocalService userLocalService = UserLocalServiceFactory
1017:                        .getService();
1018:
1019:                return userLocalService.getMBMessageFlagFinder();
1020:            }
1021:
1022:            public static void setMBMessageFlagFinder(
1023:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder mbMessageFlagFinder) {
1024:                UserLocalService userLocalService = UserLocalServiceFactory
1025:                        .getService();
1026:
1027:                userLocalService.setMBMessageFlagFinder(mbMessageFlagFinder);
1028:            }
1029:
1030:            public static com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence getMBStatsUserPersistence() {
1031:                UserLocalService userLocalService = UserLocalServiceFactory
1032:                        .getService();
1033:
1034:                return userLocalService.getMBStatsUserPersistence();
1035:            }
1036:
1037:            public static void setMBStatsUserPersistence(
1038:                    com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence) {
1039:                UserLocalService userLocalService = UserLocalServiceFactory
1040:                        .getService();
1041:
1042:                userLocalService
1043:                        .setMBStatsUserPersistence(mbStatsUserPersistence);
1044:            }
1045:
1046:            public static com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence getShoppingCartPersistence() {
1047:                UserLocalService userLocalService = UserLocalServiceFactory
1048:                        .getService();
1049:
1050:                return userLocalService.getShoppingCartPersistence();
1051:            }
1052:
1053:            public static void setShoppingCartPersistence(
1054:                    com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence shoppingCartPersistence) {
1055:                UserLocalService userLocalService = UserLocalServiceFactory
1056:                        .getService();
1057:
1058:                userLocalService
1059:                        .setShoppingCartPersistence(shoppingCartPersistence);
1060:            }
1061:
1062:            public static void afterPropertiesSet() {
1063:                UserLocalService userLocalService = UserLocalServiceFactory
1064:                        .getService();
1065:
1066:                userLocalService.afterPropertiesSet();
1067:            }
1068:
1069:            public static void addGroupUsers(long groupId, long[] userIds)
1070:                    throws com.liferay.portal.PortalException,
1071:                    com.liferay.portal.SystemException {
1072:                UserLocalService userLocalService = UserLocalServiceFactory
1073:                        .getService();
1074:
1075:                userLocalService.addGroupUsers(groupId, userIds);
1076:            }
1077:
1078:            public static void addOrganizationUsers(long organizationId,
1079:                    long[] userIds) throws com.liferay.portal.PortalException,
1080:                    com.liferay.portal.SystemException {
1081:                UserLocalService userLocalService = UserLocalServiceFactory
1082:                        .getService();
1083:
1084:                userLocalService.addOrganizationUsers(organizationId, userIds);
1085:            }
1086:
1087:            public static void addPasswordPolicyUsers(long passwordPolicyId,
1088:                    long[] userIds) throws com.liferay.portal.PortalException,
1089:                    com.liferay.portal.SystemException {
1090:                UserLocalService userLocalService = UserLocalServiceFactory
1091:                        .getService();
1092:
1093:                userLocalService.addPasswordPolicyUsers(passwordPolicyId,
1094:                        userIds);
1095:            }
1096:
1097:            public static void addRoleUsers(long roleId, long[] userIds)
1098:                    throws com.liferay.portal.PortalException,
1099:                    com.liferay.portal.SystemException {
1100:                UserLocalService userLocalService = UserLocalServiceFactory
1101:                        .getService();
1102:
1103:                userLocalService.addRoleUsers(roleId, userIds);
1104:            }
1105:
1106:            public static void addUserGroupUsers(long userGroupId,
1107:                    long[] userIds) throws com.liferay.portal.PortalException,
1108:                    com.liferay.portal.SystemException {
1109:                UserLocalService userLocalService = UserLocalServiceFactory
1110:                        .getService();
1111:
1112:                userLocalService.addUserGroupUsers(userGroupId, userIds);
1113:            }
1114:
1115:            public static com.liferay.portal.model.User addUser(
1116:                    long creatorUserId, long companyId, boolean autoPassword,
1117:                    java.lang.String password1, java.lang.String password2,
1118:                    boolean autoScreenName, java.lang.String screenName,
1119:                    java.lang.String emailAddress, java.util.Locale locale,
1120:                    java.lang.String firstName, java.lang.String middleName,
1121:                    java.lang.String lastName, int prefixId, int suffixId,
1122:                    boolean male, int birthdayMonth, int birthdayDay,
1123:                    int birthdayYear, java.lang.String jobTitle,
1124:                    long[] organizationIds, boolean sendEmail)
1125:                    throws com.liferay.portal.PortalException,
1126:                    com.liferay.portal.SystemException {
1127:                UserLocalService userLocalService = UserLocalServiceFactory
1128:                        .getService();
1129:
1130:                return userLocalService.addUser(creatorUserId, companyId,
1131:                        autoPassword, password1, password2, autoScreenName,
1132:                        screenName, emailAddress, locale, firstName,
1133:                        middleName, lastName, prefixId, suffixId, male,
1134:                        birthdayMonth, birthdayDay, birthdayYear, jobTitle,
1135:                        organizationIds, sendEmail);
1136:            }
1137:
1138:            public static int authenticateByEmailAddress(long companyId,
1139:                    java.lang.String emailAddress, java.lang.String password,
1140:                    java.util.Map headerMap, java.util.Map parameterMap)
1141:                    throws com.liferay.portal.PortalException,
1142:                    com.liferay.portal.SystemException {
1143:                UserLocalService userLocalService = UserLocalServiceFactory
1144:                        .getService();
1145:
1146:                return userLocalService.authenticateByEmailAddress(companyId,
1147:                        emailAddress, password, headerMap, parameterMap);
1148:            }
1149:
1150:            public static int authenticateByScreenName(long companyId,
1151:                    java.lang.String screenName, java.lang.String password,
1152:                    java.util.Map headerMap, java.util.Map parameterMap)
1153:                    throws com.liferay.portal.PortalException,
1154:                    com.liferay.portal.SystemException {
1155:                UserLocalService userLocalService = UserLocalServiceFactory
1156:                        .getService();
1157:
1158:                return userLocalService.authenticateByScreenName(companyId,
1159:                        screenName, password, headerMap, parameterMap);
1160:            }
1161:
1162:            public static int authenticateByUserId(long companyId, long userId,
1163:                    java.lang.String password, java.util.Map headerMap,
1164:                    java.util.Map parameterMap)
1165:                    throws com.liferay.portal.PortalException,
1166:                    com.liferay.portal.SystemException {
1167:                UserLocalService userLocalService = UserLocalServiceFactory
1168:                        .getService();
1169:
1170:                return userLocalService.authenticateByUserId(companyId, userId,
1171:                        password, headerMap, parameterMap);
1172:            }
1173:
1174:            public static boolean authenticateForJAAS(long userId,
1175:                    java.lang.String encPwd)
1176:                    throws com.liferay.portal.PortalException,
1177:                    com.liferay.portal.SystemException {
1178:                UserLocalService userLocalService = UserLocalServiceFactory
1179:                        .getService();
1180:
1181:                return userLocalService.authenticateForJAAS(userId, encPwd);
1182:            }
1183:
1184:            public static void checkLockout(com.liferay.portal.model.User user)
1185:                    throws com.liferay.portal.PortalException,
1186:                    com.liferay.portal.SystemException {
1187:                UserLocalService userLocalService = UserLocalServiceFactory
1188:                        .getService();
1189:
1190:                userLocalService.checkLockout(user);
1191:            }
1192:
1193:            public static void checkLoginFailure(
1194:                    com.liferay.portal.model.User user)
1195:                    throws com.liferay.portal.PortalException,
1196:                    com.liferay.portal.SystemException {
1197:                UserLocalService userLocalService = UserLocalServiceFactory
1198:                        .getService();
1199:
1200:                userLocalService.checkLoginFailure(user);
1201:            }
1202:
1203:            public static void checkLoginFailureByEmailAddress(long companyId,
1204:                    java.lang.String emailAddress)
1205:                    throws com.liferay.portal.PortalException,
1206:                    com.liferay.portal.SystemException {
1207:                UserLocalService userLocalService = UserLocalServiceFactory
1208:                        .getService();
1209:
1210:                userLocalService.checkLoginFailureByEmailAddress(companyId,
1211:                        emailAddress);
1212:            }
1213:
1214:            public static void checkLoginFailureById(long userId)
1215:                    throws com.liferay.portal.PortalException,
1216:                    com.liferay.portal.SystemException {
1217:                UserLocalService userLocalService = UserLocalServiceFactory
1218:                        .getService();
1219:
1220:                userLocalService.checkLoginFailureById(userId);
1221:            }
1222:
1223:            public static void checkLoginFailureByScreenName(long companyId,
1224:                    java.lang.String screenName)
1225:                    throws com.liferay.portal.PortalException,
1226:                    com.liferay.portal.SystemException {
1227:                UserLocalService userLocalService = UserLocalServiceFactory
1228:                        .getService();
1229:
1230:                userLocalService.checkLoginFailureByScreenName(companyId,
1231:                        screenName);
1232:            }
1233:
1234:            public static void checkPasswordExpired(
1235:                    com.liferay.portal.model.User user)
1236:                    throws com.liferay.portal.PortalException,
1237:                    com.liferay.portal.SystemException {
1238:                UserLocalService userLocalService = UserLocalServiceFactory
1239:                        .getService();
1240:
1241:                userLocalService.checkPasswordExpired(user);
1242:            }
1243:
1244:            public static void clearOrganizationUsers(long organizationId)
1245:                    throws com.liferay.portal.PortalException,
1246:                    com.liferay.portal.SystemException {
1247:                UserLocalService userLocalService = UserLocalServiceFactory
1248:                        .getService();
1249:
1250:                userLocalService.clearOrganizationUsers(organizationId);
1251:            }
1252:
1253:            public static void clearUserGroupUsers(long userGroupId)
1254:                    throws com.liferay.portal.PortalException,
1255:                    com.liferay.portal.SystemException {
1256:                UserLocalService userLocalService = UserLocalServiceFactory
1257:                        .getService();
1258:
1259:                userLocalService.clearUserGroupUsers(userGroupId);
1260:            }
1261:
1262:            public static com.liferay.portal.kernel.util.KeyValuePair decryptUserId(
1263:                    long companyId, java.lang.String name,
1264:                    java.lang.String password)
1265:                    throws com.liferay.portal.PortalException,
1266:                    com.liferay.portal.SystemException {
1267:                UserLocalService userLocalService = UserLocalServiceFactory
1268:                        .getService();
1269:
1270:                return userLocalService
1271:                        .decryptUserId(companyId, name, password);
1272:            }
1273:
1274:            public static void deletePasswordPolicyUser(long passwordPolicyId,
1275:                    long userId) throws com.liferay.portal.PortalException,
1276:                    com.liferay.portal.SystemException {
1277:                UserLocalService userLocalService = UserLocalServiceFactory
1278:                        .getService();
1279:
1280:                userLocalService.deletePasswordPolicyUser(passwordPolicyId,
1281:                        userId);
1282:            }
1283:
1284:            public static void deleteRoleUser(long roleId, long userId)
1285:                    throws com.liferay.portal.PortalException,
1286:                    com.liferay.portal.SystemException {
1287:                UserLocalService userLocalService = UserLocalServiceFactory
1288:                        .getService();
1289:
1290:                userLocalService.deleteRoleUser(roleId, userId);
1291:            }
1292:
1293:            public static void deleteUser(long userId)
1294:                    throws com.liferay.portal.PortalException,
1295:                    com.liferay.portal.SystemException {
1296:                UserLocalService userLocalService = UserLocalServiceFactory
1297:                        .getService();
1298:
1299:                userLocalService.deleteUser(userId);
1300:            }
1301:
1302:            public static java.lang.String encryptUserId(java.lang.String name)
1303:                    throws com.liferay.portal.PortalException,
1304:                    com.liferay.portal.SystemException {
1305:                UserLocalService userLocalService = UserLocalServiceFactory
1306:                        .getService();
1307:
1308:                return userLocalService.encryptUserId(name);
1309:            }
1310:
1311:            public static com.liferay.portal.model.User getDefaultUser(
1312:                    long companyId) throws com.liferay.portal.PortalException,
1313:                    com.liferay.portal.SystemException {
1314:                UserLocalService userLocalService = UserLocalServiceFactory
1315:                        .getService();
1316:
1317:                return userLocalService.getDefaultUser(companyId);
1318:            }
1319:
1320:            public static long getDefaultUserId(long companyId)
1321:                    throws com.liferay.portal.PortalException,
1322:                    com.liferay.portal.SystemException {
1323:                UserLocalService userLocalService = UserLocalServiceFactory
1324:                        .getService();
1325:
1326:                return userLocalService.getDefaultUserId(companyId);
1327:            }
1328:
1329:            public static java.util.List getGroupUsers(long groupId)
1330:                    throws com.liferay.portal.PortalException,
1331:                    com.liferay.portal.SystemException {
1332:                UserLocalService userLocalService = UserLocalServiceFactory
1333:                        .getService();
1334:
1335:                return userLocalService.getGroupUsers(groupId);
1336:            }
1337:
1338:            public static java.util.List getOrganizationUsers(
1339:                    long organizationId)
1340:                    throws com.liferay.portal.PortalException,
1341:                    com.liferay.portal.SystemException {
1342:                UserLocalService userLocalService = UserLocalServiceFactory
1343:                        .getService();
1344:
1345:                return userLocalService.getOrganizationUsers(organizationId);
1346:            }
1347:
1348:            public static java.util.List getPermissionUsers(long companyId,
1349:                    long groupId, java.lang.String name,
1350:                    java.lang.String primKey, java.lang.String actionId,
1351:                    java.lang.String firstName, java.lang.String middleName,
1352:                    java.lang.String lastName, java.lang.String emailAddress,
1353:                    boolean andOperator, int begin, int end)
1354:                    throws com.liferay.portal.PortalException,
1355:                    com.liferay.portal.SystemException {
1356:                UserLocalService userLocalService = UserLocalServiceFactory
1357:                        .getService();
1358:
1359:                return userLocalService.getPermissionUsers(companyId, groupId,
1360:                        name, primKey, actionId, firstName, middleName,
1361:                        lastName, emailAddress, andOperator, begin, end);
1362:            }
1363:
1364:            public static int getPermissionUsersCount(long companyId,
1365:                    long groupId, java.lang.String name,
1366:                    java.lang.String primKey, java.lang.String actionId,
1367:                    java.lang.String firstName, java.lang.String middleName,
1368:                    java.lang.String lastName, java.lang.String emailAddress,
1369:                    boolean andOperator)
1370:                    throws com.liferay.portal.PortalException,
1371:                    com.liferay.portal.SystemException {
1372:                UserLocalService userLocalService = UserLocalServiceFactory
1373:                        .getService();
1374:
1375:                return userLocalService.getPermissionUsersCount(companyId,
1376:                        groupId, name, primKey, actionId, firstName,
1377:                        middleName, lastName, emailAddress, andOperator);
1378:            }
1379:
1380:            public static java.util.List getRoleUsers(long roleId)
1381:                    throws com.liferay.portal.PortalException,
1382:                    com.liferay.portal.SystemException {
1383:                UserLocalService userLocalService = UserLocalServiceFactory
1384:                        .getService();
1385:
1386:                return userLocalService.getRoleUsers(roleId);
1387:            }
1388:
1389:            public static java.util.List getUserGroupUsers(long userGroupId)
1390:                    throws com.liferay.portal.PortalException,
1391:                    com.liferay.portal.SystemException {
1392:                UserLocalService userLocalService = UserLocalServiceFactory
1393:                        .getService();
1394:
1395:                return userLocalService.getUserGroupUsers(userGroupId);
1396:            }
1397:
1398:            public static com.liferay.portal.model.User getUserByContactId(
1399:                    long contactId) throws com.liferay.portal.PortalException,
1400:                    com.liferay.portal.SystemException {
1401:                UserLocalService userLocalService = UserLocalServiceFactory
1402:                        .getService();
1403:
1404:                return userLocalService.getUserByContactId(contactId);
1405:            }
1406:
1407:            public static com.liferay.portal.model.User getUserByEmailAddress(
1408:                    long companyId, java.lang.String emailAddress)
1409:                    throws com.liferay.portal.PortalException,
1410:                    com.liferay.portal.SystemException {
1411:                UserLocalService userLocalService = UserLocalServiceFactory
1412:                        .getService();
1413:
1414:                return userLocalService.getUserByEmailAddress(companyId,
1415:                        emailAddress);
1416:            }
1417:
1418:            public static com.liferay.portal.model.User getUserById(long userId)
1419:                    throws com.liferay.portal.PortalException,
1420:                    com.liferay.portal.SystemException {
1421:                UserLocalService userLocalService = UserLocalServiceFactory
1422:                        .getService();
1423:
1424:                return userLocalService.getUserById(userId);
1425:            }
1426:
1427:            public static com.liferay.portal.model.User getUserById(
1428:                    long companyId, long userId)
1429:                    throws com.liferay.portal.PortalException,
1430:                    com.liferay.portal.SystemException {
1431:                UserLocalService userLocalService = UserLocalServiceFactory
1432:                        .getService();
1433:
1434:                return userLocalService.getUserById(companyId, userId);
1435:            }
1436:
1437:            public static com.liferay.portal.model.User getUserByPortraitId(
1438:                    long portraitId) throws com.liferay.portal.PortalException,
1439:                    com.liferay.portal.SystemException {
1440:                UserLocalService userLocalService = UserLocalServiceFactory
1441:                        .getService();
1442:
1443:                return userLocalService.getUserByPortraitId(portraitId);
1444:            }
1445:
1446:            public static com.liferay.portal.model.User getUserByScreenName(
1447:                    long companyId, java.lang.String screenName)
1448:                    throws com.liferay.portal.PortalException,
1449:                    com.liferay.portal.SystemException {
1450:                UserLocalService userLocalService = UserLocalServiceFactory
1451:                        .getService();
1452:
1453:                return userLocalService.getUserByScreenName(companyId,
1454:                        screenName);
1455:            }
1456:
1457:            public static long getUserIdByEmailAddress(long companyId,
1458:                    java.lang.String emailAddress)
1459:                    throws com.liferay.portal.PortalException,
1460:                    com.liferay.portal.SystemException {
1461:                UserLocalService userLocalService = UserLocalServiceFactory
1462:                        .getService();
1463:
1464:                return userLocalService.getUserIdByEmailAddress(companyId,
1465:                        emailAddress);
1466:            }
1467:
1468:            public static long getUserIdByScreenName(long companyId,
1469:                    java.lang.String screenName)
1470:                    throws com.liferay.portal.PortalException,
1471:                    com.liferay.portal.SystemException {
1472:                UserLocalService userLocalService = UserLocalServiceFactory
1473:                        .getService();
1474:
1475:                return userLocalService.getUserIdByScreenName(companyId,
1476:                        screenName);
1477:            }
1478:
1479:            public static boolean hasGroupUser(long groupId, long userId)
1480:                    throws com.liferay.portal.PortalException,
1481:                    com.liferay.portal.SystemException {
1482:                UserLocalService userLocalService = UserLocalServiceFactory
1483:                        .getService();
1484:
1485:                return userLocalService.hasGroupUser(groupId, userId);
1486:            }
1487:
1488:            public static boolean hasOrganizationUser(long organizationId,
1489:                    long userId) throws com.liferay.portal.PortalException,
1490:                    com.liferay.portal.SystemException {
1491:                UserLocalService userLocalService = UserLocalServiceFactory
1492:                        .getService();
1493:
1494:                return userLocalService.hasOrganizationUser(organizationId,
1495:                        userId);
1496:            }
1497:
1498:            public static boolean hasPasswordPolicyUser(long passwordPolicyId,
1499:                    long userId) throws com.liferay.portal.PortalException,
1500:                    com.liferay.portal.SystemException {
1501:                UserLocalService userLocalService = UserLocalServiceFactory
1502:                        .getService();
1503:
1504:                return userLocalService.hasPasswordPolicyUser(passwordPolicyId,
1505:                        userId);
1506:            }
1507:
1508:            public static boolean hasRoleUser(long roleId, long userId)
1509:                    throws com.liferay.portal.PortalException,
1510:                    com.liferay.portal.SystemException {
1511:                UserLocalService userLocalService = UserLocalServiceFactory
1512:                        .getService();
1513:
1514:                return userLocalService.hasRoleUser(roleId, userId);
1515:            }
1516:
1517:            public static boolean hasUserGroupUser(long userGroupId, long userId)
1518:                    throws com.liferay.portal.PortalException,
1519:                    com.liferay.portal.SystemException {
1520:                UserLocalService userLocalService = UserLocalServiceFactory
1521:                        .getService();
1522:
1523:                return userLocalService.hasUserGroupUser(userGroupId, userId);
1524:            }
1525:
1526:            public static boolean isPasswordExpired(
1527:                    com.liferay.portal.model.User user)
1528:                    throws com.liferay.portal.PortalException,
1529:                    com.liferay.portal.SystemException {
1530:                UserLocalService userLocalService = UserLocalServiceFactory
1531:                        .getService();
1532:
1533:                return userLocalService.isPasswordExpired(user);
1534:            }
1535:
1536:            public static boolean isPasswordExpiringSoon(
1537:                    com.liferay.portal.model.User user)
1538:                    throws com.liferay.portal.PortalException,
1539:                    com.liferay.portal.SystemException {
1540:                UserLocalService userLocalService = UserLocalServiceFactory
1541:                        .getService();
1542:
1543:                return userLocalService.isPasswordExpiringSoon(user);
1544:            }
1545:
1546:            public static java.util.List search(long companyId,
1547:                    java.lang.String keywords, java.lang.Boolean active,
1548:                    java.util.LinkedHashMap params, int begin, int end,
1549:                    com.liferay.portal.kernel.util.OrderByComparator obc)
1550:                    throws com.liferay.portal.SystemException {
1551:                UserLocalService userLocalService = UserLocalServiceFactory
1552:                        .getService();
1553:
1554:                return userLocalService.search(companyId, keywords, active,
1555:                        params, begin, end, obc);
1556:            }
1557:
1558:            public static java.util.List search(long companyId,
1559:                    java.lang.String firstName, java.lang.String middleName,
1560:                    java.lang.String lastName, java.lang.String screenName,
1561:                    java.lang.String emailAddress, java.lang.Boolean active,
1562:                    java.util.LinkedHashMap params, boolean andSearch,
1563:                    int begin, int end,
1564:                    com.liferay.portal.kernel.util.OrderByComparator obc)
1565:                    throws com.liferay.portal.SystemException {
1566:                UserLocalService userLocalService = UserLocalServiceFactory
1567:                        .getService();
1568:
1569:                return userLocalService.search(companyId, firstName,
1570:                        middleName, lastName, screenName, emailAddress, active,
1571:                        params, andSearch, begin, end, obc);
1572:            }
1573:
1574:            public static int searchCount(long companyId,
1575:                    java.lang.String keywords, java.lang.Boolean active,
1576:                    java.util.LinkedHashMap params)
1577:                    throws com.liferay.portal.SystemException {
1578:                UserLocalService userLocalService = UserLocalServiceFactory
1579:                        .getService();
1580:
1581:                return userLocalService.searchCount(companyId, keywords,
1582:                        active, params);
1583:            }
1584:
1585:            public static int searchCount(long companyId,
1586:                    java.lang.String firstName, java.lang.String middleName,
1587:                    java.lang.String lastName, java.lang.String screenName,
1588:                    java.lang.String emailAddress, java.lang.Boolean active,
1589:                    java.util.LinkedHashMap params, boolean andSearch)
1590:                    throws com.liferay.portal.SystemException {
1591:                UserLocalService userLocalService = UserLocalServiceFactory
1592:                        .getService();
1593:
1594:                return userLocalService.searchCount(companyId, firstName,
1595:                        middleName, lastName, screenName, emailAddress, active,
1596:                        params, andSearch);
1597:            }
1598:
1599:            public static void sendPassword(long companyId,
1600:                    java.lang.String emailAddress, java.lang.String remoteAddr,
1601:                    java.lang.String remoteHost, java.lang.String userAgent)
1602:                    throws com.liferay.portal.PortalException,
1603:                    com.liferay.portal.SystemException {
1604:                UserLocalService userLocalService = UserLocalServiceFactory
1605:                        .getService();
1606:
1607:                userLocalService.sendPassword(companyId, emailAddress,
1608:                        remoteAddr, remoteHost, userAgent);
1609:            }
1610:
1611:            public static void setRoleUsers(long roleId, long[] userIds)
1612:                    throws com.liferay.portal.PortalException,
1613:                    com.liferay.portal.SystemException {
1614:                UserLocalService userLocalService = UserLocalServiceFactory
1615:                        .getService();
1616:
1617:                userLocalService.setRoleUsers(roleId, userIds);
1618:            }
1619:
1620:            public static void setUserGroupUsers(long userGroupId,
1621:                    long[] userIds) throws com.liferay.portal.PortalException,
1622:                    com.liferay.portal.SystemException {
1623:                UserLocalService userLocalService = UserLocalServiceFactory
1624:                        .getService();
1625:
1626:                userLocalService.setUserGroupUsers(userGroupId, userIds);
1627:            }
1628:
1629:            public static void unsetGroupUsers(long groupId, long[] userIds)
1630:                    throws com.liferay.portal.PortalException,
1631:                    com.liferay.portal.SystemException {
1632:                UserLocalService userLocalService = UserLocalServiceFactory
1633:                        .getService();
1634:
1635:                userLocalService.unsetGroupUsers(groupId, userIds);
1636:            }
1637:
1638:            public static void unsetOrganizationUsers(long organizationId,
1639:                    long[] userIds) throws com.liferay.portal.PortalException,
1640:                    com.liferay.portal.SystemException {
1641:                UserLocalService userLocalService = UserLocalServiceFactory
1642:                        .getService();
1643:
1644:                userLocalService
1645:                        .unsetOrganizationUsers(organizationId, userIds);
1646:            }
1647:
1648:            public static void unsetPasswordPolicyUsers(long passwordPolicyId,
1649:                    long[] userIds) throws com.liferay.portal.PortalException,
1650:                    com.liferay.portal.SystemException {
1651:                UserLocalService userLocalService = UserLocalServiceFactory
1652:                        .getService();
1653:
1654:                userLocalService.unsetPasswordPolicyUsers(passwordPolicyId,
1655:                        userIds);
1656:            }
1657:
1658:            public static void unsetRoleUsers(long roleId, long[] userIds)
1659:                    throws com.liferay.portal.PortalException,
1660:                    com.liferay.portal.SystemException {
1661:                UserLocalService userLocalService = UserLocalServiceFactory
1662:                        .getService();
1663:
1664:                userLocalService.unsetRoleUsers(roleId, userIds);
1665:            }
1666:
1667:            public static void unsetUserGroupUsers(long userGroupId,
1668:                    long[] userIds) throws com.liferay.portal.PortalException,
1669:                    com.liferay.portal.SystemException {
1670:                UserLocalService userLocalService = UserLocalServiceFactory
1671:                        .getService();
1672:
1673:                userLocalService.unsetUserGroupUsers(userGroupId, userIds);
1674:            }
1675:
1676:            public static com.liferay.portal.model.User updateActive(
1677:                    long userId, boolean active)
1678:                    throws com.liferay.portal.PortalException,
1679:                    com.liferay.portal.SystemException {
1680:                UserLocalService userLocalService = UserLocalServiceFactory
1681:                        .getService();
1682:
1683:                return userLocalService.updateActive(userId, active);
1684:            }
1685:
1686:            public static com.liferay.portal.model.User updateAgreedToTermsOfUse(
1687:                    long userId, boolean agreedToTermsOfUse)
1688:                    throws com.liferay.portal.PortalException,
1689:                    com.liferay.portal.SystemException {
1690:                UserLocalService userLocalService = UserLocalServiceFactory
1691:                        .getService();
1692:
1693:                return userLocalService.updateAgreedToTermsOfUse(userId,
1694:                        agreedToTermsOfUse);
1695:            }
1696:
1697:            public static com.liferay.portal.model.User updateCreateDate(
1698:                    long userId, java.util.Date createDate)
1699:                    throws com.liferay.portal.PortalException,
1700:                    com.liferay.portal.SystemException {
1701:                UserLocalService userLocalService = UserLocalServiceFactory
1702:                        .getService();
1703:
1704:                return userLocalService.updateCreateDate(userId, createDate);
1705:            }
1706:
1707:            public static com.liferay.portal.model.User updateLastLogin(
1708:                    long userId, java.lang.String loginIP)
1709:                    throws com.liferay.portal.PortalException,
1710:                    com.liferay.portal.SystemException {
1711:                UserLocalService userLocalService = UserLocalServiceFactory
1712:                        .getService();
1713:
1714:                return userLocalService.updateLastLogin(userId, loginIP);
1715:            }
1716:
1717:            public static com.liferay.portal.model.User updateLockout(
1718:                    com.liferay.portal.model.User user, boolean lockout)
1719:                    throws com.liferay.portal.PortalException,
1720:                    com.liferay.portal.SystemException {
1721:                UserLocalService userLocalService = UserLocalServiceFactory
1722:                        .getService();
1723:
1724:                return userLocalService.updateLockout(user, lockout);
1725:            }
1726:
1727:            public static com.liferay.portal.model.User updateLockoutByEmailAddress(
1728:                    long companyId, java.lang.String emailAddress,
1729:                    boolean lockout) throws com.liferay.portal.PortalException,
1730:                    com.liferay.portal.SystemException {
1731:                UserLocalService userLocalService = UserLocalServiceFactory
1732:                        .getService();
1733:
1734:                return userLocalService.updateLockoutByEmailAddress(companyId,
1735:                        emailAddress, lockout);
1736:            }
1737:
1738:            public static com.liferay.portal.model.User updateLockoutById(
1739:                    long userId, boolean lockout)
1740:                    throws com.liferay.portal.PortalException,
1741:                    com.liferay.portal.SystemException {
1742:                UserLocalService userLocalService = UserLocalServiceFactory
1743:                        .getService();
1744:
1745:                return userLocalService.updateLockoutById(userId, lockout);
1746:            }
1747:
1748:            public static com.liferay.portal.model.User updateLockoutByScreenName(
1749:                    long companyId, java.lang.String screenName, boolean lockout)
1750:                    throws com.liferay.portal.PortalException,
1751:                    com.liferay.portal.SystemException {
1752:                UserLocalService userLocalService = UserLocalServiceFactory
1753:                        .getService();
1754:
1755:                return userLocalService.updateLockoutByScreenName(companyId,
1756:                        screenName, lockout);
1757:            }
1758:
1759:            public static com.liferay.portal.model.User updateModifiedDate(
1760:                    long userId, java.util.Date modifiedDate)
1761:                    throws com.liferay.portal.PortalException,
1762:                    com.liferay.portal.SystemException {
1763:                UserLocalService userLocalService = UserLocalServiceFactory
1764:                        .getService();
1765:
1766:                return userLocalService
1767:                        .updateModifiedDate(userId, modifiedDate);
1768:            }
1769:
1770:            public static void updateOrganizations(long userId,
1771:                    long[] newOrganizationIds)
1772:                    throws com.liferay.portal.PortalException,
1773:                    com.liferay.portal.SystemException {
1774:                UserLocalService userLocalService = UserLocalServiceFactory
1775:                        .getService();
1776:
1777:                userLocalService
1778:                        .updateOrganizations(userId, newOrganizationIds);
1779:            }
1780:
1781:            public static com.liferay.portal.model.User updatePassword(
1782:                    long userId, java.lang.String password1,
1783:                    java.lang.String password2, boolean passwordReset)
1784:                    throws com.liferay.portal.PortalException,
1785:                    com.liferay.portal.SystemException {
1786:                UserLocalService userLocalService = UserLocalServiceFactory
1787:                        .getService();
1788:
1789:                return userLocalService.updatePassword(userId, password1,
1790:                        password2, passwordReset);
1791:            }
1792:
1793:            public static com.liferay.portal.model.User updatePassword(
1794:                    long userId, java.lang.String password1,
1795:                    java.lang.String password2, boolean passwordReset,
1796:                    boolean silentUpdate)
1797:                    throws com.liferay.portal.PortalException,
1798:                    com.liferay.portal.SystemException {
1799:                UserLocalService userLocalService = UserLocalServiceFactory
1800:                        .getService();
1801:
1802:                return userLocalService.updatePassword(userId, password1,
1803:                        password2, passwordReset, silentUpdate);
1804:            }
1805:
1806:            public static com.liferay.portal.model.User updatePasswordManually(
1807:                    long userId, java.lang.String password,
1808:                    boolean passwordEncrypted, boolean passwordReset,
1809:                    java.util.Date passwordModifiedDate)
1810:                    throws com.liferay.portal.PortalException,
1811:                    com.liferay.portal.SystemException {
1812:                UserLocalService userLocalService = UserLocalServiceFactory
1813:                        .getService();
1814:
1815:                return userLocalService.updatePasswordManually(userId,
1816:                        password, passwordEncrypted, passwordReset,
1817:                        passwordModifiedDate);
1818:            }
1819:
1820:            public static void updatePasswordReset(long userId,
1821:                    boolean passwordReset)
1822:                    throws com.liferay.portal.PortalException,
1823:                    com.liferay.portal.SystemException {
1824:                UserLocalService userLocalService = UserLocalServiceFactory
1825:                        .getService();
1826:
1827:                userLocalService.updatePasswordReset(userId, passwordReset);
1828:            }
1829:
1830:            public static void updatePortrait(long userId, byte[] bytes)
1831:                    throws com.liferay.portal.PortalException,
1832:                    com.liferay.portal.SystemException {
1833:                UserLocalService userLocalService = UserLocalServiceFactory
1834:                        .getService();
1835:
1836:                userLocalService.updatePortrait(userId, bytes);
1837:            }
1838:
1839:            public static com.liferay.portal.model.User updateUser(long userId,
1840:                    java.lang.String oldPassword, boolean passwordReset,
1841:                    java.lang.String screenName, java.lang.String emailAddress,
1842:                    java.lang.String languageId, java.lang.String timeZoneId,
1843:                    java.lang.String greeting, java.lang.String comments,
1844:                    java.lang.String firstName, java.lang.String middleName,
1845:                    java.lang.String lastName, int prefixId, int suffixId,
1846:                    boolean male, int birthdayMonth, int birthdayDay,
1847:                    int birthdayYear, java.lang.String smsSn,
1848:                    java.lang.String aimSn, java.lang.String icqSn,
1849:                    java.lang.String jabberSn, java.lang.String msnSn,
1850:                    java.lang.String skypeSn, java.lang.String ymSn,
1851:                    java.lang.String jobTitle, long[] organizationIds)
1852:                    throws com.liferay.portal.PortalException,
1853:                    com.liferay.portal.SystemException {
1854:                UserLocalService userLocalService = UserLocalServiceFactory
1855:                        .getService();
1856:
1857:                return userLocalService.updateUser(userId, oldPassword,
1858:                        passwordReset, screenName, emailAddress, languageId,
1859:                        timeZoneId, greeting, comments, firstName, middleName,
1860:                        lastName, prefixId, suffixId, male, birthdayMonth,
1861:                        birthdayDay, birthdayYear, smsSn, aimSn, icqSn,
1862:                        jabberSn, msnSn, skypeSn, ymSn, jobTitle,
1863:                        organizationIds);
1864:            }
1865:
1866:            public static com.liferay.portal.model.User updateUser(long userId,
1867:                    java.lang.String oldPassword,
1868:                    java.lang.String newPassword1,
1869:                    java.lang.String newPassword2, boolean passwordReset,
1870:                    java.lang.String screenName, java.lang.String emailAddress,
1871:                    java.lang.String languageId, java.lang.String timeZoneId,
1872:                    java.lang.String greeting, java.lang.String comments,
1873:                    java.lang.String firstName, java.lang.String middleName,
1874:                    java.lang.String lastName, int prefixId, int suffixId,
1875:                    boolean male, int birthdayMonth, int birthdayDay,
1876:                    int birthdayYear, java.lang.String smsSn,
1877:                    java.lang.String aimSn, java.lang.String icqSn,
1878:                    java.lang.String jabberSn, java.lang.String msnSn,
1879:                    java.lang.String skypeSn, java.lang.String ymSn,
1880:                    java.lang.String jobTitle, long[] organizationIds)
1881:                    throws com.liferay.portal.PortalException,
1882:                    com.liferay.portal.SystemException {
1883:                UserLocalService userLocalService = UserLocalServiceFactory
1884:                        .getService();
1885:
1886:                return userLocalService.updateUser(userId, oldPassword,
1887:                        newPassword1, newPassword2, passwordReset, screenName,
1888:                        emailAddress, languageId, timeZoneId, greeting,
1889:                        comments, firstName, middleName, lastName, prefixId,
1890:                        suffixId, male, birthdayMonth, birthdayDay,
1891:                        birthdayYear, smsSn, aimSn, icqSn, jabberSn, msnSn,
1892:                        skypeSn, ymSn, jobTitle, organizationIds);
1893:            }
1894:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.