Java com.liferay.portal.kernel.service SubscriptionLocalServiceUtil fields, constructors, methods, implement or subclass

Example usage for Java com.liferay.portal.kernel.service SubscriptionLocalServiceUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.liferay.portal.kernel.service SubscriptionLocalServiceUtil.

The text is from its open source code.

Method

com.liferay.portal.kernel.model.SubscriptionaddSubscription(long userId, long groupId, String className, long classPK)
Subscribes the user to the entity, notifying him the instant the entity is created, deleted, or modified.
com.liferay.portal.kernel.model.SubscriptionaddSubscription(long userId, long groupId, String className, long classPK, String frequency)
Subscribes the user to the entity, notifying him at the given frequency.
voiddeleteSubscription(long userId, String className, long classPK)
Deletes the user's subscription to the entity.
java.util.ListgetUserSubscriptions(long userId, String className)
Returns all the subscriptions of the user to the entities with the class name.
intgetUserSubscriptionsCount(long userId)
Returns the number of subscriptions of the user.
booleanisSubscribed(long companyId, long userId, String className, long classPK)
Returns true if the user is subscribed to the entity.
booleanisSubscribed(long companyId, long userId, String className, long[] classPKs)
Returns true if the user is subscribed to any of the entities.