public class SocialInjectValueFactory extends Object implements org.craftercms.commons.jackson.mvc.annotations.InjectValueFactory
| Modifier and Type | Field and Description |
|---|---|
protected String |
ignoreAnonymousFlagRoles |
protected org.craftercms.commons.i10n.I10nLogger |
log |
protected NotificationService |
notificationService |
protected ProfileAggregator |
profileAggregator |
| Constructor and Description |
|---|
SocialInjectValueFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
anonymizeProfile(UGC object) |
<T> T |
getObjectFor(Class<T> declaringClass,
Object basePropertyValue,
String originalProperty,
Object object) |
void |
setIgnoreAnonymousFlagRoles(String ignoreAnonymousFlagRoles) |
void |
setNotificationServiceImpl(NotificationService notificationService) |
void |
setProfileAggregator(ProfileAggregator profileAggregator) |
protected ProfileAggregator profileAggregator
protected NotificationService notificationService
protected org.craftercms.commons.i10n.I10nLogger log
protected String ignoreAnonymousFlagRoles
public <T> T getObjectFor(Class<T> declaringClass, Object basePropertyValue, String originalProperty, Object object)
getObjectFor in interface org.craftercms.commons.jackson.mvc.annotations.InjectValueFactoryprotected void anonymizeProfile(UGC object)
public void setProfileAggregator(ProfileAggregator profileAggregator)
public void setNotificationServiceImpl(NotificationService notificationService)
public void setIgnoreAnonymousFlagRoles(String ignoreAnonymousFlagRoles)
Copyright © 2019 CrafterCMS. All Rights Reserved.