1
22
23 package com.liferay.portal.service;
24
25
51 public interface SubscriptionLocalService {
52 public com.liferay.portal.model.Subscription addSubscription(
53 com.liferay.portal.model.Subscription model)
54 throws com.liferay.portal.SystemException;
55
56 public java.util.List dynamicQuery(
57 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
58 throws com.liferay.portal.SystemException;
59
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
62 int begin, int end) throws com.liferay.portal.SystemException;
63
64 public com.liferay.portal.model.Subscription updateSubscription(
65 com.liferay.portal.model.Subscription model)
66 throws com.liferay.portal.SystemException;
67
68 public com.liferay.portal.model.Subscription addSubscription(long userId,
69 java.lang.String className, long classPK)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portal.PortalException;
72
73 public com.liferay.portal.model.Subscription addSubscription(long userId,
74 java.lang.String className, long classPK, java.lang.String frequency)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portal.PortalException;
77
78 public void deleteSubscription(long subscriptionId)
79 throws com.liferay.portal.SystemException,
80 com.liferay.portal.PortalException;
81
82 public void deleteSubscription(long userId, java.lang.String className,
83 long classPK)
84 throws com.liferay.portal.SystemException,
85 com.liferay.portal.PortalException;
86
87 public void deleteSubscriptions(long userId)
88 throws com.liferay.portal.SystemException;
89
90 public void deleteSubscriptions(long companyId, java.lang.String className,
91 long classPK) throws com.liferay.portal.SystemException;
92
93 public com.liferay.portal.model.Subscription getSubscription(
94 long companyId, long userId, java.lang.String className, long classPK)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portal.PortalException;
97
98 public java.util.List getSubscriptions(long companyId,
99 java.lang.String className, long classPK)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portal.PortalException;
102
103 public boolean isSubscribed(long companyId, long userId,
104 java.lang.String className, long classPK)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portal.PortalException;
107 }