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 TypeMethodDescriptionvoiddeleteActivitySetting(long groupId, String className, long classPK) voiddeleteActivitySettings(long groupId) protected Stringcom.liferay.social.kernel.model.SocialActivityDefinitiongetActivityDefinition(long groupId, String className, int activityType) protected com.liferay.social.kernel.model.SocialActivityDefinitiongetActivityDefinition(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) booleanisEnabled(long groupId, long classNameId) booleanisEnabled(long groupId, long classNameId, long classPK) protected StringtoJSON(com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition) voidupdateActivitySetting(long groupId, String className, boolean enabled) voidupdateActivitySetting(long groupId, String className, int activityType, com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition) voidupdateActivitySetting(long groupId, String className, long classPK, boolean enabled) voidupdateActivitySettings(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, updateWithUnsafeFunctionMethods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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)
-