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