com.liferay.portlet.social.service.impl
Class SocialActivitySettingServiceImpl
java.lang.Object
com.liferay.portal.service.base.PrincipalBean
com.liferay.portlet.social.service.base.SocialActivitySettingServiceBaseImpl
com.liferay.portlet.social.service.impl.SocialActivitySettingServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portlet.social.service.SocialActivitySettingService
public class SocialActivitySettingServiceImpl
- extends SocialActivitySettingServiceBaseImpl
- Author:
- Zsolt Berentey
| Fields inherited from class com.liferay.portlet.social.service.base.SocialActivitySettingServiceBaseImpl |
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, 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 |
| Fields inherited from class com.liferay.portal.service.base.PrincipalBean |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
|
Method Summary |
protected void |
checkPermission(long groupId)
|
com.liferay.portlet.social.model.SocialActivityDefinition |
getActivityDefinition(long groupId,
java.lang.String className,
int activityType)
|
java.util.List<com.liferay.portlet.social.model.SocialActivityDefinition> |
getActivityDefinitions(long groupId,
java.lang.String className)
|
com.liferay.portal.kernel.json.JSONArray |
getJSONActivityDefinitions(long groupId,
java.lang.String className)
|
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.SocialActivitySettingServiceBaseImpl |
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityAchievementLocalService, getSocialActivityAchievementPersistence, getSocialActivityCounterFinder, getSocialActivityCounterLocalService, getSocialActivityCounterPersistence, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLimitLocalService, getSocialActivityLimitPersistence, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivitySettingLocalService, getSocialActivitySettingPersistence, 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 |
| Methods inherited from class com.liferay.portal.service.base.PrincipalBean |
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialActivitySettingServiceImpl
public SocialActivitySettingServiceImpl()
getActivityDefinition
public com.liferay.portlet.social.model.SocialActivityDefinition getActivityDefinition(long groupId,
java.lang.String className,
int activityType)
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
getActivityDefinitions
public java.util.List<com.liferay.portlet.social.model.SocialActivityDefinition> getActivityDefinitions(long groupId,
java.lang.String className)
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
getJSONActivityDefinitions
public com.liferay.portal.kernel.json.JSONArray getJSONActivityDefinitions(long groupId,
java.lang.String className)
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,
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
checkPermission
protected void checkPermission(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException