public class DefaultCxRecalculationService extends java.lang.Object implements CxRecalculationService
CxRecalculationService.| Constructor and Description |
|---|
DefaultCxRecalculationService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
asyncRecalculate(UserModel user) |
protected void |
calculateAndLoadInSession(UserModel user) |
CatalogVersionService |
getCatalogVersionService() |
CxService |
getCxService() |
protected CxSegmentService |
getSegmentService() |
UserService |
getUserService() |
protected void |
loadResult(UserModel user) |
void |
recalculate(java.util.List<RecalculateAction> recalculateActions)
Recalculates experience for current user.
|
void |
recalculate(UserModel user,
java.util.List<RecalculateAction> recalculateActions)
Recalculates experience for given user.
|
void |
setCatalogVersionService(CatalogVersionService catalogVersionService) |
void |
setCxService(CxService cxService) |
void |
setSegmentService(CxSegmentService segmentService) |
void |
setUserService(UserService userService) |
protected void |
updateSegments(UserModel user) |
public void recalculate(java.util.List<RecalculateAction> recalculateActions)
CxRecalculationServicerecalculate in interface CxRecalculationServicerecalculateActions - Recalculation actions to be triggered.public void recalculate(UserModel user, java.util.List<RecalculateAction> recalculateActions)
CxRecalculationServicerecalculate in interface CxRecalculationServiceuser - User for which experience should be recalculated.recalculateActions - Recalculation actions to be triggered.protected void calculateAndLoadInSession(UserModel user)
protected void asyncRecalculate(UserModel user)
protected void loadResult(UserModel user)
protected void updateSegments(UserModel user)
public CxService getCxService()
public void setCxService(CxService cxService)
public UserService getUserService()
public void setUserService(UserService userService)
public CatalogVersionService getCatalogVersionService()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
protected CxSegmentService getSegmentService()
public void setSegmentService(CxSegmentService segmentService)
Copyright © 2017 SAP SE. All Rights Reserved.