Source Code Cross Referenced for LayoutLocalServiceUtil.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="LayoutLocalServiceUtil.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.LayoutLocalService</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.LayoutLocalServiceFactory</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.LayoutLocalService
0047:         * @see com.liferay.portal.service.LayoutLocalServiceFactory
0048:         *
0049:         */
0050:        public class LayoutLocalServiceUtil {
0051:            public static com.liferay.portal.model.Layout addLayout(
0052:                    com.liferay.portal.model.Layout model)
0053:                    throws com.liferay.portal.SystemException {
0054:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0055:                        .getService();
0056:
0057:                return layoutLocalService.addLayout(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:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0064:                        .getService();
0065:
0066:                return layoutLocalService.dynamicQuery(queryInitializer);
0067:            }
0068:
0069:            public static java.util.List dynamicQuery(
0070:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
0071:                    int begin, int end)
0072:                    throws com.liferay.portal.SystemException {
0073:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0074:                        .getService();
0075:
0076:                return layoutLocalService.dynamicQuery(queryInitializer, begin,
0077:                        end);
0078:            }
0079:
0080:            public static com.liferay.portal.model.Layout updateLayout(
0081:                    com.liferay.portal.model.Layout model)
0082:                    throws com.liferay.portal.SystemException {
0083:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0084:                        .getService();
0085:
0086:                return layoutLocalService.updateLayout(model);
0087:            }
0088:
0089:            public static com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence() {
0090:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0091:                        .getService();
0092:
0093:                return layoutLocalService.getAccountPersistence();
0094:            }
0095:
0096:            public static void setAccountPersistence(
0097:                    com.liferay.portal.service.persistence.AccountPersistence accountPersistence) {
0098:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0099:                        .getService();
0100:
0101:                layoutLocalService.setAccountPersistence(accountPersistence);
0102:            }
0103:
0104:            public static com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence() {
0105:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0106:                        .getService();
0107:
0108:                return layoutLocalService.getActivityTrackerPersistence();
0109:            }
0110:
0111:            public static void setActivityTrackerPersistence(
0112:                    com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence) {
0113:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0114:                        .getService();
0115:
0116:                layoutLocalService
0117:                        .setActivityTrackerPersistence(activityTrackerPersistence);
0118:            }
0119:
0120:            public static com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder() {
0121:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0122:                        .getService();
0123:
0124:                return layoutLocalService.getActivityTrackerFinder();
0125:            }
0126:
0127:            public static void setActivityTrackerFinder(
0128:                    com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder) {
0129:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0130:                        .getService();
0131:
0132:                layoutLocalService
0133:                        .setActivityTrackerFinder(activityTrackerFinder);
0134:            }
0135:
0136:            public static com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence() {
0137:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0138:                        .getService();
0139:
0140:                return layoutLocalService.getAddressPersistence();
0141:            }
0142:
0143:            public static void setAddressPersistence(
0144:                    com.liferay.portal.service.persistence.AddressPersistence addressPersistence) {
0145:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0146:                        .getService();
0147:
0148:                layoutLocalService.setAddressPersistence(addressPersistence);
0149:            }
0150:
0151:            public static com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence() {
0152:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0153:                        .getService();
0154:
0155:                return layoutLocalService.getClassNamePersistence();
0156:            }
0157:
0158:            public static void setClassNamePersistence(
0159:                    com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence) {
0160:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0161:                        .getService();
0162:
0163:                layoutLocalService
0164:                        .setClassNamePersistence(classNamePersistence);
0165:            }
0166:
0167:            public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
0168:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0169:                        .getService();
0170:
0171:                return layoutLocalService.getCompanyPersistence();
0172:            }
0173:
0174:            public static void setCompanyPersistence(
0175:                    com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
0176:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0177:                        .getService();
0178:
0179:                layoutLocalService.setCompanyPersistence(companyPersistence);
0180:            }
0181:
0182:            public static com.liferay.portal.service.persistence.ContactPersistence getContactPersistence() {
0183:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0184:                        .getService();
0185:
0186:                return layoutLocalService.getContactPersistence();
0187:            }
0188:
0189:            public static void setContactPersistence(
0190:                    com.liferay.portal.service.persistence.ContactPersistence contactPersistence) {
0191:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0192:                        .getService();
0193:
0194:                layoutLocalService.setContactPersistence(contactPersistence);
0195:            }
0196:
0197:            public static com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence() {
0198:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0199:                        .getService();
0200:
0201:                return layoutLocalService.getCountryPersistence();
0202:            }
0203:
0204:            public static void setCountryPersistence(
0205:                    com.liferay.portal.service.persistence.CountryPersistence countryPersistence) {
0206:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0207:                        .getService();
0208:
0209:                layoutLocalService.setCountryPersistence(countryPersistence);
0210:            }
0211:
0212:            public static com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence() {
0213:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0214:                        .getService();
0215:
0216:                return layoutLocalService.getEmailAddressPersistence();
0217:            }
0218:
0219:            public static void setEmailAddressPersistence(
0220:                    com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence) {
0221:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0222:                        .getService();
0223:
0224:                layoutLocalService
0225:                        .setEmailAddressPersistence(emailAddressPersistence);
0226:            }
0227:
0228:            public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
0229:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0230:                        .getService();
0231:
0232:                return layoutLocalService.getGroupPersistence();
0233:            }
0234:
0235:            public static void setGroupPersistence(
0236:                    com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
0237:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0238:                        .getService();
0239:
0240:                layoutLocalService.setGroupPersistence(groupPersistence);
0241:            }
0242:
0243:            public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
0244:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0245:                        .getService();
0246:
0247:                return layoutLocalService.getGroupFinder();
0248:            }
0249:
0250:            public static void setGroupFinder(
0251:                    com.liferay.portal.service.persistence.GroupFinder groupFinder) {
0252:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0253:                        .getService();
0254:
0255:                layoutLocalService.setGroupFinder(groupFinder);
0256:            }
0257:
0258:            public static com.liferay.portal.service.persistence.ImagePersistence getImagePersistence() {
0259:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0260:                        .getService();
0261:
0262:                return layoutLocalService.getImagePersistence();
0263:            }
0264:
0265:            public static void setImagePersistence(
0266:                    com.liferay.portal.service.persistence.ImagePersistence imagePersistence) {
0267:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0268:                        .getService();
0269:
0270:                layoutLocalService.setImagePersistence(imagePersistence);
0271:            }
0272:
0273:            public static com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence() {
0274:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0275:                        .getService();
0276:
0277:                return layoutLocalService.getLayoutPersistence();
0278:            }
0279:
0280:            public static void setLayoutPersistence(
0281:                    com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence) {
0282:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0283:                        .getService();
0284:
0285:                layoutLocalService.setLayoutPersistence(layoutPersistence);
0286:            }
0287:
0288:            public static com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder() {
0289:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0290:                        .getService();
0291:
0292:                return layoutLocalService.getLayoutFinder();
0293:            }
0294:
0295:            public static void setLayoutFinder(
0296:                    com.liferay.portal.service.persistence.LayoutFinder layoutFinder) {
0297:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0298:                        .getService();
0299:
0300:                layoutLocalService.setLayoutFinder(layoutFinder);
0301:            }
0302:
0303:            public static com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence() {
0304:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0305:                        .getService();
0306:
0307:                return layoutLocalService.getLayoutSetPersistence();
0308:            }
0309:
0310:            public static void setLayoutSetPersistence(
0311:                    com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence) {
0312:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0313:                        .getService();
0314:
0315:                layoutLocalService
0316:                        .setLayoutSetPersistence(layoutSetPersistence);
0317:            }
0318:
0319:            public static com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence() {
0320:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0321:                        .getService();
0322:
0323:                return layoutLocalService.getListTypePersistence();
0324:            }
0325:
0326:            public static void setListTypePersistence(
0327:                    com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence) {
0328:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0329:                        .getService();
0330:
0331:                layoutLocalService.setListTypePersistence(listTypePersistence);
0332:            }
0333:
0334:            public static com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence() {
0335:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0336:                        .getService();
0337:
0338:                return layoutLocalService.getMembershipRequestPersistence();
0339:            }
0340:
0341:            public static void setMembershipRequestPersistence(
0342:                    com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence) {
0343:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0344:                        .getService();
0345:
0346:                layoutLocalService
0347:                        .setMembershipRequestPersistence(membershipRequestPersistence);
0348:            }
0349:
0350:            public static com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence() {
0351:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0352:                        .getService();
0353:
0354:                return layoutLocalService.getOrganizationPersistence();
0355:            }
0356:
0357:            public static void setOrganizationPersistence(
0358:                    com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence) {
0359:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0360:                        .getService();
0361:
0362:                layoutLocalService
0363:                        .setOrganizationPersistence(organizationPersistence);
0364:            }
0365:
0366:            public static com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder() {
0367:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0368:                        .getService();
0369:
0370:                return layoutLocalService.getOrganizationFinder();
0371:            }
0372:
0373:            public static void setOrganizationFinder(
0374:                    com.liferay.portal.service.persistence.OrganizationFinder organizationFinder) {
0375:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0376:                        .getService();
0377:
0378:                layoutLocalService.setOrganizationFinder(organizationFinder);
0379:            }
0380:
0381:            public static com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence() {
0382:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0383:                        .getService();
0384:
0385:                return layoutLocalService.getOrgGroupPermissionPersistence();
0386:            }
0387:
0388:            public static void setOrgGroupPermissionPersistence(
0389:                    com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence) {
0390:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0391:                        .getService();
0392:
0393:                layoutLocalService
0394:                        .setOrgGroupPermissionPersistence(orgGroupPermissionPersistence);
0395:            }
0396:
0397:            public static com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder() {
0398:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0399:                        .getService();
0400:
0401:                return layoutLocalService.getOrgGroupPermissionFinder();
0402:            }
0403:
0404:            public static void setOrgGroupPermissionFinder(
0405:                    com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder) {
0406:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0407:                        .getService();
0408:
0409:                layoutLocalService
0410:                        .setOrgGroupPermissionFinder(orgGroupPermissionFinder);
0411:            }
0412:
0413:            public static com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence() {
0414:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0415:                        .getService();
0416:
0417:                return layoutLocalService.getOrgGroupRolePersistence();
0418:            }
0419:
0420:            public static void setOrgGroupRolePersistence(
0421:                    com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence) {
0422:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0423:                        .getService();
0424:
0425:                layoutLocalService
0426:                        .setOrgGroupRolePersistence(orgGroupRolePersistence);
0427:            }
0428:
0429:            public static com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence() {
0430:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0431:                        .getService();
0432:
0433:                return layoutLocalService.getOrgLaborPersistence();
0434:            }
0435:
0436:            public static void setOrgLaborPersistence(
0437:                    com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence) {
0438:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0439:                        .getService();
0440:
0441:                layoutLocalService.setOrgLaborPersistence(orgLaborPersistence);
0442:            }
0443:
0444:            public static com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence() {
0445:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0446:                        .getService();
0447:
0448:                return layoutLocalService.getPasswordPolicyPersistence();
0449:            }
0450:
0451:            public static void setPasswordPolicyPersistence(
0452:                    com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence) {
0453:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0454:                        .getService();
0455:
0456:                layoutLocalService
0457:                        .setPasswordPolicyPersistence(passwordPolicyPersistence);
0458:            }
0459:
0460:            public static com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder() {
0461:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0462:                        .getService();
0463:
0464:                return layoutLocalService.getPasswordPolicyFinder();
0465:            }
0466:
0467:            public static void setPasswordPolicyFinder(
0468:                    com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder) {
0469:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0470:                        .getService();
0471:
0472:                layoutLocalService
0473:                        .setPasswordPolicyFinder(passwordPolicyFinder);
0474:            }
0475:
0476:            public static com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
0477:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0478:                        .getService();
0479:
0480:                return layoutLocalService.getPasswordPolicyRelPersistence();
0481:            }
0482:
0483:            public static void setPasswordPolicyRelPersistence(
0484:                    com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
0485:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0486:                        .getService();
0487:
0488:                layoutLocalService
0489:                        .setPasswordPolicyRelPersistence(passwordPolicyRelPersistence);
0490:            }
0491:
0492:            public static com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence() {
0493:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0494:                        .getService();
0495:
0496:                return layoutLocalService.getPasswordTrackerPersistence();
0497:            }
0498:
0499:            public static void setPasswordTrackerPersistence(
0500:                    com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence) {
0501:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0502:                        .getService();
0503:
0504:                layoutLocalService
0505:                        .setPasswordTrackerPersistence(passwordTrackerPersistence);
0506:            }
0507:
0508:            public static com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence() {
0509:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0510:                        .getService();
0511:
0512:                return layoutLocalService.getPermissionPersistence();
0513:            }
0514:
0515:            public static void setPermissionPersistence(
0516:                    com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence) {
0517:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0518:                        .getService();
0519:
0520:                layoutLocalService
0521:                        .setPermissionPersistence(permissionPersistence);
0522:            }
0523:
0524:            public static com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder() {
0525:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0526:                        .getService();
0527:
0528:                return layoutLocalService.getPermissionFinder();
0529:            }
0530:
0531:            public static void setPermissionFinder(
0532:                    com.liferay.portal.service.persistence.PermissionFinder permissionFinder) {
0533:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0534:                        .getService();
0535:
0536:                layoutLocalService.setPermissionFinder(permissionFinder);
0537:            }
0538:
0539:            public static com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder() {
0540:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0541:                        .getService();
0542:
0543:                return layoutLocalService.getPermissionUserFinder();
0544:            }
0545:
0546:            public static void setPermissionUserFinder(
0547:                    com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder) {
0548:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0549:                        .getService();
0550:
0551:                layoutLocalService
0552:                        .setPermissionUserFinder(permissionUserFinder);
0553:            }
0554:
0555:            public static com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence() {
0556:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0557:                        .getService();
0558:
0559:                return layoutLocalService.getPhonePersistence();
0560:            }
0561:
0562:            public static void setPhonePersistence(
0563:                    com.liferay.portal.service.persistence.PhonePersistence phonePersistence) {
0564:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0565:                        .getService();
0566:
0567:                layoutLocalService.setPhonePersistence(phonePersistence);
0568:            }
0569:
0570:            public static com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence() {
0571:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0572:                        .getService();
0573:
0574:                return layoutLocalService.getPluginSettingPersistence();
0575:            }
0576:
0577:            public static void setPluginSettingPersistence(
0578:                    com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence) {
0579:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0580:                        .getService();
0581:
0582:                layoutLocalService
0583:                        .setPluginSettingPersistence(pluginSettingPersistence);
0584:            }
0585:
0586:            public static com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence() {
0587:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0588:                        .getService();
0589:
0590:                return layoutLocalService.getPortletPersistence();
0591:            }
0592:
0593:            public static void setPortletPersistence(
0594:                    com.liferay.portal.service.persistence.PortletPersistence portletPersistence) {
0595:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0596:                        .getService();
0597:
0598:                layoutLocalService.setPortletPersistence(portletPersistence);
0599:            }
0600:
0601:            public static com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence() {
0602:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0603:                        .getService();
0604:
0605:                return layoutLocalService.getPortletPreferencesPersistence();
0606:            }
0607:
0608:            public static void setPortletPreferencesPersistence(
0609:                    com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence) {
0610:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0611:                        .getService();
0612:
0613:                layoutLocalService
0614:                        .setPortletPreferencesPersistence(portletPreferencesPersistence);
0615:            }
0616:
0617:            public static com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder() {
0618:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0619:                        .getService();
0620:
0621:                return layoutLocalService.getPortletPreferencesFinder();
0622:            }
0623:
0624:            public static void setPortletPreferencesFinder(
0625:                    com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder) {
0626:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0627:                        .getService();
0628:
0629:                layoutLocalService
0630:                        .setPortletPreferencesFinder(portletPreferencesFinder);
0631:            }
0632:
0633:            public static com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence() {
0634:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0635:                        .getService();
0636:
0637:                return layoutLocalService.getRegionPersistence();
0638:            }
0639:
0640:            public static void setRegionPersistence(
0641:                    com.liferay.portal.service.persistence.RegionPersistence regionPersistence) {
0642:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0643:                        .getService();
0644:
0645:                layoutLocalService.setRegionPersistence(regionPersistence);
0646:            }
0647:
0648:            public static com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence() {
0649:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0650:                        .getService();
0651:
0652:                return layoutLocalService.getReleasePersistence();
0653:            }
0654:
0655:            public static void setReleasePersistence(
0656:                    com.liferay.portal.service.persistence.ReleasePersistence releasePersistence) {
0657:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0658:                        .getService();
0659:
0660:                layoutLocalService.setReleasePersistence(releasePersistence);
0661:            }
0662:
0663:            public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
0664:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0665:                        .getService();
0666:
0667:                return layoutLocalService.getResourcePersistence();
0668:            }
0669:
0670:            public static void setResourcePersistence(
0671:                    com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
0672:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0673:                        .getService();
0674:
0675:                layoutLocalService.setResourcePersistence(resourcePersistence);
0676:            }
0677:
0678:            public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
0679:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0680:                        .getService();
0681:
0682:                return layoutLocalService.getResourceFinder();
0683:            }
0684:
0685:            public static void setResourceFinder(
0686:                    com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
0687:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0688:                        .getService();
0689:
0690:                layoutLocalService.setResourceFinder(resourceFinder);
0691:            }
0692:
0693:            public static com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence() {
0694:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0695:                        .getService();
0696:
0697:                return layoutLocalService.getResourceCodePersistence();
0698:            }
0699:
0700:            public static void setResourceCodePersistence(
0701:                    com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence) {
0702:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0703:                        .getService();
0704:
0705:                layoutLocalService
0706:                        .setResourceCodePersistence(resourceCodePersistence);
0707:            }
0708:
0709:            public static com.liferay.portal.service.persistence.RolePersistence getRolePersistence() {
0710:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0711:                        .getService();
0712:
0713:                return layoutLocalService.getRolePersistence();
0714:            }
0715:
0716:            public static void setRolePersistence(
0717:                    com.liferay.portal.service.persistence.RolePersistence rolePersistence) {
0718:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0719:                        .getService();
0720:
0721:                layoutLocalService.setRolePersistence(rolePersistence);
0722:            }
0723:
0724:            public static com.liferay.portal.service.persistence.RoleFinder getRoleFinder() {
0725:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0726:                        .getService();
0727:
0728:                return layoutLocalService.getRoleFinder();
0729:            }
0730:
0731:            public static void setRoleFinder(
0732:                    com.liferay.portal.service.persistence.RoleFinder roleFinder) {
0733:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0734:                        .getService();
0735:
0736:                layoutLocalService.setRoleFinder(roleFinder);
0737:            }
0738:
0739:            public static com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence() {
0740:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0741:                        .getService();
0742:
0743:                return layoutLocalService.getServiceComponentPersistence();
0744:            }
0745:
0746:            public static void setServiceComponentPersistence(
0747:                    com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence) {
0748:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0749:                        .getService();
0750:
0751:                layoutLocalService
0752:                        .setServiceComponentPersistence(serviceComponentPersistence);
0753:            }
0754:
0755:            public static com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence() {
0756:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0757:                        .getService();
0758:
0759:                return layoutLocalService.getSubscriptionPersistence();
0760:            }
0761:
0762:            public static void setSubscriptionPersistence(
0763:                    com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence) {
0764:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0765:                        .getService();
0766:
0767:                layoutLocalService
0768:                        .setSubscriptionPersistence(subscriptionPersistence);
0769:            }
0770:
0771:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
0772:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0773:                        .getService();
0774:
0775:                return layoutLocalService.getUserPersistence();
0776:            }
0777:
0778:            public static void setUserPersistence(
0779:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
0780:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0781:                        .getService();
0782:
0783:                layoutLocalService.setUserPersistence(userPersistence);
0784:            }
0785:
0786:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
0787:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0788:                        .getService();
0789:
0790:                return layoutLocalService.getUserFinder();
0791:            }
0792:
0793:            public static void setUserFinder(
0794:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
0795:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0796:                        .getService();
0797:
0798:                layoutLocalService.setUserFinder(userFinder);
0799:            }
0800:
0801:            public static com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence() {
0802:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0803:                        .getService();
0804:
0805:                return layoutLocalService.getUserGroupPersistence();
0806:            }
0807:
0808:            public static void setUserGroupPersistence(
0809:                    com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence) {
0810:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0811:                        .getService();
0812:
0813:                layoutLocalService
0814:                        .setUserGroupPersistence(userGroupPersistence);
0815:            }
0816:
0817:            public static com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder() {
0818:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0819:                        .getService();
0820:
0821:                return layoutLocalService.getUserGroupFinder();
0822:            }
0823:
0824:            public static void setUserGroupFinder(
0825:                    com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder) {
0826:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0827:                        .getService();
0828:
0829:                layoutLocalService.setUserGroupFinder(userGroupFinder);
0830:            }
0831:
0832:            public static com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence() {
0833:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0834:                        .getService();
0835:
0836:                return layoutLocalService.getUserGroupRolePersistence();
0837:            }
0838:
0839:            public static void setUserGroupRolePersistence(
0840:                    com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence) {
0841:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0842:                        .getService();
0843:
0844:                layoutLocalService
0845:                        .setUserGroupRolePersistence(userGroupRolePersistence);
0846:            }
0847:
0848:            public static com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence() {
0849:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0850:                        .getService();
0851:
0852:                return layoutLocalService.getUserIdMapperPersistence();
0853:            }
0854:
0855:            public static void setUserIdMapperPersistence(
0856:                    com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence) {
0857:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0858:                        .getService();
0859:
0860:                layoutLocalService
0861:                        .setUserIdMapperPersistence(userIdMapperPersistence);
0862:            }
0863:
0864:            public static com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence() {
0865:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0866:                        .getService();
0867:
0868:                return layoutLocalService.getUserTrackerPersistence();
0869:            }
0870:
0871:            public static void setUserTrackerPersistence(
0872:                    com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence) {
0873:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0874:                        .getService();
0875:
0876:                layoutLocalService
0877:                        .setUserTrackerPersistence(userTrackerPersistence);
0878:            }
0879:
0880:            public static com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence() {
0881:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0882:                        .getService();
0883:
0884:                return layoutLocalService.getUserTrackerPathPersistence();
0885:            }
0886:
0887:            public static void setUserTrackerPathPersistence(
0888:                    com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence) {
0889:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0890:                        .getService();
0891:
0892:                layoutLocalService
0893:                        .setUserTrackerPathPersistence(userTrackerPathPersistence);
0894:            }
0895:
0896:            public static com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence() {
0897:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0898:                        .getService();
0899:
0900:                return layoutLocalService.getWebDAVPropsPersistence();
0901:            }
0902:
0903:            public static void setWebDAVPropsPersistence(
0904:                    com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence) {
0905:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0906:                        .getService();
0907:
0908:                layoutLocalService
0909:                        .setWebDAVPropsPersistence(webDAVPropsPersistence);
0910:            }
0911:
0912:            public static com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence() {
0913:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0914:                        .getService();
0915:
0916:                return layoutLocalService.getWebsitePersistence();
0917:            }
0918:
0919:            public static void setWebsitePersistence(
0920:                    com.liferay.portal.service.persistence.WebsitePersistence websitePersistence) {
0921:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0922:                        .getService();
0923:
0924:                layoutLocalService.setWebsitePersistence(websitePersistence);
0925:            }
0926:
0927:            public static com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence getDLFolderPersistence() {
0928:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0929:                        .getService();
0930:
0931:                return layoutLocalService.getDLFolderPersistence();
0932:            }
0933:
0934:            public static void setDLFolderPersistence(
0935:                    com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence dlFolderPersistence) {
0936:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0937:                        .getService();
0938:
0939:                layoutLocalService.setDLFolderPersistence(dlFolderPersistence);
0940:            }
0941:
0942:            public static com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence() {
0943:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0944:                        .getService();
0945:
0946:                return layoutLocalService.getJournalContentSearchPersistence();
0947:            }
0948:
0949:            public static void setJournalContentSearchPersistence(
0950:                    com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence) {
0951:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0952:                        .getService();
0953:
0954:                layoutLocalService
0955:                        .setJournalContentSearchPersistence(journalContentSearchPersistence);
0956:            }
0957:
0958:            public static com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence() {
0959:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0960:                        .getService();
0961:
0962:                return layoutLocalService.getMBMessagePersistence();
0963:            }
0964:
0965:            public static void setMBMessagePersistence(
0966:                    com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence) {
0967:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0968:                        .getService();
0969:
0970:                layoutLocalService
0971:                        .setMBMessagePersistence(mbMessagePersistence);
0972:            }
0973:
0974:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder() {
0975:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0976:                        .getService();
0977:
0978:                return layoutLocalService.getMBMessageFinder();
0979:            }
0980:
0981:            public static void setMBMessageFinder(
0982:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder) {
0983:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0984:                        .getService();
0985:
0986:                layoutLocalService.setMBMessageFinder(mbMessageFinder);
0987:            }
0988:
0989:            public static com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence getRatingsStatsPersistence() {
0990:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0991:                        .getService();
0992:
0993:                return layoutLocalService.getRatingsStatsPersistence();
0994:            }
0995:
0996:            public static void setRatingsStatsPersistence(
0997:                    com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence) {
0998:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
0999:                        .getService();
1000:
1001:                layoutLocalService
1002:                        .setRatingsStatsPersistence(ratingsStatsPersistence);
1003:            }
1004:
1005:            public static void afterPropertiesSet() {
1006:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1007:                        .getService();
1008:
1009:                layoutLocalService.afterPropertiesSet();
1010:            }
1011:
1012:            public static com.liferay.portal.model.Layout addLayout(
1013:                    long userId, long groupId, boolean privateLayout,
1014:                    long parentLayoutId, java.lang.String name,
1015:                    java.lang.String title, java.lang.String description,
1016:                    java.lang.String type, boolean hidden,
1017:                    java.lang.String friendlyURL)
1018:                    throws com.liferay.portal.PortalException,
1019:                    com.liferay.portal.SystemException {
1020:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1021:                        .getService();
1022:
1023:                return layoutLocalService.addLayout(userId, groupId,
1024:                        privateLayout, parentLayoutId, name, title,
1025:                        description, type, hidden, friendlyURL);
1026:            }
1027:
1028:            public static com.liferay.portal.model.Layout addLayout(
1029:                    long userId, long groupId, boolean privateLayout,
1030:                    long parentLayoutId, java.util.Map localeNamesMap,
1031:                    java.util.Map localeTitlesMap,
1032:                    java.lang.String description, java.lang.String type,
1033:                    boolean hidden, java.lang.String friendlyURL)
1034:                    throws com.liferay.portal.PortalException,
1035:                    com.liferay.portal.SystemException {
1036:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1037:                        .getService();
1038:
1039:                return layoutLocalService
1040:                        .addLayout(userId, groupId, privateLayout,
1041:                                parentLayoutId, localeNamesMap,
1042:                                localeTitlesMap, description, type, hidden,
1043:                                friendlyURL);
1044:            }
1045:
1046:            public static com.liferay.portal.model.Layout addLayout(
1047:                    long userId, long groupId, boolean privateLayout,
1048:                    long parentLayoutId, java.lang.String name,
1049:                    java.lang.String title, java.lang.String description,
1050:                    java.lang.String type, boolean hidden,
1051:                    java.lang.String friendlyURL, long dlFolderId)
1052:                    throws com.liferay.portal.PortalException,
1053:                    com.liferay.portal.SystemException {
1054:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1055:                        .getService();
1056:
1057:                return layoutLocalService.addLayout(userId, groupId,
1058:                        privateLayout, parentLayoutId, name, title,
1059:                        description, type, hidden, friendlyURL, dlFolderId);
1060:            }
1061:
1062:            public static com.liferay.portal.model.Layout addLayout(
1063:                    long userId, long groupId, boolean privateLayout,
1064:                    long parentLayoutId, java.util.Map localeNamesMap,
1065:                    java.util.Map localeTitlesMap,
1066:                    java.lang.String description, java.lang.String type,
1067:                    boolean hidden, java.lang.String friendlyURL,
1068:                    long dlFolderId) throws com.liferay.portal.PortalException,
1069:                    com.liferay.portal.SystemException {
1070:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1071:                        .getService();
1072:
1073:                return layoutLocalService.addLayout(userId, groupId,
1074:                        privateLayout, parentLayoutId, localeNamesMap,
1075:                        localeTitlesMap, description, type, hidden,
1076:                        friendlyURL, dlFolderId);
1077:            }
1078:
1079:            public static void deleteLayout(long plid)
1080:                    throws com.liferay.portal.PortalException,
1081:                    com.liferay.portal.SystemException {
1082:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1083:                        .getService();
1084:
1085:                layoutLocalService.deleteLayout(plid);
1086:            }
1087:
1088:            public static void deleteLayout(long groupId,
1089:                    boolean privateLayout, long layoutId)
1090:                    throws com.liferay.portal.PortalException,
1091:                    com.liferay.portal.SystemException {
1092:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1093:                        .getService();
1094:
1095:                layoutLocalService.deleteLayout(groupId, privateLayout,
1096:                        layoutId);
1097:            }
1098:
1099:            public static void deleteLayout(
1100:                    com.liferay.portal.model.Layout layout,
1101:                    boolean updateLayoutSet)
1102:                    throws com.liferay.portal.PortalException,
1103:                    com.liferay.portal.SystemException {
1104:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1105:                        .getService();
1106:
1107:                layoutLocalService.deleteLayout(layout, updateLayoutSet);
1108:            }
1109:
1110:            public static void deleteLayouts(long groupId, boolean privateLayout)
1111:                    throws com.liferay.portal.PortalException,
1112:                    com.liferay.portal.SystemException {
1113:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1114:                        .getService();
1115:
1116:                layoutLocalService.deleteLayouts(groupId, privateLayout);
1117:            }
1118:
1119:            public static byte[] exportLayouts(long groupId,
1120:                    boolean privateLayout, java.util.Map parameterMap)
1121:                    throws com.liferay.portal.PortalException,
1122:                    com.liferay.portal.SystemException {
1123:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1124:                        .getService();
1125:
1126:                return layoutLocalService.exportLayouts(groupId, privateLayout,
1127:                        parameterMap);
1128:            }
1129:
1130:            public static byte[] exportLayouts(long groupId,
1131:                    boolean privateLayout, long[] layoutIds,
1132:                    java.util.Map parameterMap)
1133:                    throws com.liferay.portal.PortalException,
1134:                    com.liferay.portal.SystemException {
1135:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1136:                        .getService();
1137:
1138:                return layoutLocalService.exportLayouts(groupId, privateLayout,
1139:                        layoutIds, parameterMap);
1140:            }
1141:
1142:            public static byte[] exportPortletInfo(long plid,
1143:                    java.lang.String portletId, java.util.Map parameterMap)
1144:                    throws com.liferay.portal.PortalException,
1145:                    com.liferay.portal.SystemException {
1146:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1147:                        .getService();
1148:
1149:                return layoutLocalService.exportPortletInfo(plid, portletId,
1150:                        parameterMap);
1151:            }
1152:
1153:            public static long getDefaultPlid(long groupId)
1154:                    throws com.liferay.portal.SystemException {
1155:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1156:                        .getService();
1157:
1158:                return layoutLocalService.getDefaultPlid(groupId);
1159:            }
1160:
1161:            public static long getDefaultPlid(long groupId,
1162:                    boolean privateLayout)
1163:                    throws com.liferay.portal.SystemException {
1164:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1165:                        .getService();
1166:
1167:                return layoutLocalService
1168:                        .getDefaultPlid(groupId, privateLayout);
1169:            }
1170:
1171:            public static com.liferay.portal.model.Layout getDLFolderLayout(
1172:                    long dlFolderId) throws com.liferay.portal.PortalException,
1173:                    com.liferay.portal.SystemException {
1174:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1175:                        .getService();
1176:
1177:                return layoutLocalService.getDLFolderLayout(dlFolderId);
1178:            }
1179:
1180:            public static com.liferay.portal.model.Layout getFriendlyURLLayout(
1181:                    long groupId, boolean privateLayout,
1182:                    java.lang.String friendlyURL)
1183:                    throws com.liferay.portal.PortalException,
1184:                    com.liferay.portal.SystemException {
1185:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1186:                        .getService();
1187:
1188:                return layoutLocalService.getFriendlyURLLayout(groupId,
1189:                        privateLayout, friendlyURL);
1190:            }
1191:
1192:            public static com.liferay.portal.model.Layout getLayout(long plid)
1193:                    throws com.liferay.portal.PortalException,
1194:                    com.liferay.portal.SystemException {
1195:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1196:                        .getService();
1197:
1198:                return layoutLocalService.getLayout(plid);
1199:            }
1200:
1201:            public static com.liferay.portal.model.Layout getLayout(
1202:                    long groupId, boolean privateLayout, long layoutId)
1203:                    throws com.liferay.portal.PortalException,
1204:                    com.liferay.portal.SystemException {
1205:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1206:                        .getService();
1207:
1208:                return layoutLocalService.getLayout(groupId, privateLayout,
1209:                        layoutId);
1210:            }
1211:
1212:            public static com.liferay.portal.model.Layout getLayoutByIconImageId(
1213:                    long iconImageId)
1214:                    throws com.liferay.portal.PortalException,
1215:                    com.liferay.portal.SystemException {
1216:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1217:                        .getService();
1218:
1219:                return layoutLocalService.getLayoutByIconImageId(iconImageId);
1220:            }
1221:
1222:            public static java.util.List getLayouts(long groupId,
1223:                    boolean privateLayout)
1224:                    throws com.liferay.portal.SystemException {
1225:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1226:                        .getService();
1227:
1228:                return layoutLocalService.getLayouts(groupId, privateLayout);
1229:            }
1230:
1231:            public static java.util.List getLayouts(long groupId,
1232:                    boolean privateLayout, long parentLayoutId)
1233:                    throws com.liferay.portal.SystemException {
1234:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1235:                        .getService();
1236:
1237:                return layoutLocalService.getLayouts(groupId, privateLayout,
1238:                        parentLayoutId);
1239:            }
1240:
1241:            public static java.util.List getLayouts(long groupId,
1242:                    boolean privateLayout, long parentLayoutId, int begin,
1243:                    int end) throws com.liferay.portal.SystemException {
1244:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1245:                        .getService();
1246:
1247:                return layoutLocalService.getLayouts(groupId, privateLayout,
1248:                        parentLayoutId, begin, end);
1249:            }
1250:
1251:            public static java.util.List getLayouts(long groupId,
1252:                    boolean privateLayout, long[] layoutIds)
1253:                    throws com.liferay.portal.PortalException,
1254:                    com.liferay.portal.SystemException {
1255:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1256:                        .getService();
1257:
1258:                return layoutLocalService.getLayouts(groupId, privateLayout,
1259:                        layoutIds);
1260:            }
1261:
1262:            public static com.liferay.portal.model.LayoutReference[] getLayouts(
1263:                    long companyId, java.lang.String portletId,
1264:                    java.lang.String prefsKey, java.lang.String prefsValue)
1265:                    throws com.liferay.portal.SystemException {
1266:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1267:                        .getService();
1268:
1269:                return layoutLocalService.getLayouts(companyId, portletId,
1270:                        prefsKey, prefsValue);
1271:            }
1272:
1273:            public static void importLayouts(long userId, long groupId,
1274:                    boolean privateLayout, java.util.Map parameterMap,
1275:                    java.io.File file)
1276:                    throws com.liferay.portal.PortalException,
1277:                    com.liferay.portal.SystemException {
1278:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1279:                        .getService();
1280:
1281:                layoutLocalService.importLayouts(userId, groupId,
1282:                        privateLayout, parameterMap, file);
1283:            }
1284:
1285:            public static void importLayouts(long userId, long groupId,
1286:                    boolean privateLayout, java.util.Map parameterMap,
1287:                    java.io.InputStream is)
1288:                    throws com.liferay.portal.PortalException,
1289:                    com.liferay.portal.SystemException {
1290:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1291:                        .getService();
1292:
1293:                layoutLocalService.importLayouts(userId, groupId,
1294:                        privateLayout, parameterMap, is);
1295:            }
1296:
1297:            public static void importPortletInfo(long userId, long plid,
1298:                    java.lang.String portletId, java.util.Map parameterMap,
1299:                    java.io.File file)
1300:                    throws com.liferay.portal.PortalException,
1301:                    com.liferay.portal.SystemException {
1302:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1303:                        .getService();
1304:
1305:                layoutLocalService.importPortletInfo(userId, plid, portletId,
1306:                        parameterMap, file);
1307:            }
1308:
1309:            public static void importPortletInfo(long userId, long plid,
1310:                    java.lang.String portletId, java.util.Map parameterMap,
1311:                    java.io.InputStream is)
1312:                    throws com.liferay.portal.PortalException,
1313:                    com.liferay.portal.SystemException {
1314:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1315:                        .getService();
1316:
1317:                layoutLocalService.importPortletInfo(userId, plid, portletId,
1318:                        parameterMap, is);
1319:            }
1320:
1321:            public static void setLayouts(long groupId, boolean privateLayout,
1322:                    long parentLayoutId, long[] layoutIds)
1323:                    throws com.liferay.portal.PortalException,
1324:                    com.liferay.portal.SystemException {
1325:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1326:                        .getService();
1327:
1328:                layoutLocalService.setLayouts(groupId, privateLayout,
1329:                        parentLayoutId, layoutIds);
1330:            }
1331:
1332:            public static com.liferay.portal.model.Layout updateLayout(
1333:                    long groupId, boolean privateLayout, long layoutId,
1334:                    long parentLayoutId, java.util.Map localeNamesMap,
1335:                    java.util.Map localeTitlesMap,
1336:                    java.lang.String description, java.lang.String type,
1337:                    boolean hidden, java.lang.String friendlyURL)
1338:                    throws com.liferay.portal.PortalException,
1339:                    com.liferay.portal.SystemException {
1340:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1341:                        .getService();
1342:
1343:                return layoutLocalService
1344:                        .updateLayout(groupId, privateLayout, layoutId,
1345:                                parentLayoutId, localeNamesMap,
1346:                                localeTitlesMap, description, type, hidden,
1347:                                friendlyURL);
1348:            }
1349:
1350:            public static com.liferay.portal.model.Layout updateLayout(
1351:                    long groupId, boolean privateLayout, long layoutId,
1352:                    long parentLayoutId, java.util.Map localeNamesMap,
1353:                    java.util.Map localeTitlesMap,
1354:                    java.lang.String description, java.lang.String type,
1355:                    boolean hidden, java.lang.String friendlyURL,
1356:                    java.lang.Boolean iconImage, byte[] iconBytes)
1357:                    throws com.liferay.portal.PortalException,
1358:                    com.liferay.portal.SystemException {
1359:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1360:                        .getService();
1361:
1362:                return layoutLocalService.updateLayout(groupId, privateLayout,
1363:                        layoutId, parentLayoutId, localeNamesMap,
1364:                        localeTitlesMap, description, type, hidden,
1365:                        friendlyURL, iconImage, iconBytes);
1366:            }
1367:
1368:            public static com.liferay.portal.model.Layout updateLayout(
1369:                    long groupId, boolean privateLayout, long layoutId,
1370:                    java.lang.String typeSettings)
1371:                    throws com.liferay.portal.PortalException,
1372:                    com.liferay.portal.SystemException {
1373:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1374:                        .getService();
1375:
1376:                return layoutLocalService.updateLayout(groupId, privateLayout,
1377:                        layoutId, typeSettings);
1378:            }
1379:
1380:            public static com.liferay.portal.model.Layout updateLookAndFeel(
1381:                    long groupId, boolean privateLayout, long layoutId,
1382:                    java.lang.String themeId, java.lang.String colorSchemeId,
1383:                    java.lang.String css, boolean wapTheme)
1384:                    throws com.liferay.portal.PortalException,
1385:                    com.liferay.portal.SystemException {
1386:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1387:                        .getService();
1388:
1389:                return layoutLocalService.updateLookAndFeel(groupId,
1390:                        privateLayout, layoutId, themeId, colorSchemeId, css,
1391:                        wapTheme);
1392:            }
1393:
1394:            public static com.liferay.portal.model.Layout updateName(long plid,
1395:                    java.lang.String name, java.lang.String languageId)
1396:                    throws com.liferay.portal.PortalException,
1397:                    com.liferay.portal.SystemException {
1398:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1399:                        .getService();
1400:
1401:                return layoutLocalService.updateName(plid, name, languageId);
1402:            }
1403:
1404:            public static com.liferay.portal.model.Layout updateName(
1405:                    long groupId, boolean privateLayout, long layoutId,
1406:                    java.lang.String name, java.lang.String languageId)
1407:                    throws com.liferay.portal.PortalException,
1408:                    com.liferay.portal.SystemException {
1409:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1410:                        .getService();
1411:
1412:                return layoutLocalService.updateName(groupId, privateLayout,
1413:                        layoutId, name, languageId);
1414:            }
1415:
1416:            public static com.liferay.portal.model.Layout updateName(
1417:                    com.liferay.portal.model.Layout layout,
1418:                    java.lang.String name, java.lang.String languageId)
1419:                    throws com.liferay.portal.PortalException,
1420:                    com.liferay.portal.SystemException {
1421:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1422:                        .getService();
1423:
1424:                return layoutLocalService.updateName(layout, name, languageId);
1425:            }
1426:
1427:            public static com.liferay.portal.model.Layout updateParentLayoutId(
1428:                    long plid, long parentPlid)
1429:                    throws com.liferay.portal.PortalException,
1430:                    com.liferay.portal.SystemException {
1431:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1432:                        .getService();
1433:
1434:                return layoutLocalService
1435:                        .updateParentLayoutId(plid, parentPlid);
1436:            }
1437:
1438:            public static com.liferay.portal.model.Layout updateParentLayoutId(
1439:                    long groupId, boolean privateLayout, long layoutId,
1440:                    long parentLayoutId)
1441:                    throws com.liferay.portal.PortalException,
1442:                    com.liferay.portal.SystemException {
1443:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1444:                        .getService();
1445:
1446:                return layoutLocalService.updateParentLayoutId(groupId,
1447:                        privateLayout, layoutId, parentLayoutId);
1448:            }
1449:
1450:            public static com.liferay.portal.model.Layout updatePriority(
1451:                    long plid, int priority)
1452:                    throws com.liferay.portal.PortalException,
1453:                    com.liferay.portal.SystemException {
1454:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1455:                        .getService();
1456:
1457:                return layoutLocalService.updatePriority(plid, priority);
1458:            }
1459:
1460:            public static com.liferay.portal.model.Layout updatePriority(
1461:                    long groupId, boolean privateLayout, long layoutId,
1462:                    int priority) throws com.liferay.portal.PortalException,
1463:                    com.liferay.portal.SystemException {
1464:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1465:                        .getService();
1466:
1467:                return layoutLocalService.updatePriority(groupId,
1468:                        privateLayout, layoutId, priority);
1469:            }
1470:
1471:            public static com.liferay.portal.model.Layout updatePriority(
1472:                    com.liferay.portal.model.Layout layout, int priority)
1473:                    throws com.liferay.portal.PortalException,
1474:                    com.liferay.portal.SystemException {
1475:                LayoutLocalService layoutLocalService = LayoutLocalServiceFactory
1476:                        .getService();
1477:
1478:                return layoutLocalService.updatePriority(layout, priority);
1479:            }
1480:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.