Class SocialActivitySettingServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.social.service.base.SocialActivitySettingServiceBaseImpl
com.liferay.portlet.social.service.impl.SocialActivitySettingServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.social.kernel.service.SocialActivitySettingService
- Author:
- Zsolt Berentey
-
Field Summary
Fields inherited from class com.liferay.portlet.social.service.base.SocialActivitySettingServiceBaseImpl
counterLocalService, socialActivitySettingLocalService, socialActivitySettingPersistence, socialActivitySettingService
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.social.kernel.model.SocialActivityDefinition
getActivityDefinition
(long groupId, String className, int activityType) List<com.liferay.social.kernel.model.SocialActivityDefinition>
getActivityDefinitions
(long groupId, String className) List<com.liferay.social.kernel.model.SocialActivitySetting>
getActivitySettings
(long groupId) com.liferay.portal.kernel.json.JSONArray
getJSONActivityDefinitions
(long groupId, String className) void
updateActivitySetting
(long groupId, String className, boolean enabled) void
updateActivitySetting
(long groupId, String className, int activityType, com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition) void
updateActivitySettings
(long groupId, String className, int activityType, List<com.liferay.social.kernel.model.SocialActivityCounterDefinition> activityCounterDefinitions) Methods inherited from class com.liferay.portlet.social.service.base.SocialActivitySettingServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getSocialActivitySettingLocalService, getSocialActivitySettingPersistence, getSocialActivitySettingService, runSQL, setCounterLocalService, setSocialActivitySettingLocalService, setSocialActivitySettingPersistence, setSocialActivitySettingService
Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
SocialActivitySettingServiceImpl
public SocialActivitySettingServiceImpl()
-
-
Method Details
-
getActivityDefinition
public com.liferay.social.kernel.model.SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getActivityDefinitions
public List<com.liferay.social.kernel.model.SocialActivityDefinition> getActivityDefinitions(long groupId, String className) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getActivitySettings
public List<com.liferay.social.kernel.model.SocialActivitySetting> getActivitySettings(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getJSONActivityDefinitions
public com.liferay.portal.kernel.json.JSONArray getJSONActivityDefinitions(long groupId, String className) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateActivitySetting
public void updateActivitySetting(long groupId, String className, boolean enabled) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateActivitySetting
public void updateActivitySetting(long groupId, String className, int activityType, com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateActivitySettings
public void updateActivitySettings(long groupId, String className, int activityType, List<com.liferay.social.kernel.model.SocialActivityCounterDefinition> activityCounterDefinitions) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-