Source Code Cross Referenced for SubscriptionLocalServiceUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portal » service » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » com.liferay.portal.service 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /**
0002:         * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
0003:         *
0004:         * Permission is hereby granted, free of charge, to any person obtaining a copy
0005:         * of this software and associated documentation files (the "Software"), to deal
0006:         * in the Software without restriction, including without limitation the rights
0007:         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0008:         * copies of the Software, and to permit persons to whom the Software is
0009:         * furnished to do so, subject to the following conditions:
0010:         *
0011:         * The above copyright notice and this permission notice shall be included in
0012:         * all copies or substantial portions of the Software.
0013:         *
0014:         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015:         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016:         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0017:         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0018:         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0019:         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0020:         * SOFTWARE.
0021:         */package com.liferay.portal.service;
0022:
0023:        /**
0024:         * <a href="SubscriptionLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
0025:         *
0026:         * <p>
0027:         * ServiceBuilder generated this class. Modifications in this class will be
0028:         * overwritten the next time is generated.
0029:         * </p>
0030:         *
0031:         * <p>
0032:         * This class provides static methods for the
0033:         * <code>com.liferay.portal.service.SubscriptionLocalService</code>
0034:         * bean. The static methods of this class calls the same methods of the bean
0035:         * instance. It's convenient to be able to just write one line to call a method
0036:         * on a bean instead of writing a lookup call and a method call.
0037:         * </p>
0038:         *
0039:         * <p>
0040:         * <code>com.liferay.portal.service.SubscriptionLocalServiceFactory</code>
0041:         * is responsible for the lookup of the bean.
0042:         * </p>
0043:         *
0044:         * @author Brian Wing Shun Chan
0045:         *
0046:         * @see com.liferay.portal.service.SubscriptionLocalService
0047:         * @see com.liferay.portal.service.SubscriptionLocalServiceFactory
0048:         *
0049:         */
0050:        public class SubscriptionLocalServiceUtil {
0051:            public static com.liferay.portal.model.Subscription addSubscription(
0052:                    com.liferay.portal.model.Subscription model)
0053:                    throws com.liferay.portal.SystemException {
0054:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0055:                        .getService();
0056:
0057:                return subscriptionLocalService.addSubscription(model);
0058:            }
0059:
0060:            public static java.util.List dynamicQuery(
0061:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
0062:                    throws com.liferay.portal.SystemException {
0063:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0064:                        .getService();
0065:
0066:                return subscriptionLocalService.dynamicQuery(queryInitializer);
0067:            }
0068:
0069:            public static java.util.List dynamicQuery(
0070:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
0071:                    int begin, int end)
0072:                    throws com.liferay.portal.SystemException {
0073:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0074:                        .getService();
0075:
0076:                return subscriptionLocalService.dynamicQuery(queryInitializer,
0077:                        begin, end);
0078:            }
0079:
0080:            public static com.liferay.portal.model.Subscription updateSubscription(
0081:                    com.liferay.portal.model.Subscription model)
0082:                    throws com.liferay.portal.SystemException {
0083:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0084:                        .getService();
0085:
0086:                return subscriptionLocalService.updateSubscription(model);
0087:            }
0088:
0089:            public static com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence() {
0090:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0091:                        .getService();
0092:
0093:                return subscriptionLocalService.getAccountPersistence();
0094:            }
0095:
0096:            public static void setAccountPersistence(
0097:                    com.liferay.portal.service.persistence.AccountPersistence accountPersistence) {
0098:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0099:                        .getService();
0100:
0101:                subscriptionLocalService
0102:                        .setAccountPersistence(accountPersistence);
0103:            }
0104:
0105:            public static com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence() {
0106:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0107:                        .getService();
0108:
0109:                return subscriptionLocalService.getActivityTrackerPersistence();
0110:            }
0111:
0112:            public static void setActivityTrackerPersistence(
0113:                    com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence) {
0114:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0115:                        .getService();
0116:
0117:                subscriptionLocalService
0118:                        .setActivityTrackerPersistence(activityTrackerPersistence);
0119:            }
0120:
0121:            public static com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder() {
0122:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0123:                        .getService();
0124:
0125:                return subscriptionLocalService.getActivityTrackerFinder();
0126:            }
0127:
0128:            public static void setActivityTrackerFinder(
0129:                    com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder) {
0130:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0131:                        .getService();
0132:
0133:                subscriptionLocalService
0134:                        .setActivityTrackerFinder(activityTrackerFinder);
0135:            }
0136:
0137:            public static com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence() {
0138:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0139:                        .getService();
0140:
0141:                return subscriptionLocalService.getAddressPersistence();
0142:            }
0143:
0144:            public static void setAddressPersistence(
0145:                    com.liferay.portal.service.persistence.AddressPersistence addressPersistence) {
0146:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0147:                        .getService();
0148:
0149:                subscriptionLocalService
0150:                        .setAddressPersistence(addressPersistence);
0151:            }
0152:
0153:            public static com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence() {
0154:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0155:                        .getService();
0156:
0157:                return subscriptionLocalService.getClassNamePersistence();
0158:            }
0159:
0160:            public static void setClassNamePersistence(
0161:                    com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence) {
0162:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0163:                        .getService();
0164:
0165:                subscriptionLocalService
0166:                        .setClassNamePersistence(classNamePersistence);
0167:            }
0168:
0169:            public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
0170:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0171:                        .getService();
0172:
0173:                return subscriptionLocalService.getCompanyPersistence();
0174:            }
0175:
0176:            public static void setCompanyPersistence(
0177:                    com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
0178:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0179:                        .getService();
0180:
0181:                subscriptionLocalService
0182:                        .setCompanyPersistence(companyPersistence);
0183:            }
0184:
0185:            public static com.liferay.portal.service.persistence.ContactPersistence getContactPersistence() {
0186:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0187:                        .getService();
0188:
0189:                return subscriptionLocalService.getContactPersistence();
0190:            }
0191:
0192:            public static void setContactPersistence(
0193:                    com.liferay.portal.service.persistence.ContactPersistence contactPersistence) {
0194:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0195:                        .getService();
0196:
0197:                subscriptionLocalService
0198:                        .setContactPersistence(contactPersistence);
0199:            }
0200:
0201:            public static com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence() {
0202:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0203:                        .getService();
0204:
0205:                return subscriptionLocalService.getCountryPersistence();
0206:            }
0207:
0208:            public static void setCountryPersistence(
0209:                    com.liferay.portal.service.persistence.CountryPersistence countryPersistence) {
0210:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0211:                        .getService();
0212:
0213:                subscriptionLocalService
0214:                        .setCountryPersistence(countryPersistence);
0215:            }
0216:
0217:            public static com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence() {
0218:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0219:                        .getService();
0220:
0221:                return subscriptionLocalService.getEmailAddressPersistence();
0222:            }
0223:
0224:            public static void setEmailAddressPersistence(
0225:                    com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence) {
0226:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0227:                        .getService();
0228:
0229:                subscriptionLocalService
0230:                        .setEmailAddressPersistence(emailAddressPersistence);
0231:            }
0232:
0233:            public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
0234:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0235:                        .getService();
0236:
0237:                return subscriptionLocalService.getGroupPersistence();
0238:            }
0239:
0240:            public static void setGroupPersistence(
0241:                    com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
0242:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0243:                        .getService();
0244:
0245:                subscriptionLocalService.setGroupPersistence(groupPersistence);
0246:            }
0247:
0248:            public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
0249:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0250:                        .getService();
0251:
0252:                return subscriptionLocalService.getGroupFinder();
0253:            }
0254:
0255:            public static void setGroupFinder(
0256:                    com.liferay.portal.service.persistence.GroupFinder groupFinder) {
0257:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0258:                        .getService();
0259:
0260:                subscriptionLocalService.setGroupFinder(groupFinder);
0261:            }
0262:
0263:            public static com.liferay.portal.service.persistence.ImagePersistence getImagePersistence() {
0264:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0265:                        .getService();
0266:
0267:                return subscriptionLocalService.getImagePersistence();
0268:            }
0269:
0270:            public static void setImagePersistence(
0271:                    com.liferay.portal.service.persistence.ImagePersistence imagePersistence) {
0272:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0273:                        .getService();
0274:
0275:                subscriptionLocalService.setImagePersistence(imagePersistence);
0276:            }
0277:
0278:            public static com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence() {
0279:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0280:                        .getService();
0281:
0282:                return subscriptionLocalService.getLayoutPersistence();
0283:            }
0284:
0285:            public static void setLayoutPersistence(
0286:                    com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence) {
0287:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0288:                        .getService();
0289:
0290:                subscriptionLocalService
0291:                        .setLayoutPersistence(layoutPersistence);
0292:            }
0293:
0294:            public static com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder() {
0295:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0296:                        .getService();
0297:
0298:                return subscriptionLocalService.getLayoutFinder();
0299:            }
0300:
0301:            public static void setLayoutFinder(
0302:                    com.liferay.portal.service.persistence.LayoutFinder layoutFinder) {
0303:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0304:                        .getService();
0305:
0306:                subscriptionLocalService.setLayoutFinder(layoutFinder);
0307:            }
0308:
0309:            public static com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence() {
0310:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0311:                        .getService();
0312:
0313:                return subscriptionLocalService.getLayoutSetPersistence();
0314:            }
0315:
0316:            public static void setLayoutSetPersistence(
0317:                    com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence) {
0318:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0319:                        .getService();
0320:
0321:                subscriptionLocalService
0322:                        .setLayoutSetPersistence(layoutSetPersistence);
0323:            }
0324:
0325:            public static com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence() {
0326:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0327:                        .getService();
0328:
0329:                return subscriptionLocalService.getListTypePersistence();
0330:            }
0331:
0332:            public static void setListTypePersistence(
0333:                    com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence) {
0334:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0335:                        .getService();
0336:
0337:                subscriptionLocalService
0338:                        .setListTypePersistence(listTypePersistence);
0339:            }
0340:
0341:            public static com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence() {
0342:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0343:                        .getService();
0344:
0345:                return subscriptionLocalService
0346:                        .getMembershipRequestPersistence();
0347:            }
0348:
0349:            public static void setMembershipRequestPersistence(
0350:                    com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence) {
0351:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0352:                        .getService();
0353:
0354:                subscriptionLocalService
0355:                        .setMembershipRequestPersistence(membershipRequestPersistence);
0356:            }
0357:
0358:            public static com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence() {
0359:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0360:                        .getService();
0361:
0362:                return subscriptionLocalService.getOrganizationPersistence();
0363:            }
0364:
0365:            public static void setOrganizationPersistence(
0366:                    com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence) {
0367:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0368:                        .getService();
0369:
0370:                subscriptionLocalService
0371:                        .setOrganizationPersistence(organizationPersistence);
0372:            }
0373:
0374:            public static com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder() {
0375:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0376:                        .getService();
0377:
0378:                return subscriptionLocalService.getOrganizationFinder();
0379:            }
0380:
0381:            public static void setOrganizationFinder(
0382:                    com.liferay.portal.service.persistence.OrganizationFinder organizationFinder) {
0383:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0384:                        .getService();
0385:
0386:                subscriptionLocalService
0387:                        .setOrganizationFinder(organizationFinder);
0388:            }
0389:
0390:            public static com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence() {
0391:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0392:                        .getService();
0393:
0394:                return subscriptionLocalService
0395:                        .getOrgGroupPermissionPersistence();
0396:            }
0397:
0398:            public static void setOrgGroupPermissionPersistence(
0399:                    com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence) {
0400:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0401:                        .getService();
0402:
0403:                subscriptionLocalService
0404:                        .setOrgGroupPermissionPersistence(orgGroupPermissionPersistence);
0405:            }
0406:
0407:            public static com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder() {
0408:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0409:                        .getService();
0410:
0411:                return subscriptionLocalService.getOrgGroupPermissionFinder();
0412:            }
0413:
0414:            public static void setOrgGroupPermissionFinder(
0415:                    com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder) {
0416:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0417:                        .getService();
0418:
0419:                subscriptionLocalService
0420:                        .setOrgGroupPermissionFinder(orgGroupPermissionFinder);
0421:            }
0422:
0423:            public static com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence() {
0424:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0425:                        .getService();
0426:
0427:                return subscriptionLocalService.getOrgGroupRolePersistence();
0428:            }
0429:
0430:            public static void setOrgGroupRolePersistence(
0431:                    com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence) {
0432:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0433:                        .getService();
0434:
0435:                subscriptionLocalService
0436:                        .setOrgGroupRolePersistence(orgGroupRolePersistence);
0437:            }
0438:
0439:            public static com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence() {
0440:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0441:                        .getService();
0442:
0443:                return subscriptionLocalService.getOrgLaborPersistence();
0444:            }
0445:
0446:            public static void setOrgLaborPersistence(
0447:                    com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence) {
0448:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0449:                        .getService();
0450:
0451:                subscriptionLocalService
0452:                        .setOrgLaborPersistence(orgLaborPersistence);
0453:            }
0454:
0455:            public static com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence() {
0456:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0457:                        .getService();
0458:
0459:                return subscriptionLocalService.getPasswordPolicyPersistence();
0460:            }
0461:
0462:            public static void setPasswordPolicyPersistence(
0463:                    com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence) {
0464:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0465:                        .getService();
0466:
0467:                subscriptionLocalService
0468:                        .setPasswordPolicyPersistence(passwordPolicyPersistence);
0469:            }
0470:
0471:            public static com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder() {
0472:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0473:                        .getService();
0474:
0475:                return subscriptionLocalService.getPasswordPolicyFinder();
0476:            }
0477:
0478:            public static void setPasswordPolicyFinder(
0479:                    com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder) {
0480:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0481:                        .getService();
0482:
0483:                subscriptionLocalService
0484:                        .setPasswordPolicyFinder(passwordPolicyFinder);
0485:            }
0486:
0487:            public static com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
0488:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0489:                        .getService();
0490:
0491:                return subscriptionLocalService
0492:                        .getPasswordPolicyRelPersistence();
0493:            }
0494:
0495:            public static void setPasswordPolicyRelPersistence(
0496:                    com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
0497:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0498:                        .getService();
0499:
0500:                subscriptionLocalService
0501:                        .setPasswordPolicyRelPersistence(passwordPolicyRelPersistence);
0502:            }
0503:
0504:            public static com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence() {
0505:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0506:                        .getService();
0507:
0508:                return subscriptionLocalService.getPasswordTrackerPersistence();
0509:            }
0510:
0511:            public static void setPasswordTrackerPersistence(
0512:                    com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence) {
0513:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0514:                        .getService();
0515:
0516:                subscriptionLocalService
0517:                        .setPasswordTrackerPersistence(passwordTrackerPersistence);
0518:            }
0519:
0520:            public static com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence() {
0521:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0522:                        .getService();
0523:
0524:                return subscriptionLocalService.getPermissionPersistence();
0525:            }
0526:
0527:            public static void setPermissionPersistence(
0528:                    com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence) {
0529:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0530:                        .getService();
0531:
0532:                subscriptionLocalService
0533:                        .setPermissionPersistence(permissionPersistence);
0534:            }
0535:
0536:            public static com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder() {
0537:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0538:                        .getService();
0539:
0540:                return subscriptionLocalService.getPermissionFinder();
0541:            }
0542:
0543:            public static void setPermissionFinder(
0544:                    com.liferay.portal.service.persistence.PermissionFinder permissionFinder) {
0545:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0546:                        .getService();
0547:
0548:                subscriptionLocalService.setPermissionFinder(permissionFinder);
0549:            }
0550:
0551:            public static com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder() {
0552:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0553:                        .getService();
0554:
0555:                return subscriptionLocalService.getPermissionUserFinder();
0556:            }
0557:
0558:            public static void setPermissionUserFinder(
0559:                    com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder) {
0560:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0561:                        .getService();
0562:
0563:                subscriptionLocalService
0564:                        .setPermissionUserFinder(permissionUserFinder);
0565:            }
0566:
0567:            public static com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence() {
0568:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0569:                        .getService();
0570:
0571:                return subscriptionLocalService.getPhonePersistence();
0572:            }
0573:
0574:            public static void setPhonePersistence(
0575:                    com.liferay.portal.service.persistence.PhonePersistence phonePersistence) {
0576:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0577:                        .getService();
0578:
0579:                subscriptionLocalService.setPhonePersistence(phonePersistence);
0580:            }
0581:
0582:            public static com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence() {
0583:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0584:                        .getService();
0585:
0586:                return subscriptionLocalService.getPluginSettingPersistence();
0587:            }
0588:
0589:            public static void setPluginSettingPersistence(
0590:                    com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence) {
0591:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0592:                        .getService();
0593:
0594:                subscriptionLocalService
0595:                        .setPluginSettingPersistence(pluginSettingPersistence);
0596:            }
0597:
0598:            public static com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence() {
0599:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0600:                        .getService();
0601:
0602:                return subscriptionLocalService.getPortletPersistence();
0603:            }
0604:
0605:            public static void setPortletPersistence(
0606:                    com.liferay.portal.service.persistence.PortletPersistence portletPersistence) {
0607:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0608:                        .getService();
0609:
0610:                subscriptionLocalService
0611:                        .setPortletPersistence(portletPersistence);
0612:            }
0613:
0614:            public static com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence() {
0615:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0616:                        .getService();
0617:
0618:                return subscriptionLocalService
0619:                        .getPortletPreferencesPersistence();
0620:            }
0621:
0622:            public static void setPortletPreferencesPersistence(
0623:                    com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence) {
0624:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0625:                        .getService();
0626:
0627:                subscriptionLocalService
0628:                        .setPortletPreferencesPersistence(portletPreferencesPersistence);
0629:            }
0630:
0631:            public static com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder() {
0632:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0633:                        .getService();
0634:
0635:                return subscriptionLocalService.getPortletPreferencesFinder();
0636:            }
0637:
0638:            public static void setPortletPreferencesFinder(
0639:                    com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder) {
0640:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0641:                        .getService();
0642:
0643:                subscriptionLocalService
0644:                        .setPortletPreferencesFinder(portletPreferencesFinder);
0645:            }
0646:
0647:            public static com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence() {
0648:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0649:                        .getService();
0650:
0651:                return subscriptionLocalService.getRegionPersistence();
0652:            }
0653:
0654:            public static void setRegionPersistence(
0655:                    com.liferay.portal.service.persistence.RegionPersistence regionPersistence) {
0656:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0657:                        .getService();
0658:
0659:                subscriptionLocalService
0660:                        .setRegionPersistence(regionPersistence);
0661:            }
0662:
0663:            public static com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence() {
0664:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0665:                        .getService();
0666:
0667:                return subscriptionLocalService.getReleasePersistence();
0668:            }
0669:
0670:            public static void setReleasePersistence(
0671:                    com.liferay.portal.service.persistence.ReleasePersistence releasePersistence) {
0672:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0673:                        .getService();
0674:
0675:                subscriptionLocalService
0676:                        .setReleasePersistence(releasePersistence);
0677:            }
0678:
0679:            public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
0680:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0681:                        .getService();
0682:
0683:                return subscriptionLocalService.getResourcePersistence();
0684:            }
0685:
0686:            public static void setResourcePersistence(
0687:                    com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
0688:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0689:                        .getService();
0690:
0691:                subscriptionLocalService
0692:                        .setResourcePersistence(resourcePersistence);
0693:            }
0694:
0695:            public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
0696:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0697:                        .getService();
0698:
0699:                return subscriptionLocalService.getResourceFinder();
0700:            }
0701:
0702:            public static void setResourceFinder(
0703:                    com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
0704:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0705:                        .getService();
0706:
0707:                subscriptionLocalService.setResourceFinder(resourceFinder);
0708:            }
0709:
0710:            public static com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence() {
0711:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0712:                        .getService();
0713:
0714:                return subscriptionLocalService.getResourceCodePersistence();
0715:            }
0716:
0717:            public static void setResourceCodePersistence(
0718:                    com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence) {
0719:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0720:                        .getService();
0721:
0722:                subscriptionLocalService
0723:                        .setResourceCodePersistence(resourceCodePersistence);
0724:            }
0725:
0726:            public static com.liferay.portal.service.persistence.RolePersistence getRolePersistence() {
0727:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0728:                        .getService();
0729:
0730:                return subscriptionLocalService.getRolePersistence();
0731:            }
0732:
0733:            public static void setRolePersistence(
0734:                    com.liferay.portal.service.persistence.RolePersistence rolePersistence) {
0735:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0736:                        .getService();
0737:
0738:                subscriptionLocalService.setRolePersistence(rolePersistence);
0739:            }
0740:
0741:            public static com.liferay.portal.service.persistence.RoleFinder getRoleFinder() {
0742:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0743:                        .getService();
0744:
0745:                return subscriptionLocalService.getRoleFinder();
0746:            }
0747:
0748:            public static void setRoleFinder(
0749:                    com.liferay.portal.service.persistence.RoleFinder roleFinder) {
0750:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0751:                        .getService();
0752:
0753:                subscriptionLocalService.setRoleFinder(roleFinder);
0754:            }
0755:
0756:            public static com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence() {
0757:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0758:                        .getService();
0759:
0760:                return subscriptionLocalService
0761:                        .getServiceComponentPersistence();
0762:            }
0763:
0764:            public static void setServiceComponentPersistence(
0765:                    com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence) {
0766:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0767:                        .getService();
0768:
0769:                subscriptionLocalService
0770:                        .setServiceComponentPersistence(serviceComponentPersistence);
0771:            }
0772:
0773:            public static com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence() {
0774:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0775:                        .getService();
0776:
0777:                return subscriptionLocalService.getSubscriptionPersistence();
0778:            }
0779:
0780:            public static void setSubscriptionPersistence(
0781:                    com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence) {
0782:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0783:                        .getService();
0784:
0785:                subscriptionLocalService
0786:                        .setSubscriptionPersistence(subscriptionPersistence);
0787:            }
0788:
0789:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
0790:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0791:                        .getService();
0792:
0793:                return subscriptionLocalService.getUserPersistence();
0794:            }
0795:
0796:            public static void setUserPersistence(
0797:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
0798:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0799:                        .getService();
0800:
0801:                subscriptionLocalService.setUserPersistence(userPersistence);
0802:            }
0803:
0804:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
0805:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0806:                        .getService();
0807:
0808:                return subscriptionLocalService.getUserFinder();
0809:            }
0810:
0811:            public static void setUserFinder(
0812:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
0813:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0814:                        .getService();
0815:
0816:                subscriptionLocalService.setUserFinder(userFinder);
0817:            }
0818:
0819:            public static com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence() {
0820:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0821:                        .getService();
0822:
0823:                return subscriptionLocalService.getUserGroupPersistence();
0824:            }
0825:
0826:            public static void setUserGroupPersistence(
0827:                    com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence) {
0828:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0829:                        .getService();
0830:
0831:                subscriptionLocalService
0832:                        .setUserGroupPersistence(userGroupPersistence);
0833:            }
0834:
0835:            public static com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder() {
0836:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0837:                        .getService();
0838:
0839:                return subscriptionLocalService.getUserGroupFinder();
0840:            }
0841:
0842:            public static void setUserGroupFinder(
0843:                    com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder) {
0844:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0845:                        .getService();
0846:
0847:                subscriptionLocalService.setUserGroupFinder(userGroupFinder);
0848:            }
0849:
0850:            public static com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence() {
0851:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0852:                        .getService();
0853:
0854:                return subscriptionLocalService.getUserGroupRolePersistence();
0855:            }
0856:
0857:            public static void setUserGroupRolePersistence(
0858:                    com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence) {
0859:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0860:                        .getService();
0861:
0862:                subscriptionLocalService
0863:                        .setUserGroupRolePersistence(userGroupRolePersistence);
0864:            }
0865:
0866:            public static com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence() {
0867:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0868:                        .getService();
0869:
0870:                return subscriptionLocalService.getUserIdMapperPersistence();
0871:            }
0872:
0873:            public static void setUserIdMapperPersistence(
0874:                    com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence) {
0875:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0876:                        .getService();
0877:
0878:                subscriptionLocalService
0879:                        .setUserIdMapperPersistence(userIdMapperPersistence);
0880:            }
0881:
0882:            public static com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence() {
0883:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0884:                        .getService();
0885:
0886:                return subscriptionLocalService.getUserTrackerPersistence();
0887:            }
0888:
0889:            public static void setUserTrackerPersistence(
0890:                    com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence) {
0891:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0892:                        .getService();
0893:
0894:                subscriptionLocalService
0895:                        .setUserTrackerPersistence(userTrackerPersistence);
0896:            }
0897:
0898:            public static com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence() {
0899:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0900:                        .getService();
0901:
0902:                return subscriptionLocalService.getUserTrackerPathPersistence();
0903:            }
0904:
0905:            public static void setUserTrackerPathPersistence(
0906:                    com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence) {
0907:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0908:                        .getService();
0909:
0910:                subscriptionLocalService
0911:                        .setUserTrackerPathPersistence(userTrackerPathPersistence);
0912:            }
0913:
0914:            public static com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence() {
0915:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0916:                        .getService();
0917:
0918:                return subscriptionLocalService.getWebDAVPropsPersistence();
0919:            }
0920:
0921:            public static void setWebDAVPropsPersistence(
0922:                    com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence) {
0923:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0924:                        .getService();
0925:
0926:                subscriptionLocalService
0927:                        .setWebDAVPropsPersistence(webDAVPropsPersistence);
0928:            }
0929:
0930:            public static com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence() {
0931:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0932:                        .getService();
0933:
0934:                return subscriptionLocalService.getWebsitePersistence();
0935:            }
0936:
0937:            public static void setWebsitePersistence(
0938:                    com.liferay.portal.service.persistence.WebsitePersistence websitePersistence) {
0939:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0940:                        .getService();
0941:
0942:                subscriptionLocalService
0943:                        .setWebsitePersistence(websitePersistence);
0944:            }
0945:
0946:            public static void afterPropertiesSet() {
0947:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0948:                        .getService();
0949:
0950:                subscriptionLocalService.afterPropertiesSet();
0951:            }
0952:
0953:            public static com.liferay.portal.model.Subscription addSubscription(
0954:                    long userId, java.lang.String className, long classPK)
0955:                    throws com.liferay.portal.PortalException,
0956:                    com.liferay.portal.SystemException {
0957:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0958:                        .getService();
0959:
0960:                return subscriptionLocalService.addSubscription(userId,
0961:                        className, classPK);
0962:            }
0963:
0964:            public static com.liferay.portal.model.Subscription addSubscription(
0965:                    long userId, java.lang.String className, long classPK,
0966:                    java.lang.String frequency)
0967:                    throws com.liferay.portal.PortalException,
0968:                    com.liferay.portal.SystemException {
0969:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0970:                        .getService();
0971:
0972:                return subscriptionLocalService.addSubscription(userId,
0973:                        className, classPK, frequency);
0974:            }
0975:
0976:            public static void deleteSubscription(long subscriptionId)
0977:                    throws com.liferay.portal.PortalException,
0978:                    com.liferay.portal.SystemException {
0979:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0980:                        .getService();
0981:
0982:                subscriptionLocalService.deleteSubscription(subscriptionId);
0983:            }
0984:
0985:            public static void deleteSubscription(long userId,
0986:                    java.lang.String className, long classPK)
0987:                    throws com.liferay.portal.PortalException,
0988:                    com.liferay.portal.SystemException {
0989:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0990:                        .getService();
0991:
0992:                subscriptionLocalService.deleteSubscription(userId, className,
0993:                        classPK);
0994:            }
0995:
0996:            public static void deleteSubscriptions(long userId)
0997:                    throws com.liferay.portal.SystemException {
0998:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
0999:                        .getService();
1000:
1001:                subscriptionLocalService.deleteSubscriptions(userId);
1002:            }
1003:
1004:            public static void deleteSubscriptions(long companyId,
1005:                    java.lang.String className, long classPK)
1006:                    throws com.liferay.portal.SystemException {
1007:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
1008:                        .getService();
1009:
1010:                subscriptionLocalService.deleteSubscriptions(companyId,
1011:                        className, classPK);
1012:            }
1013:
1014:            public static com.liferay.portal.model.Subscription getSubscription(
1015:                    long companyId, long userId, java.lang.String className,
1016:                    long classPK) throws com.liferay.portal.PortalException,
1017:                    com.liferay.portal.SystemException {
1018:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
1019:                        .getService();
1020:
1021:                return subscriptionLocalService.getSubscription(companyId,
1022:                        userId, className, classPK);
1023:            }
1024:
1025:            public static java.util.List getSubscriptions(long companyId,
1026:                    java.lang.String className, long classPK)
1027:                    throws com.liferay.portal.PortalException,
1028:                    com.liferay.portal.SystemException {
1029:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
1030:                        .getService();
1031:
1032:                return subscriptionLocalService.getSubscriptions(companyId,
1033:                        className, classPK);
1034:            }
1035:
1036:            public static boolean isSubscribed(long companyId, long userId,
1037:                    java.lang.String className, long classPK)
1038:                    throws com.liferay.portal.PortalException,
1039:                    com.liferay.portal.SystemException {
1040:                SubscriptionLocalService subscriptionLocalService = SubscriptionLocalServiceFactory
1041:                        .getService();
1042:
1043:                return subscriptionLocalService.isSubscribed(companyId, userId,
1044:                        className, classPK);
1045:            }
1046:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.