Liferay 6.2-ce-ga5

com.liferay.portlet.social.service
Interface SocialActivitySettingService

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

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

Provides the remote service interface for SocialActivitySetting. 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)
           
 List<SocialActivitySetting> getActivitySettings(long groupId)
           
 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

getActivitySettings

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SocialActivitySetting> getActivitySettings(long groupId)
                                                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.2-ce-ga5