com.liferay.portal.service
Interface SubscriptionLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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:
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)
|
Subscription |
createSubscription(long subscriptionId)
|
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<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
Subscription |
getSubscription(long subscriptionId)
|
Subscription |
getSubscription(long companyId,
long userId,
java.lang.String className,
long classPK)
|
java.util.List<Subscription> |
getSubscriptions(int start,
int end)
|
java.util.List<Subscription> |
getSubscriptions(long companyId,
java.lang.String className,
long classPK)
|
int |
getSubscriptionsCount()
|
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
createSubscription
Subscription createSubscription(long subscriptionId)
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
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubscription
@Transactional(propagation=SUPPORTS,
readOnly=true)
Subscription getSubscription(long subscriptionId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getSubscriptions
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> getSubscriptions(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubscriptionsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSubscriptionsCount()
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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addSubscription
Subscription addSubscription(long userId,
java.lang.String className,
long classPK,
java.lang.String frequency)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteSubscription
void deleteSubscription(long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
Subscription getSubscription(long companyId,
long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSubscriptions
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Subscription> getSubscriptions(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
isSubscribed
boolean isSubscribed(long companyId,
long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException