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