com.liferay.portlet.social.service.impl
Class SocialActivitySettingLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.social.service.base.SocialActivitySettingLocalServiceBaseImpl
com.liferay.portlet.social.service.impl.SocialActivitySettingLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, SocialActivitySettingLocalService
public class SocialActivitySettingLocalServiceImpl
- extends SocialActivitySettingLocalServiceBaseImpl
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 |
Method Summary |
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)
|
protected String |
toJSON(SocialActivityCounterDefinition activityCounterDefinition)
|
void |
updateActivitySetting(long groupId,
String className,
boolean enabled)
|
void |
updateActivitySetting(long groupId,
String className,
int activityType,
SocialActivityCounterDefinition activityCounterDefinition)
|
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, 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 |
SocialActivitySettingLocalServiceImpl
public SocialActivitySettingLocalServiceImpl()
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
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
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)