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