Class SocialActivitySettingLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.social.service.base.SocialActivitySettingLocalServiceBaseImpl
com.liferay.portlet.social.service.impl.SocialActivitySettingLocalServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.social.kernel.model.SocialActivitySetting>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.social.kernel.service.SocialActivitySettingLocalService
public class SocialActivitySettingLocalServiceImpl
extends SocialActivitySettingLocalServiceBaseImpl
- Author:
- Zsolt Berentey
-
Field Summary
Fields inherited from class com.liferay.portlet.social.service.base.SocialActivitySettingLocalServiceBaseImpl
counterLocalService, socialActivitySettingLocalService, socialActivitySettingPersistence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteActivitySetting
(long groupId, String className, long classPK) void
deleteActivitySettings
(long groupId) protected String
com.liferay.social.kernel.model.SocialActivityDefinition
getActivityDefinition
(long groupId, String className, int activityType) protected com.liferay.social.kernel.model.SocialActivityDefinition
getActivityDefinition
(long groupId, String className, int activityType, com.liferay.social.kernel.model.SocialActivityDefinition defaultActivityDefinition) List<com.liferay.social.kernel.model.SocialActivityDefinition>
getActivityDefinitions
(long groupId, String className) List<com.liferay.social.kernel.model.SocialActivitySetting>
getActivitySettings
(long groupId) protected List<com.liferay.social.kernel.model.SocialActivitySetting>
getActivitySettings
(long groupId, String className, int activityType) boolean
isEnabled
(long groupId, long classNameId) boolean
isEnabled
(long groupId, long classNameId, long classPK) protected String
toJSON
(com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition) void
updateActivitySetting
(long groupId, String className, boolean enabled) void
updateActivitySetting
(long groupId, String className, int activityType, com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition) void
updateActivitySetting
(long groupId, String className, long classPK, boolean enabled) 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.SocialActivitySettingLocalServiceBaseImpl
addSocialActivitySetting, afterPropertiesSet, createPersistedModel, createSocialActivitySetting, deletePersistedModel, deleteSocialActivitySetting, deleteSocialActivitySetting, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchSocialActivitySetting, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getSocialActivitySetting, getSocialActivitySettingLocalService, getSocialActivitySettingPersistence, getSocialActivitySettings, getSocialActivitySettingsCount, initActionableDynamicQuery, runSQL, setCounterLocalService, setSocialActivitySettingLocalService, setSocialActivitySettingPersistence, updateSocialActivitySetting, updateWithUnsafeFunction
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
SocialActivitySettingLocalServiceImpl
public SocialActivitySettingLocalServiceImpl()
-
-
Method Details
-
deleteActivitySetting
-
deleteActivitySettings
public void deleteActivitySettings(long groupId) -
getActivityDefinition
public com.liferay.social.kernel.model.SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType) -
getActivityDefinitions
-
getActivitySettings
public List<com.liferay.social.kernel.model.SocialActivitySetting> getActivitySettings(long groupId) -
isEnabled
public boolean isEnabled(long groupId, long classNameId) -
isEnabled
public boolean isEnabled(long groupId, long classNameId, long classPK) -
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
-
updateActivitySetting
public void updateActivitySetting(long groupId, String className, long classPK, boolean enabled) 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
-
encodeKey
-
getActivityDefinition
protected com.liferay.social.kernel.model.SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType, com.liferay.social.kernel.model.SocialActivityDefinition defaultActivityDefinition) -
getActivitySettings
-
toJSON
protected String toJSON(com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition)
-