Class SocialInjectValueFactory
- java.lang.Object
-
- org.craftercms.social.util.serialization.SocialInjectValueFactory
-
- All Implemented Interfaces:
org.craftercms.commons.jackson.mvc.annotations.InjectValueFactory
public class SocialInjectValueFactory extends Object implements org.craftercms.commons.jackson.mvc.annotations.InjectValueFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected String
ignoreAnonymousFlagRoles
protected org.craftercms.commons.i10n.I10nLogger
log
protected NotificationService
notificationService
protected ProfileAggregator
profileAggregator
-
Constructor Summary
Constructors Constructor Description SocialInjectValueFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
profileAggregator
protected ProfileAggregator profileAggregator
-
notificationService
protected NotificationService notificationService
-
log
protected org.craftercms.commons.i10n.I10nLogger log
-
ignoreAnonymousFlagRoles
protected String ignoreAnonymousFlagRoles
-
-
Method Detail
-
getObjectFor
public <T> T getObjectFor(Class<T> declaringClass, Object basePropertyValue, String originalProperty, Object object)
- Specified by:
getObjectFor
in interfaceorg.craftercms.commons.jackson.mvc.annotations.InjectValueFactory
-
anonymizeProfile
protected void anonymizeProfile(UGC object)
-
setProfileAggregator
public void setProfileAggregator(ProfileAggregator profileAggregator)
-
setNotificationServiceImpl
public void setNotificationServiceImpl(NotificationService notificationService)
-
setIgnoreAnonymousFlagRoles
public void setIgnoreAnonymousFlagRoles(String ignoreAnonymousFlagRoles)
-
-