Liferay 6.2-ce-ga5

com.liferay.portlet.social.service
Class SocialActivitySettingServiceUtil

java.lang.Object
  extended by com.liferay.portlet.social.service.SocialActivitySettingServiceUtil

@ProviderType
public class SocialActivitySettingServiceUtil
extends Object

Provides the remote service utility for SocialActivitySetting. This utility wraps com.liferay.portlet.social.service.impl.SocialActivitySettingServiceImpl and is the primary 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.

See Also:
SocialActivitySettingService, com.liferay.portlet.social.service.base.SocialActivitySettingServiceBaseImpl, com.liferay.portlet.social.service.impl.SocialActivitySettingServiceImpl

Constructor Summary
SocialActivitySettingServiceUtil()
           
 
Method Summary
static SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType)
           
static List<SocialActivityDefinition> getActivityDefinitions(long groupId, String className)
           
static List<SocialActivitySetting> getActivitySettings(long groupId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static JSONArray getJSONActivityDefinitions(long groupId, String className)
           
static SocialActivitySettingService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(SocialActivitySettingService service)
          Deprecated. As of 6.2.0
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialActivitySettingServiceUtil

public SocialActivitySettingServiceUtil()
Method Detail

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

getActivityDefinition

public static SocialActivityDefinition getActivityDefinition(long groupId,
                                                             String className,
                                                             int activityType)
                                                      throws PortalException,
                                                             SystemException
Throws:
PortalException
SystemException

getActivityDefinitions

public static List<SocialActivityDefinition> getActivityDefinitions(long groupId,
                                                                    String className)
                                                             throws PortalException,
                                                                    SystemException
Throws:
PortalException
SystemException

getActivitySettings

public static List<SocialActivitySetting> getActivitySettings(long groupId)
                                                       throws PortalException,
                                                              SystemException
Throws:
PortalException
SystemException

getJSONActivityDefinitions

public static JSONArray getJSONActivityDefinitions(long groupId,
                                                   String className)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

updateActivitySetting

public static void updateActivitySetting(long groupId,
                                         String className,
                                         boolean enabled)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

updateActivitySetting

public static void updateActivitySetting(long groupId,
                                         String className,
                                         int activityType,
                                         SocialActivityCounterDefinition activityCounterDefinition)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

updateActivitySettings

public static void updateActivitySettings(long groupId,
                                          String className,
                                          int activityType,
                                          List<SocialActivityCounterDefinition> activityCounterDefinitions)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getService

public static SocialActivitySettingService getService()

setService

public void setService(SocialActivitySettingService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5