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:
com.liferay.portal.service.SubscriptionServiceFactory
,
com.liferay.portal.service.SubscriptionServiceUtil
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 model)
|
void |
deleteSubscription(long subscriptionId)
|
void |
deleteSubscription(long userId,
java.lang.String className,
long classPK)
|
void |
deleteSubscriptions(long userId)
|
void |
deleteSubscriptions(long companyId,
java.lang.String className,
long classPK)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
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 |
getSubscriptions(long companyId,
java.lang.String className,
long classPK)
|
boolean |
isSubscribed(long companyId,
long userId,
java.lang.String className,
long classPK)
|
Subscription |
updateSubscription(Subscription model)
|
addSubscription
public Subscription addSubscription(Subscription model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateSubscription
public Subscription updateSubscription(Subscription model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSubscription
public 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
public 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
public void deleteSubscription(long subscriptionId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteSubscription
public 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
public void deleteSubscriptions(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteSubscriptions
public void deleteSubscriptions(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubscription
public 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
public java.util.List 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
public 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