Liferay 6.1.2-ce-ga3

com.liferay.portlet.social.service
Interface SocialActivitySettingService

All Superinterfaces:
BaseService
All Known Implementing Classes:
SocialActivitySettingServiceBaseImpl, SocialActivitySettingServiceImpl, SocialActivitySettingServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface SocialActivitySettingService
extends BaseService

The interface for the social activity setting remote service.

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

Method Summary
 SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType)
           
 List<SocialActivityDefinition> getActivityDefinitions(long groupId, String className)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 JSONArray getJSONActivityDefinitions(long groupId, String className)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void updateActivitySetting(long groupId, String className, boolean enabled)
           
 void updateActivitySetting(long groupId, String className, int activityType, SocialActivityCounterDefinition activityCounterDefinition)
           
 void updateActivitySettings(long groupId, String className, int activityType, List<SocialActivityCounterDefinition> activityCounterDefinitions)
           
 

Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

getActivityDefinition

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SocialActivityDefinition getActivityDefinition(long groupId,
                                                                                        String className,
                                                                                        int activityType)
                                               throws PortalException,
                                                      SystemException
Throws:
PortalException
SystemException

getActivityDefinitions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SocialActivityDefinition> getActivityDefinitions(long groupId,
                                                                                               String className)
                                                      throws PortalException,
                                                             SystemException
Throws:
PortalException
SystemException

getJSONActivityDefinitions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JSONArray getJSONActivityDefinitions(long groupId,
                                                                              String className)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

updateActivitySetting

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

updateActivitySetting

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

updateActivitySettings

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

Liferay 6.1.2-ce-ga3