Liferay 6.1.2-ce-ga3

com.liferay.portlet.social.service
Class SocialActivitySettingServiceUtil

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

public class SocialActivitySettingServiceUtil
extends Object

The utility for the social activity setting remote service. This utility wraps SocialActivitySettingServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

This is a remote service. 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, SocialActivitySettingServiceBaseImpl, SocialActivitySettingServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
SocialActivitySettingServiceUtil()
           
 
Method Summary
static SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType)
           
static List<SocialActivityDefinition> getActivityDefinitions(long groupId, String className)
           
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.  
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

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. 


Liferay 6.1.2-ce-ga3