public class DefaultCxActionResultService extends java.lang.Object implements CxActionResultService
CxActionResultService.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CX_ACTION_RESULTS |
static java.lang.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
|
protected CxActionResultDao |
getActionResultDao() |
protected int |
getActionResultMaxRepeat() |
java.util.List<CxAbstractActionResult> |
getActionResults(UserModel user,
CatalogVersionModel catalogVersion)
Retrieves action results from the current session for given user and catalog version.
|
protected CxConfigurationService |
getCxConfigurationService() |
protected DefaultSessionTokenService |
getDefaultSessionTokenService() |
protected ModelService |
getModelService() |
protected java.lang.String |
getResultsKey(UserModel user,
CatalogVersionModel catalogVersion) |
protected java.lang.String |
getResultsTimeKey(UserModel user,
CatalogVersionModel catalogVersion) |
protected SerializationService |
getSerializationService() |
protected SessionService |
getSessionService() |
protected TimeService |
getTimeService() |
protected UserService |
getUserService() |
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.
|
protected void |
loadActionResultsInSession(UserModel user,
CxResultsModel r) |
protected void |
loadActionResultsInSessionInternal(UserModel user,
java.util.Collection<CatalogVersionModel> catalogVersions) |
void |
setActionResultDao(CxActionResultDao actionResultDao) |
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 |
setCxConfigurationService(CxConfigurationService cxConfigurationService) |
void |
setDefaultSessionTokenService(DefaultSessionTokenService defaultSessionTokenService) |
void |
setModelService(ModelService modelService) |
void |
setSerializationService(SerializationService serializationService) |
void |
setSessionService(SessionService sessionService) |
void |
setTimeService(TimeService timeService) |
void |
setUserService(UserService userService) |
void |
storeActionResults(UserModel user,
CatalogVersionModel cv,
java.util.List<CxAbstractActionResult> actionResults)
Save action results
|
public static final java.lang.String CX_ACTION_RESULTS
public static final java.lang.String CX_ACTION_RESULTS_TIME
public void setActionResultsInSession(UserModel user, CatalogVersionModel catalogVersion, java.util.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, java.util.Collection<CatalogVersionModel> catalogVersions)
CxActionResultServiceloadActionResultsInSession in interface CxActionResultServiceuser - user to load the action results fromcatalogVersions - catalog versions to load the action results forprotected int getActionResultMaxRepeat()
protected void loadActionResultsInSessionInternal(UserModel user, java.util.Collection<CatalogVersionModel> catalogVersions)
protected void loadActionResultsInSession(UserModel user, CxResultsModel r)
public void storeActionResults(UserModel user, CatalogVersionModel cv, java.util.List<CxAbstractActionResult> actionResults)
CxActionResultServicestoreActionResults in interface CxActionResultServiceuser - user for whom we save resultscv - catalog version for which we save resultsactionResults - action results to savepublic void clearActionResultsInSession(UserModel user, CatalogVersionModel catalogVersion)
CxActionResultServiceclearActionResultsInSession in interface CxActionResultServiceuser - for which action results should be removedcatalogVersion - Catalog versionpublic java.util.List<CxAbstractActionResult> getActionResults(UserModel user, CatalogVersionModel catalogVersion)
CxActionResultServicegetActionResults in interface CxActionResultServiceuser - for which action results should be retrievedcatalogVersion - Catalog versionprotected java.lang.String getResultsKey(UserModel user, CatalogVersionModel catalogVersion)
protected java.lang.String getResultsTimeKey(UserModel user, CatalogVersionModel catalogVersion)
protected SessionService getSessionService()
protected CxConfigurationService getCxConfigurationService()
protected SerializationService getSerializationService()
protected ModelService getModelService()
protected TimeService getTimeService()
protected UserService getUserService()
protected DefaultSessionTokenService getDefaultSessionTokenService()
public void setSessionService(SessionService sessionService)
public void setSerializationService(SerializationService serializationService)
public void setModelService(ModelService modelService)
public void setTimeService(TimeService timeService)
public void setCxConfigurationService(CxConfigurationService cxConfigurationService)
public void setUserService(UserService userService)
public void setDefaultSessionTokenService(DefaultSessionTokenService defaultSessionTokenService)
protected CxActionResultDao getActionResultDao()
public void setActionResultDao(CxActionResultDao actionResultDao)
Copyright © 2018 SAP SE. All Rights Reserved.