public interface CxActionResultService
| 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
|
java.util.List<CxAbstractActionResult> |
getActionResults(UserModel user,
CatalogVersionModel catalogVersion)
Retrieves action results from the current session for given user and catalog version.
|
java.util.Optional<CxResultsModel> |
getCxResults(UserModel user,
CatalogVersionModel cv)
Returns user result persisted in database
|
void |
loadActionResultsInSession(UserModel user,
java.util.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,
java.util.List<CxAbstractActionResult> actionResults)
Stores action results in the current session for given user and catalog version
|
void |
storeActionResults(UserModel user,
CatalogVersionModel cv,
java.util.List<CxAbstractActionResult> actionResults)
Save action results
|
void |
storeDefaultActionResults(UserModel user,
CatalogVersionModel cv,
java.util.List<CxAbstractActionResult> actionResults)
* Save default action results
|
void setActionResultsInSession(UserModel user, CatalogVersionModel catalogVersion, java.util.List<CxAbstractActionResult> actionResults)
user - user for which action results should be storedcatalogVersion - Catalog versionactionResults - action results to storevoid clearActionResultsInSession(UserModel user, CatalogVersionModel catalogVersion)
user - for which action results should be removedcatalogVersion - Catalog versionjava.util.List<CxAbstractActionResult> getActionResults(UserModel user, CatalogVersionModel catalogVersion)
user - for which action results should be retrievedcatalogVersion - Catalog versionvoid loadActionResultsInSession(UserModel user, java.util.Collection<CatalogVersionModel> catalogVersions)
user - user to load the action results fromcatalogVersions - catalog versions to load the action results forvoid storeActionResults(UserModel user, CatalogVersionModel cv, java.util.List<CxAbstractActionResult> actionResults)
user - user for whom we save resultscv - catalog version for which we save resultsactionResults - action results to savejava.util.Optional<CxResultsModel> getCxResults(UserModel user, CatalogVersionModel cv)
user - user to get results forcv - catalog version for which we retrieve resultvoid storeDefaultActionResults(UserModel user, CatalogVersionModel cv, java.util.List<CxAbstractActionResult> actionResults)
user - user for whom we save resultscv - catalog version for which we save resultsactionResults - action results to saveCopyright © 2018 SAP SE. All Rights Reserved.