Source Code Cross Referenced for ResourceCodeLocalServiceUtil.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) 


001:        /**
002:         * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003:         *
004:         * Permission is hereby granted, free of charge, to any person obtaining a copy
005:         * of this software and associated documentation files (the "Software"), to deal
006:         * in the Software without restriction, including without limitation the rights
007:         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008:         * copies of the Software, and to permit persons to whom the Software is
009:         * furnished to do so, subject to the following conditions:
010:         *
011:         * The above copyright notice and this permission notice shall be included in
012:         * all copies or substantial portions of the Software.
013:         *
014:         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015:         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016:         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017:         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018:         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019:         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020:         * SOFTWARE.
021:         */package com.liferay.portal.service;
022:
023:        /**
024:         * <a href="ResourceCodeLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
025:         *
026:         * <p>
027:         * ServiceBuilder generated this class. Modifications in this class will be
028:         * overwritten the next time is generated.
029:         * </p>
030:         *
031:         * <p>
032:         * This class provides static methods for the
033:         * <code>com.liferay.portal.service.ResourceCodeLocalService</code>
034:         * bean. The static methods of this class calls the same methods of the bean
035:         * instance. It's convenient to be able to just write one line to call a method
036:         * on a bean instead of writing a lookup call and a method call.
037:         * </p>
038:         *
039:         * <p>
040:         * <code>com.liferay.portal.service.ResourceCodeLocalServiceFactory</code>
041:         * is responsible for the lookup of the bean.
042:         * </p>
043:         *
044:         * @author Brian Wing Shun Chan
045:         *
046:         * @see com.liferay.portal.service.ResourceCodeLocalService
047:         * @see com.liferay.portal.service.ResourceCodeLocalServiceFactory
048:         *
049:         */
050:        public class ResourceCodeLocalServiceUtil {
051:            public static com.liferay.portal.model.ResourceCode addResourceCode(
052:                    com.liferay.portal.model.ResourceCode model)
053:                    throws com.liferay.portal.SystemException {
054:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
055:                        .getService();
056:
057:                return resourceCodeLocalService.addResourceCode(model);
058:            }
059:
060:            public static java.util.List dynamicQuery(
061:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
062:                    throws com.liferay.portal.SystemException {
063:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
064:                        .getService();
065:
066:                return resourceCodeLocalService.dynamicQuery(queryInitializer);
067:            }
068:
069:            public static java.util.List dynamicQuery(
070:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
071:                    int begin, int end)
072:                    throws com.liferay.portal.SystemException {
073:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
074:                        .getService();
075:
076:                return resourceCodeLocalService.dynamicQuery(queryInitializer,
077:                        begin, end);
078:            }
079:
080:            public static com.liferay.portal.model.ResourceCode updateResourceCode(
081:                    com.liferay.portal.model.ResourceCode model)
082:                    throws com.liferay.portal.SystemException {
083:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
084:                        .getService();
085:
086:                return resourceCodeLocalService.updateResourceCode(model);
087:            }
088:
089:            public static com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence() {
090:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
091:                        .getService();
092:
093:                return resourceCodeLocalService.getAccountPersistence();
094:            }
095:
096:            public static void setAccountPersistence(
097:                    com.liferay.portal.service.persistence.AccountPersistence accountPersistence) {
098:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
099:                        .getService();
100:
101:                resourceCodeLocalService
102:                        .setAccountPersistence(accountPersistence);
103:            }
104:
105:            public static com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence() {
106:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
107:                        .getService();
108:
109:                return resourceCodeLocalService.getActivityTrackerPersistence();
110:            }
111:
112:            public static void setActivityTrackerPersistence(
113:                    com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence) {
114:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
115:                        .getService();
116:
117:                resourceCodeLocalService
118:                        .setActivityTrackerPersistence(activityTrackerPersistence);
119:            }
120:
121:            public static com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder() {
122:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
123:                        .getService();
124:
125:                return resourceCodeLocalService.getActivityTrackerFinder();
126:            }
127:
128:            public static void setActivityTrackerFinder(
129:                    com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder) {
130:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
131:                        .getService();
132:
133:                resourceCodeLocalService
134:                        .setActivityTrackerFinder(activityTrackerFinder);
135:            }
136:
137:            public static com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence() {
138:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
139:                        .getService();
140:
141:                return resourceCodeLocalService.getAddressPersistence();
142:            }
143:
144:            public static void setAddressPersistence(
145:                    com.liferay.portal.service.persistence.AddressPersistence addressPersistence) {
146:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
147:                        .getService();
148:
149:                resourceCodeLocalService
150:                        .setAddressPersistence(addressPersistence);
151:            }
152:
153:            public static com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence() {
154:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
155:                        .getService();
156:
157:                return resourceCodeLocalService.getClassNamePersistence();
158:            }
159:
160:            public static void setClassNamePersistence(
161:                    com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence) {
162:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
163:                        .getService();
164:
165:                resourceCodeLocalService
166:                        .setClassNamePersistence(classNamePersistence);
167:            }
168:
169:            public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
170:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
171:                        .getService();
172:
173:                return resourceCodeLocalService.getCompanyPersistence();
174:            }
175:
176:            public static void setCompanyPersistence(
177:                    com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
178:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
179:                        .getService();
180:
181:                resourceCodeLocalService
182:                        .setCompanyPersistence(companyPersistence);
183:            }
184:
185:            public static com.liferay.portal.service.persistence.ContactPersistence getContactPersistence() {
186:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
187:                        .getService();
188:
189:                return resourceCodeLocalService.getContactPersistence();
190:            }
191:
192:            public static void setContactPersistence(
193:                    com.liferay.portal.service.persistence.ContactPersistence contactPersistence) {
194:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
195:                        .getService();
196:
197:                resourceCodeLocalService
198:                        .setContactPersistence(contactPersistence);
199:            }
200:
201:            public static com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence() {
202:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
203:                        .getService();
204:
205:                return resourceCodeLocalService.getCountryPersistence();
206:            }
207:
208:            public static void setCountryPersistence(
209:                    com.liferay.portal.service.persistence.CountryPersistence countryPersistence) {
210:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
211:                        .getService();
212:
213:                resourceCodeLocalService
214:                        .setCountryPersistence(countryPersistence);
215:            }
216:
217:            public static com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence() {
218:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
219:                        .getService();
220:
221:                return resourceCodeLocalService.getEmailAddressPersistence();
222:            }
223:
224:            public static void setEmailAddressPersistence(
225:                    com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence) {
226:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
227:                        .getService();
228:
229:                resourceCodeLocalService
230:                        .setEmailAddressPersistence(emailAddressPersistence);
231:            }
232:
233:            public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
234:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
235:                        .getService();
236:
237:                return resourceCodeLocalService.getGroupPersistence();
238:            }
239:
240:            public static void setGroupPersistence(
241:                    com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
242:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
243:                        .getService();
244:
245:                resourceCodeLocalService.setGroupPersistence(groupPersistence);
246:            }
247:
248:            public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
249:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
250:                        .getService();
251:
252:                return resourceCodeLocalService.getGroupFinder();
253:            }
254:
255:            public static void setGroupFinder(
256:                    com.liferay.portal.service.persistence.GroupFinder groupFinder) {
257:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
258:                        .getService();
259:
260:                resourceCodeLocalService.setGroupFinder(groupFinder);
261:            }
262:
263:            public static com.liferay.portal.service.persistence.ImagePersistence getImagePersistence() {
264:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
265:                        .getService();
266:
267:                return resourceCodeLocalService.getImagePersistence();
268:            }
269:
270:            public static void setImagePersistence(
271:                    com.liferay.portal.service.persistence.ImagePersistence imagePersistence) {
272:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
273:                        .getService();
274:
275:                resourceCodeLocalService.setImagePersistence(imagePersistence);
276:            }
277:
278:            public static com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence() {
279:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
280:                        .getService();
281:
282:                return resourceCodeLocalService.getLayoutPersistence();
283:            }
284:
285:            public static void setLayoutPersistence(
286:                    com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence) {
287:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
288:                        .getService();
289:
290:                resourceCodeLocalService
291:                        .setLayoutPersistence(layoutPersistence);
292:            }
293:
294:            public static com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder() {
295:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
296:                        .getService();
297:
298:                return resourceCodeLocalService.getLayoutFinder();
299:            }
300:
301:            public static void setLayoutFinder(
302:                    com.liferay.portal.service.persistence.LayoutFinder layoutFinder) {
303:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
304:                        .getService();
305:
306:                resourceCodeLocalService.setLayoutFinder(layoutFinder);
307:            }
308:
309:            public static com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence() {
310:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
311:                        .getService();
312:
313:                return resourceCodeLocalService.getLayoutSetPersistence();
314:            }
315:
316:            public static void setLayoutSetPersistence(
317:                    com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence) {
318:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
319:                        .getService();
320:
321:                resourceCodeLocalService
322:                        .setLayoutSetPersistence(layoutSetPersistence);
323:            }
324:
325:            public static com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence() {
326:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
327:                        .getService();
328:
329:                return resourceCodeLocalService.getListTypePersistence();
330:            }
331:
332:            public static void setListTypePersistence(
333:                    com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence) {
334:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
335:                        .getService();
336:
337:                resourceCodeLocalService
338:                        .setListTypePersistence(listTypePersistence);
339:            }
340:
341:            public static com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence() {
342:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
343:                        .getService();
344:
345:                return resourceCodeLocalService
346:                        .getMembershipRequestPersistence();
347:            }
348:
349:            public static void setMembershipRequestPersistence(
350:                    com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence) {
351:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
352:                        .getService();
353:
354:                resourceCodeLocalService
355:                        .setMembershipRequestPersistence(membershipRequestPersistence);
356:            }
357:
358:            public static com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence() {
359:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
360:                        .getService();
361:
362:                return resourceCodeLocalService.getOrganizationPersistence();
363:            }
364:
365:            public static void setOrganizationPersistence(
366:                    com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence) {
367:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
368:                        .getService();
369:
370:                resourceCodeLocalService
371:                        .setOrganizationPersistence(organizationPersistence);
372:            }
373:
374:            public static com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder() {
375:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
376:                        .getService();
377:
378:                return resourceCodeLocalService.getOrganizationFinder();
379:            }
380:
381:            public static void setOrganizationFinder(
382:                    com.liferay.portal.service.persistence.OrganizationFinder organizationFinder) {
383:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
384:                        .getService();
385:
386:                resourceCodeLocalService
387:                        .setOrganizationFinder(organizationFinder);
388:            }
389:
390:            public static com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence() {
391:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
392:                        .getService();
393:
394:                return resourceCodeLocalService
395:                        .getOrgGroupPermissionPersistence();
396:            }
397:
398:            public static void setOrgGroupPermissionPersistence(
399:                    com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence) {
400:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
401:                        .getService();
402:
403:                resourceCodeLocalService
404:                        .setOrgGroupPermissionPersistence(orgGroupPermissionPersistence);
405:            }
406:
407:            public static com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder() {
408:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
409:                        .getService();
410:
411:                return resourceCodeLocalService.getOrgGroupPermissionFinder();
412:            }
413:
414:            public static void setOrgGroupPermissionFinder(
415:                    com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder) {
416:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
417:                        .getService();
418:
419:                resourceCodeLocalService
420:                        .setOrgGroupPermissionFinder(orgGroupPermissionFinder);
421:            }
422:
423:            public static com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence() {
424:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
425:                        .getService();
426:
427:                return resourceCodeLocalService.getOrgGroupRolePersistence();
428:            }
429:
430:            public static void setOrgGroupRolePersistence(
431:                    com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence) {
432:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
433:                        .getService();
434:
435:                resourceCodeLocalService
436:                        .setOrgGroupRolePersistence(orgGroupRolePersistence);
437:            }
438:
439:            public static com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence() {
440:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
441:                        .getService();
442:
443:                return resourceCodeLocalService.getOrgLaborPersistence();
444:            }
445:
446:            public static void setOrgLaborPersistence(
447:                    com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence) {
448:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
449:                        .getService();
450:
451:                resourceCodeLocalService
452:                        .setOrgLaborPersistence(orgLaborPersistence);
453:            }
454:
455:            public static com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence() {
456:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
457:                        .getService();
458:
459:                return resourceCodeLocalService.getPasswordPolicyPersistence();
460:            }
461:
462:            public static void setPasswordPolicyPersistence(
463:                    com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence) {
464:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
465:                        .getService();
466:
467:                resourceCodeLocalService
468:                        .setPasswordPolicyPersistence(passwordPolicyPersistence);
469:            }
470:
471:            public static com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder() {
472:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
473:                        .getService();
474:
475:                return resourceCodeLocalService.getPasswordPolicyFinder();
476:            }
477:
478:            public static void setPasswordPolicyFinder(
479:                    com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder) {
480:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
481:                        .getService();
482:
483:                resourceCodeLocalService
484:                        .setPasswordPolicyFinder(passwordPolicyFinder);
485:            }
486:
487:            public static com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
488:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
489:                        .getService();
490:
491:                return resourceCodeLocalService
492:                        .getPasswordPolicyRelPersistence();
493:            }
494:
495:            public static void setPasswordPolicyRelPersistence(
496:                    com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
497:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
498:                        .getService();
499:
500:                resourceCodeLocalService
501:                        .setPasswordPolicyRelPersistence(passwordPolicyRelPersistence);
502:            }
503:
504:            public static com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence() {
505:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
506:                        .getService();
507:
508:                return resourceCodeLocalService.getPasswordTrackerPersistence();
509:            }
510:
511:            public static void setPasswordTrackerPersistence(
512:                    com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence) {
513:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
514:                        .getService();
515:
516:                resourceCodeLocalService
517:                        .setPasswordTrackerPersistence(passwordTrackerPersistence);
518:            }
519:
520:            public static com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence() {
521:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
522:                        .getService();
523:
524:                return resourceCodeLocalService.getPermissionPersistence();
525:            }
526:
527:            public static void setPermissionPersistence(
528:                    com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence) {
529:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
530:                        .getService();
531:
532:                resourceCodeLocalService
533:                        .setPermissionPersistence(permissionPersistence);
534:            }
535:
536:            public static com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder() {
537:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
538:                        .getService();
539:
540:                return resourceCodeLocalService.getPermissionFinder();
541:            }
542:
543:            public static void setPermissionFinder(
544:                    com.liferay.portal.service.persistence.PermissionFinder permissionFinder) {
545:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
546:                        .getService();
547:
548:                resourceCodeLocalService.setPermissionFinder(permissionFinder);
549:            }
550:
551:            public static com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder() {
552:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
553:                        .getService();
554:
555:                return resourceCodeLocalService.getPermissionUserFinder();
556:            }
557:
558:            public static void setPermissionUserFinder(
559:                    com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder) {
560:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
561:                        .getService();
562:
563:                resourceCodeLocalService
564:                        .setPermissionUserFinder(permissionUserFinder);
565:            }
566:
567:            public static com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence() {
568:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
569:                        .getService();
570:
571:                return resourceCodeLocalService.getPhonePersistence();
572:            }
573:
574:            public static void setPhonePersistence(
575:                    com.liferay.portal.service.persistence.PhonePersistence phonePersistence) {
576:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
577:                        .getService();
578:
579:                resourceCodeLocalService.setPhonePersistence(phonePersistence);
580:            }
581:
582:            public static com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence() {
583:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
584:                        .getService();
585:
586:                return resourceCodeLocalService.getPluginSettingPersistence();
587:            }
588:
589:            public static void setPluginSettingPersistence(
590:                    com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence) {
591:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
592:                        .getService();
593:
594:                resourceCodeLocalService
595:                        .setPluginSettingPersistence(pluginSettingPersistence);
596:            }
597:
598:            public static com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence() {
599:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
600:                        .getService();
601:
602:                return resourceCodeLocalService.getPortletPersistence();
603:            }
604:
605:            public static void setPortletPersistence(
606:                    com.liferay.portal.service.persistence.PortletPersistence portletPersistence) {
607:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
608:                        .getService();
609:
610:                resourceCodeLocalService
611:                        .setPortletPersistence(portletPersistence);
612:            }
613:
614:            public static com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence() {
615:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
616:                        .getService();
617:
618:                return resourceCodeLocalService
619:                        .getPortletPreferencesPersistence();
620:            }
621:
622:            public static void setPortletPreferencesPersistence(
623:                    com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence) {
624:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
625:                        .getService();
626:
627:                resourceCodeLocalService
628:                        .setPortletPreferencesPersistence(portletPreferencesPersistence);
629:            }
630:
631:            public static com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder() {
632:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
633:                        .getService();
634:
635:                return resourceCodeLocalService.getPortletPreferencesFinder();
636:            }
637:
638:            public static void setPortletPreferencesFinder(
639:                    com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder) {
640:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
641:                        .getService();
642:
643:                resourceCodeLocalService
644:                        .setPortletPreferencesFinder(portletPreferencesFinder);
645:            }
646:
647:            public static com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence() {
648:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
649:                        .getService();
650:
651:                return resourceCodeLocalService.getRegionPersistence();
652:            }
653:
654:            public static void setRegionPersistence(
655:                    com.liferay.portal.service.persistence.RegionPersistence regionPersistence) {
656:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
657:                        .getService();
658:
659:                resourceCodeLocalService
660:                        .setRegionPersistence(regionPersistence);
661:            }
662:
663:            public static com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence() {
664:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
665:                        .getService();
666:
667:                return resourceCodeLocalService.getReleasePersistence();
668:            }
669:
670:            public static void setReleasePersistence(
671:                    com.liferay.portal.service.persistence.ReleasePersistence releasePersistence) {
672:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
673:                        .getService();
674:
675:                resourceCodeLocalService
676:                        .setReleasePersistence(releasePersistence);
677:            }
678:
679:            public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
680:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
681:                        .getService();
682:
683:                return resourceCodeLocalService.getResourcePersistence();
684:            }
685:
686:            public static void setResourcePersistence(
687:                    com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
688:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
689:                        .getService();
690:
691:                resourceCodeLocalService
692:                        .setResourcePersistence(resourcePersistence);
693:            }
694:
695:            public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
696:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
697:                        .getService();
698:
699:                return resourceCodeLocalService.getResourceFinder();
700:            }
701:
702:            public static void setResourceFinder(
703:                    com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
704:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
705:                        .getService();
706:
707:                resourceCodeLocalService.setResourceFinder(resourceFinder);
708:            }
709:
710:            public static com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence() {
711:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
712:                        .getService();
713:
714:                return resourceCodeLocalService.getResourceCodePersistence();
715:            }
716:
717:            public static void setResourceCodePersistence(
718:                    com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence) {
719:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
720:                        .getService();
721:
722:                resourceCodeLocalService
723:                        .setResourceCodePersistence(resourceCodePersistence);
724:            }
725:
726:            public static com.liferay.portal.service.persistence.RolePersistence getRolePersistence() {
727:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
728:                        .getService();
729:
730:                return resourceCodeLocalService.getRolePersistence();
731:            }
732:
733:            public static void setRolePersistence(
734:                    com.liferay.portal.service.persistence.RolePersistence rolePersistence) {
735:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
736:                        .getService();
737:
738:                resourceCodeLocalService.setRolePersistence(rolePersistence);
739:            }
740:
741:            public static com.liferay.portal.service.persistence.RoleFinder getRoleFinder() {
742:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
743:                        .getService();
744:
745:                return resourceCodeLocalService.getRoleFinder();
746:            }
747:
748:            public static void setRoleFinder(
749:                    com.liferay.portal.service.persistence.RoleFinder roleFinder) {
750:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
751:                        .getService();
752:
753:                resourceCodeLocalService.setRoleFinder(roleFinder);
754:            }
755:
756:            public static com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence() {
757:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
758:                        .getService();
759:
760:                return resourceCodeLocalService
761:                        .getServiceComponentPersistence();
762:            }
763:
764:            public static void setServiceComponentPersistence(
765:                    com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence) {
766:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
767:                        .getService();
768:
769:                resourceCodeLocalService
770:                        .setServiceComponentPersistence(serviceComponentPersistence);
771:            }
772:
773:            public static com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence() {
774:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
775:                        .getService();
776:
777:                return resourceCodeLocalService.getSubscriptionPersistence();
778:            }
779:
780:            public static void setSubscriptionPersistence(
781:                    com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence) {
782:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
783:                        .getService();
784:
785:                resourceCodeLocalService
786:                        .setSubscriptionPersistence(subscriptionPersistence);
787:            }
788:
789:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
790:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
791:                        .getService();
792:
793:                return resourceCodeLocalService.getUserPersistence();
794:            }
795:
796:            public static void setUserPersistence(
797:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
798:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
799:                        .getService();
800:
801:                resourceCodeLocalService.setUserPersistence(userPersistence);
802:            }
803:
804:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
805:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
806:                        .getService();
807:
808:                return resourceCodeLocalService.getUserFinder();
809:            }
810:
811:            public static void setUserFinder(
812:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
813:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
814:                        .getService();
815:
816:                resourceCodeLocalService.setUserFinder(userFinder);
817:            }
818:
819:            public static com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence() {
820:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
821:                        .getService();
822:
823:                return resourceCodeLocalService.getUserGroupPersistence();
824:            }
825:
826:            public static void setUserGroupPersistence(
827:                    com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence) {
828:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
829:                        .getService();
830:
831:                resourceCodeLocalService
832:                        .setUserGroupPersistence(userGroupPersistence);
833:            }
834:
835:            public static com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder() {
836:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
837:                        .getService();
838:
839:                return resourceCodeLocalService.getUserGroupFinder();
840:            }
841:
842:            public static void setUserGroupFinder(
843:                    com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder) {
844:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
845:                        .getService();
846:
847:                resourceCodeLocalService.setUserGroupFinder(userGroupFinder);
848:            }
849:
850:            public static com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence() {
851:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
852:                        .getService();
853:
854:                return resourceCodeLocalService.getUserGroupRolePersistence();
855:            }
856:
857:            public static void setUserGroupRolePersistence(
858:                    com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence) {
859:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
860:                        .getService();
861:
862:                resourceCodeLocalService
863:                        .setUserGroupRolePersistence(userGroupRolePersistence);
864:            }
865:
866:            public static com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence() {
867:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
868:                        .getService();
869:
870:                return resourceCodeLocalService.getUserIdMapperPersistence();
871:            }
872:
873:            public static void setUserIdMapperPersistence(
874:                    com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence) {
875:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
876:                        .getService();
877:
878:                resourceCodeLocalService
879:                        .setUserIdMapperPersistence(userIdMapperPersistence);
880:            }
881:
882:            public static com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence() {
883:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
884:                        .getService();
885:
886:                return resourceCodeLocalService.getUserTrackerPersistence();
887:            }
888:
889:            public static void setUserTrackerPersistence(
890:                    com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence) {
891:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
892:                        .getService();
893:
894:                resourceCodeLocalService
895:                        .setUserTrackerPersistence(userTrackerPersistence);
896:            }
897:
898:            public static com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence() {
899:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
900:                        .getService();
901:
902:                return resourceCodeLocalService.getUserTrackerPathPersistence();
903:            }
904:
905:            public static void setUserTrackerPathPersistence(
906:                    com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence) {
907:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
908:                        .getService();
909:
910:                resourceCodeLocalService
911:                        .setUserTrackerPathPersistence(userTrackerPathPersistence);
912:            }
913:
914:            public static com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence() {
915:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
916:                        .getService();
917:
918:                return resourceCodeLocalService.getWebDAVPropsPersistence();
919:            }
920:
921:            public static void setWebDAVPropsPersistence(
922:                    com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence) {
923:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
924:                        .getService();
925:
926:                resourceCodeLocalService
927:                        .setWebDAVPropsPersistence(webDAVPropsPersistence);
928:            }
929:
930:            public static com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence() {
931:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
932:                        .getService();
933:
934:                return resourceCodeLocalService.getWebsitePersistence();
935:            }
936:
937:            public static void setWebsitePersistence(
938:                    com.liferay.portal.service.persistence.WebsitePersistence websitePersistence) {
939:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
940:                        .getService();
941:
942:                resourceCodeLocalService
943:                        .setWebsitePersistence(websitePersistence);
944:            }
945:
946:            public static void afterPropertiesSet() {
947:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
948:                        .getService();
949:
950:                resourceCodeLocalService.afterPropertiesSet();
951:            }
952:
953:            public static com.liferay.portal.model.ResourceCode getResourceCode(
954:                    long codeId) throws com.liferay.portal.PortalException,
955:                    com.liferay.portal.SystemException {
956:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
957:                        .getService();
958:
959:                return resourceCodeLocalService.getResourceCode(codeId);
960:            }
961:
962:            public static com.liferay.portal.model.ResourceCode getResourceCode(
963:                    long companyId, java.lang.String name, int scope)
964:                    throws com.liferay.portal.PortalException,
965:                    com.liferay.portal.SystemException {
966:                ResourceCodeLocalService resourceCodeLocalService = ResourceCodeLocalServiceFactory
967:                        .getService();
968:
969:                return resourceCodeLocalService.getResourceCode(companyId,
970:                        name, scope);
971:            }
972:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.