public class SocialActivitySettingServiceUtil
extends Object
com.liferay.portlet.social.service.impl.SocialActivitySettingServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.SocialActivitySettingService
Constructor and Description |
---|
SocialActivitySettingServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static SocialActivityDefinition |
getActivityDefinition(long groupId,
String className,
int activityType)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static List<SocialActivityDefinition> |
getActivityDefinitions(long groupId,
String className) |
static List<SocialActivitySetting> |
getActivitySettings(long groupId) |
static JSONArray |
getJSONActivityDefinitions(long groupId,
String className) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static SocialActivitySettingService |
getService() |
static void |
updateActivitySetting(long groupId,
String className,
boolean enabled) |
static void |
updateActivitySetting(long groupId,
String className,
int activityType,
SocialActivityCounterDefinition activityCounterDefinition) |
static void |
updateActivitySettings(long groupId,
String className,
int activityType,
List<SocialActivityCounterDefinition> activityCounterDefinitions) |
public static SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType) throws PortalException
SocialActivitySettingServiceUtil
to access the social activity setting remote service. Add custom service methods to com.liferay.portlet.social.service.impl.SocialActivitySettingServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalException
public static List<SocialActivityDefinition> getActivityDefinitions(long groupId, String className) throws PortalException
PortalException
public static List<SocialActivitySetting> getActivitySettings(long groupId) throws PortalException
PortalException
public static JSONArray getJSONActivityDefinitions(long groupId, String className) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static void updateActivitySetting(long groupId, String className, boolean enabled) throws PortalException
PortalException
public static void updateActivitySetting(long groupId, String className, int activityType, SocialActivityCounterDefinition activityCounterDefinition) throws PortalException
PortalException
public static void updateActivitySettings(long groupId, String className, int activityType, List<SocialActivityCounterDefinition> activityCounterDefinitions) throws PortalException
PortalException
public static SocialActivitySettingService getService()