public class DefaultCxActionResultService extends Object implements CxActionResultService
CxActionResultService.| Modifier and Type | Field and Description |
|---|---|
static String |
CX_ACTION_RESULTS |
static String |
CX_ACTION_RESULTS_TIME |
| Constructor and Description |
|---|
DefaultCxActionResultService() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearActionResultsInSession(UserModel user,
CatalogVersionModel catalogVersion)
Removes action results from the current session for given user and catalog version
|
List<CxAbstractActionResult> |
getActionResults(UserModel user,
CatalogVersionModel catalogVersion)
Retrieves action results from the current session for given user and catalog version.
|
protected String |
getResultsKey(UserModel user,
CatalogVersionModel catalogVersion) |
protected String |
getResultsTimeKey(UserModel user,
CatalogVersionModel catalogVersion) |
void |
loadActionResultsInSession(UserModel user,
Collection<CatalogVersionModel> catalogVersions)
Load action results stored on the persisted user for the catalog versions and store them on the session.
|
void |
setActionResultsInSession(UserModel user,
CatalogVersionModel catalogVersion,
List<CxAbstractActionResult> actionResults)
Stores action results in the current session for given user and catalog version
|
void |
setModelService(ModelService modelService) |
void |
setSerializationService(SerializationService serializationService) |
void |
setSessionService(SessionService sessionService) |
void |
setTimeService(TimeService timeService) |
void |
storeActionResultsOnUser(UserModel user,
CatalogVersionModel cv,
List<CxAbstractActionResult> actionResults)
Save action results on the user model
|
public static final String CX_ACTION_RESULTS
public static final String CX_ACTION_RESULTS_TIME
public void setActionResultsInSession(UserModel user, CatalogVersionModel catalogVersion, List<CxAbstractActionResult> actionResults)
CxActionResultServicesetActionResultsInSession in interface CxActionResultServiceuser - user for which action results should be storedcatalogVersion - Catalog versionactionResults - action results to storepublic void loadActionResultsInSession(UserModel user, Collection<CatalogVersionModel> catalogVersions)
CxActionResultServiceloadActionResultsInSession in interface CxActionResultServiceuser - user to load the action results fromcatalogVersions - catalog versions to load the action results forpublic void storeActionResultsOnUser(UserModel user, CatalogVersionModel cv, List<CxAbstractActionResult> actionResults)
CxActionResultServicestoreActionResultsOnUser in interface CxActionResultServiceuser - user to save the action results oncv - catalog version to save the action results foractionResults - action results to savepublic void clearActionResultsInSession(UserModel user, CatalogVersionModel catalogVersion)
CxActionResultServiceclearActionResultsInSession in interface CxActionResultServiceuser - for which action results should be removedcatalogVersion - Catalog versionpublic List<CxAbstractActionResult> getActionResults(UserModel user, CatalogVersionModel catalogVersion)
CxActionResultServicegetActionResults in interface CxActionResultServiceuser - for which action results should be retrievedcatalogVersion - Catalog versionprotected String getResultsKey(UserModel user, CatalogVersionModel catalogVersion)
protected String getResultsTimeKey(UserModel user, CatalogVersionModel catalogVersion)
public void setSessionService(SessionService sessionService)
public void setSerializationService(SerializationService serializationService)
public void setModelService(ModelService modelService)
public void setTimeService(TimeService timeService)
Copyright © 2000-2016 SAP SE. All Rights Reserved.