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