public class SocialActivitySettingLocalServiceImpl extends SocialActivitySettingLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, socialActivitySettingLocalService, socialActivitySettingPersistence
Constructor and Description |
---|
SocialActivitySettingLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteActivitySetting(long groupId,
String className,
long classPK) |
void |
deleteActivitySettings(long groupId) |
protected String |
encodeKey(long groupId,
String className,
int activityType) |
com.liferay.social.kernel.model.SocialActivityDefinition |
getActivityDefinition(long groupId,
String className,
int activityType) |
protected com.liferay.social.kernel.model.SocialActivityDefinition |
getActivityDefinition(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) |
boolean |
isEnabled(long groupId,
long classNameId) |
boolean |
isEnabled(long groupId,
long classNameId,
long classPK) |
protected String |
toJSON(com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition) |
void |
updateActivitySetting(long groupId,
String className,
boolean enabled) |
void |
updateActivitySetting(long groupId,
String className,
int activityType,
com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition) |
void |
updateActivitySetting(long groupId,
String className,
long classPK,
boolean enabled) |
void |
updateActivitySettings(long groupId,
String className,
int activityType,
List<com.liferay.social.kernel.model.SocialActivityCounterDefinition> activityCounterDefinitions) |
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, updateWithUnsafeFunction
public SocialActivitySettingLocalServiceImpl()
public void deleteActivitySetting(long groupId, String className, long classPK)
public void deleteActivitySettings(long groupId)
public com.liferay.social.kernel.model.SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType)
public List<com.liferay.social.kernel.model.SocialActivityDefinition> getActivityDefinitions(long groupId, String className)
public List<com.liferay.social.kernel.model.SocialActivitySetting> getActivitySettings(long groupId)
public boolean isEnabled(long groupId, long classNameId)
public boolean isEnabled(long groupId, long classNameId, long classPK)
public void updateActivitySetting(long groupId, String className, boolean enabled) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateActivitySetting(long groupId, String className, int activityType, com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateActivitySetting(long groupId, String className, long classPK, boolean enabled) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateActivitySettings(long groupId, String className, int activityType, List<com.liferay.social.kernel.model.SocialActivityCounterDefinition> activityCounterDefinitions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected String encodeKey(long groupId, String className, int activityType)
protected com.liferay.social.kernel.model.SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType, com.liferay.social.kernel.model.SocialActivityDefinition defaultActivityDefinition)
protected List<com.liferay.social.kernel.model.SocialActivitySetting> getActivitySettings(long groupId, String className, int activityType)
protected String toJSON(com.liferay.social.kernel.model.SocialActivityCounterDefinition activityCounterDefinition)