Liferay 6.2-ce-ga5

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

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

public class SocialActivitySettingLocalServiceImpl
extends SocialActivitySettingLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.social.service.base.SocialActivitySettingLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, persistedModelLocalServiceRegistry, resourceLocalService, socialActivityAchievementLocalService, socialActivityAchievementPersistence, socialActivityCounterFinder, socialActivityCounterLocalService, socialActivityCounterPersistence, socialActivityFinder, socialActivityInterpreterLocalService, socialActivityLimitLocalService, socialActivityLimitPersistence, socialActivityLocalService, socialActivityPersistence, socialActivityService, socialActivitySetFinder, socialActivitySetLocalService, socialActivitySetPersistence, socialActivitySettingLocalService, socialActivitySettingPersistence, socialActivitySettingService, socialRelationLocalService, socialRelationPersistence, socialRequestInterpreterLocalService, socialRequestLocalService, socialRequestPersistence, socialRequestService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
SocialActivitySettingLocalServiceImpl()
           
 
Method Summary
 void deleteActivitySetting(long groupId, String className, long classPK)
           
 void deleteActivitySettings(long groupId)
           
protected  String encodeKey(long groupId, String className, int activityType)
           
 SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType)
           
protected  SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType, SocialActivityDefinition defaultActivityDefinition)
           
 List<SocialActivityDefinition> getActivityDefinitions(long groupId, String className)
           
 List<SocialActivitySetting> getActivitySettings(long groupId)
           
protected  List<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(SocialActivityCounterDefinition activityCounterDefinition)
           
 void updateActivitySetting(long groupId, String className, boolean enabled)
           
 void updateActivitySetting(long groupId, String className, int activityType, SocialActivityCounterDefinition activityCounterDefinition)
           
 void updateActivitySetting(long groupId, String className, long classPK, boolean enabled)
           
 void updateActivitySettings(long groupId, String className, int activityType, List<SocialActivityCounterDefinition> activityCounterDefinitions)
           
 
Methods inherited from class com.liferay.portlet.social.service.base.SocialActivitySettingLocalServiceBaseImpl
addSocialActivitySetting, afterPropertiesSet, createSocialActivitySetting, deleteSocialActivitySetting, deleteSocialActivitySetting, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchSocialActivitySetting, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getSocialActivityAchievementLocalService, getSocialActivityAchievementPersistence, getSocialActivityCounterFinder, getSocialActivityCounterLocalService, getSocialActivityCounterPersistence, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLimitLocalService, getSocialActivityLimitPersistence, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSocialActivitySetFinder, getSocialActivitySetLocalService, getSocialActivitySetPersistence, getSocialActivitySetting, getSocialActivitySettingLocalService, getSocialActivitySettingPersistence, getSocialActivitySettings, getSocialActivitySettingsCount, getSocialActivitySettingService, getSocialRelationLocalService, getSocialRelationPersistence, getSocialRequestInterpreterLocalService, getSocialRequestLocalService, getSocialRequestPersistence, getSocialRequestService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setSocialActivityAchievementLocalService, setSocialActivityAchievementPersistence, setSocialActivityCounterFinder, setSocialActivityCounterLocalService, setSocialActivityCounterPersistence, setSocialActivityFinder, setSocialActivityInterpreterLocalService, setSocialActivityLimitLocalService, setSocialActivityLimitPersistence, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSocialActivitySetFinder, setSocialActivitySetLocalService, setSocialActivitySetPersistence, setSocialActivitySettingLocalService, setSocialActivitySettingPersistence, setSocialActivitySettingService, setSocialRelationLocalService, setSocialRelationPersistence, setSocialRequestInterpreterLocalService, setSocialRequestLocalService, setSocialRequestPersistence, setSocialRequestService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSocialActivitySetting
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
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

deleteActivitySetting

public void deleteActivitySetting(long groupId,
                                  String className,
                                  long classPK)
                           throws SystemException
Throws:
SystemException

deleteActivitySettings

public void deleteActivitySettings(long groupId)
                            throws SystemException
Throws:
SystemException

getActivityDefinition

public SocialActivityDefinition getActivityDefinition(long groupId,
                                                      String className,
                                                      int activityType)
                                               throws SystemException
Throws:
SystemException

getActivityDefinitions

public List<SocialActivityDefinition> getActivityDefinitions(long groupId,
                                                             String className)
                                                      throws SystemException
Throws:
SystemException

getActivitySettings

public List<SocialActivitySetting> getActivitySettings(long groupId)
                                                throws SystemException
Throws:
SystemException

isEnabled

public boolean isEnabled(long groupId,
                         long classNameId)
                  throws SystemException
Throws:
SystemException

isEnabled

public boolean isEnabled(long groupId,
                         long classNameId,
                         long classPK)
                  throws SystemException
Throws:
SystemException

updateActivitySetting

public void updateActivitySetting(long groupId,
                                  String className,
                                  boolean enabled)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

updateActivitySetting

public void updateActivitySetting(long groupId,
                                  String className,
                                  int activityType,
                                  SocialActivityCounterDefinition activityCounterDefinition)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

updateActivitySetting

public void updateActivitySetting(long groupId,
                                  String className,
                                  long classPK,
                                  boolean enabled)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

updateActivitySettings

public void updateActivitySettings(long groupId,
                                   String className,
                                   int activityType,
                                   List<SocialActivityCounterDefinition> activityCounterDefinitions)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

encodeKey

protected String encodeKey(long groupId,
                           String className,
                           int activityType)

getActivityDefinition

protected SocialActivityDefinition getActivityDefinition(long groupId,
                                                         String className,
                                                         int activityType,
                                                         SocialActivityDefinition defaultActivityDefinition)
                                                  throws SystemException
Throws:
SystemException

getActivitySettings

protected List<SocialActivitySetting> getActivitySettings(long groupId,
                                                          String className,
                                                          int activityType)
                                                   throws SystemException
Throws:
SystemException

toJSON

protected String toJSON(SocialActivityCounterDefinition activityCounterDefinition)

Liferay 6.2-ce-ga5