@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface SocialActivitySettingService extends BaseService
SocialActivitySettingServiceUtil
Modifier and Type | Method and Description |
---|---|
SocialActivityDefinition |
getActivityDefinition(long groupId,
String className,
int activityType)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
List<SocialActivityDefinition> |
getActivityDefinitions(long groupId,
String className) |
List<SocialActivitySetting> |
getActivitySettings(long groupId) |
JSONArray |
getJSONActivityDefinitions(long groupId,
String className) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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) |
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<SocialActivityDefinition> getActivityDefinitions(long groupId, String className) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<SocialActivitySetting> getActivitySettings(long groupId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) JSONArray getJSONActivityDefinitions(long groupId, String className) throws PortalException
PortalException
String getOSGiServiceIdentifier()
void updateActivitySetting(long groupId, String className, boolean enabled) throws PortalException
PortalException
void updateActivitySetting(long groupId, String className, int activityType, SocialActivityCounterDefinition activityCounterDefinition) throws PortalException
PortalException
void updateActivitySettings(long groupId, String className, int activityType, List<SocialActivityCounterDefinition> activityCounterDefinitions) throws PortalException
PortalException