com.liferay.portal.service
Interface SubscriptionLocalService
public interface SubscriptionLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.SubscriptionLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
SubscriptionLocalServiceFactory
,
SubscriptionLocalServiceUtil
Method Summary |
Subscription |
addSubscription(long userId,
java.lang.String className,
long classPK)
|
Subscription |
addSubscription(long userId,
java.lang.String className,
long classPK,
java.lang.String frequency)
|
Subscription |
addSubscription(Subscription subscription)
|
void |
deleteSubscription(long subscriptionId)
|
void |
deleteSubscription(long userId,
java.lang.String className,
long classPK)
|
void |
deleteSubscription(Subscription subscription)
|
void |
deleteSubscriptions(long userId)
|
void |
deleteSubscriptions(long companyId,
java.lang.String className,
long classPK)
|
java.util.List<Subscription> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<Subscription> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
Subscription |
getSubscription(long companyId,
long userId,
java.lang.String className,
long classPK)
|
java.util.List<Subscription> |
getSubscriptions(long companyId,
java.lang.String className,
long classPK)
|
boolean |
isSubscribed(long companyId,
long userId,
java.lang.String className,
long classPK)
|
Subscription |
updateSubscription(Subscription subscription)
|
addSubscription
Subscription addSubscription(Subscription subscription)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteSubscription
void deleteSubscription(long subscriptionId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteSubscription
void deleteSubscription(Subscription subscription)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
dynamicQuery
java.util.List<Subscription> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<Subscription> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateSubscription
Subscription updateSubscription(Subscription subscription)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSubscription
Subscription addSubscription(long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addSubscription
Subscription addSubscription(long userId,
java.lang.String className,
long classPK,
java.lang.String frequency)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteSubscription
void deleteSubscription(long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteSubscriptions
void deleteSubscriptions(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteSubscriptions
void deleteSubscriptions(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubscription
Subscription getSubscription(long companyId,
long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getSubscriptions
java.util.List<Subscription> getSubscriptions(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
isSubscribed
boolean isSubscribed(long companyId,
long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException