public class SocialActivitySettingServiceWrapper extends Object implements ServiceWrapper<SocialActivitySettingService>, SocialActivitySettingService
SocialActivitySettingService
.SocialActivitySettingService
Constructor and Description |
---|
SocialActivitySettingServiceWrapper() |
SocialActivitySettingServiceWrapper(SocialActivitySettingService socialActivitySettingService) |
Modifier and Type | Method and Description |
---|---|
SocialActivityDefinition |
getActivityDefinition(long groupId,
String className,
int activityType) |
List<SocialActivityDefinition> |
getActivityDefinitions(long groupId,
String className) |
List<SocialActivitySetting> |
getActivitySettings(long groupId) |
JSONArray |
getJSONActivityDefinitions(long groupId,
String className) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
SocialActivitySettingService |
getWrappedService() |
void |
setWrappedService(SocialActivitySettingService socialActivitySettingService) |
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) |
public SocialActivitySettingServiceWrapper()
public SocialActivitySettingServiceWrapper(SocialActivitySettingService socialActivitySettingService)
public SocialActivityDefinition getActivityDefinition(long groupId, String className, int activityType) throws PortalException
getActivityDefinition
in interface SocialActivitySettingService
PortalException
public List<SocialActivityDefinition> getActivityDefinitions(long groupId, String className) throws PortalException
getActivityDefinitions
in interface SocialActivitySettingService
PortalException
public List<SocialActivitySetting> getActivitySettings(long groupId) throws PortalException
getActivitySettings
in interface SocialActivitySettingService
PortalException
public JSONArray getJSONActivityDefinitions(long groupId, String className) throws PortalException
getJSONActivityDefinitions
in interface SocialActivitySettingService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface SocialActivitySettingService
public void updateActivitySetting(long groupId, String className, boolean enabled) throws PortalException
updateActivitySetting
in interface SocialActivitySettingService
PortalException
public void updateActivitySetting(long groupId, String className, int activityType, SocialActivityCounterDefinition activityCounterDefinition) throws PortalException
updateActivitySetting
in interface SocialActivitySettingService
PortalException
public void updateActivitySettings(long groupId, String className, int activityType, List<SocialActivityCounterDefinition> activityCounterDefinitions) throws PortalException
updateActivitySettings
in interface SocialActivitySettingService
PortalException
public SocialActivitySettingService getWrappedService()
getWrappedService
in interface ServiceWrapper<SocialActivitySettingService>
public void setWrappedService(SocialActivitySettingService socialActivitySettingService)
setWrappedService
in interface ServiceWrapper<SocialActivitySettingService>