com.liferay.portlet.social.service.impl
Class SocialActivitySettingLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.social.service.base.SocialActivitySettingLocalServiceBaseImpl
      extended by com.liferay.portlet.social.service.impl.SocialActivitySettingLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.social.service.SocialActivitySettingLocalService

public class SocialActivitySettingLocalServiceImpl
extends SocialActivitySettingLocalServiceBaseImpl

Author:
Zsolt Berentey

Field Summary
 
Fields inherited from class com.liferay.portlet.social.service.base.SocialActivitySettingLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityAchievementLocalService, socialActivityAchievementPersistence, socialActivityCounterFinder, socialActivityCounterLocalService, socialActivityCounterPersistence, socialActivityFinder, socialActivityInterpreterLocalService, socialActivityLimitLocalService, socialActivityLimitPersistence, socialActivityLocalService, socialActivityPersistence, socialActivitySettingLocalService, socialActivitySettingPersistence, socialActivitySettingService, socialRelationLocalService, socialRelationPersistence, socialRequestInterpreterLocalService, socialRequestLocalService, socialRequestPersistence, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
SocialActivitySettingLocalServiceImpl()
           
 
Method Summary
protected  java.lang.String encodeKey(long groupId, java.lang.String className, int activityType)
           
 com.liferay.portlet.social.model.SocialActivityDefinition getActivityDefinition(long groupId, java.lang.String className, int activityType)
           
protected  com.liferay.portlet.social.model.SocialActivityDefinition getActivityDefinition(long groupId, java.lang.String className, int activityType, com.liferay.portlet.social.model.SocialActivityDefinition defaultActivityDefinition)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivityDefinition> getActivityDefinitions(long groupId, java.lang.String className)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> getActivitySettings(long groupId)
           
protected  java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> getActivitySettings(long groupId, java.lang.String className, int activityType)
           
 boolean isEnabled(long groupId, long classNameId)
           
protected  java.lang.String toJSON(com.liferay.portlet.social.model.SocialActivityCounterDefinition activityCounterDefinition)
           
 void updateActivitySetting(long groupId, java.lang.String className, boolean enabled)
           
 void updateActivitySetting(long groupId, java.lang.String className, int activityType, com.liferay.portlet.social.model.SocialActivityCounterDefinition activityCounterDefinition)
           
 void updateActivitySettings(long groupId, java.lang.String className, int activityType, java.util.List<com.liferay.portlet.social.model.SocialActivityCounterDefinition> activityCounterDefinitions)
           
 
Methods inherited from class com.liferay.portlet.social.service.base.SocialActivitySettingLocalServiceBaseImpl
addSocialActivitySetting, afterPropertiesSet, createSocialActivitySetting, deleteSocialActivitySetting, deleteSocialActivitySetting, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchSocialActivitySetting, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityAchievementLocalService, getSocialActivityAchievementPersistence, getSocialActivityCounterFinder, getSocialActivityCounterLocalService, getSocialActivityCounterPersistence, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLimitLocalService, getSocialActivityLimitPersistence, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivitySetting, getSocialActivitySettingLocalService, getSocialActivitySettingPersistence, getSocialActivitySettings, getSocialActivitySettingsCount, getSocialActivitySettingService, getSocialRelationLocalService, getSocialRelationPersistence, getSocialRequestInterpreterLocalService, getSocialRequestLocalService, getSocialRequestPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityAchievementLocalService, setSocialActivityAchievementPersistence, setSocialActivityCounterFinder, setSocialActivityCounterLocalService, setSocialActivityCounterPersistence, setSocialActivityFinder, setSocialActivityInterpreterLocalService, setSocialActivityLimitLocalService, setSocialActivityLimitPersistence, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivitySettingLocalService, setSocialActivitySettingPersistence, setSocialActivitySettingService, setSocialRelationLocalService, setSocialRelationPersistence, setSocialRequestInterpreterLocalService, setSocialRequestLocalService, setSocialRequestPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSocialActivitySetting, updateSocialActivitySetting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialActivitySettingLocalServiceImpl

public SocialActivitySettingLocalServiceImpl()
Method Detail

getActivityDefinition

public com.liferay.portlet.social.model.SocialActivityDefinition getActivityDefinition(long groupId,
                                                                                       java.lang.String className,
                                                                                       int activityType)
                                                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getActivityDefinitions

public java.util.List<com.liferay.portlet.social.model.SocialActivityDefinition> getActivityDefinitions(long groupId,
                                                                                                        java.lang.String className)
                                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getActivitySettings

public java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> getActivitySettings(long groupId)
                                                                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

isEnabled

public boolean isEnabled(long groupId,
                         long classNameId)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateActivitySetting

public void updateActivitySetting(long groupId,
                                  java.lang.String className,
                                  boolean enabled)
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateActivitySetting

public void updateActivitySetting(long groupId,
                                  java.lang.String className,
                                  int activityType,
                                  com.liferay.portlet.social.model.SocialActivityCounterDefinition activityCounterDefinition)
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateActivitySettings

public void updateActivitySettings(long groupId,
                                   java.lang.String className,
                                   int activityType,
                                   java.util.List<com.liferay.portlet.social.model.SocialActivityCounterDefinition> activityCounterDefinitions)
                            throws com.liferay.portal.kernel.exception.PortalException,
                                   com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

encodeKey

protected java.lang.String encodeKey(long groupId,
                                     java.lang.String className,
                                     int activityType)

getActivityDefinition

protected com.liferay.portlet.social.model.SocialActivityDefinition getActivityDefinition(long groupId,
                                                                                          java.lang.String className,
                                                                                          int activityType,
                                                                                          com.liferay.portlet.social.model.SocialActivityDefinition defaultActivityDefinition)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getActivitySettings

protected java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> getActivitySettings(long groupId,
                                                                                                     java.lang.String className,
                                                                                                     int activityType)
                                                                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

toJSON

protected java.lang.String toJSON(com.liferay.portlet.social.model.SocialActivityCounterDefinition activityCounterDefinition)