public class DefaultActivateBaseSiteInSessionStrategy<T extends BaseSiteModel> extends Object implements ActivateBaseSiteInSessionStrategy<T>
| Constructor and Description |
|---|
DefaultActivateBaseSiteInSessionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(T site)
Adjusts a session state based on the given site information.
|
protected Collection<CatalogVersionModel> |
collectCatalogVersions(T site)
Collects a
CatalogVersionModels for a given site. |
protected Set<CatalogModel> |
collectContentCatalogs(T site)
Collects a
CatalogModels using a base information for BaseStoreModel.getCatalogs() |
protected CatalogVersionService |
getCatalogVersionService() |
void |
setCatalogVersionService(CatalogVersionService catalogVersionService) |
public DefaultActivateBaseSiteInSessionStrategy()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
protected CatalogVersionService getCatalogVersionService()
public void activate(T site) throws BaseSiteActivationException
ActivateBaseSiteInSessionStrategyBaseSiteActivationException is
thrown.activate in interface ActivateBaseSiteInSessionStrategy<T extends BaseSiteModel>BaseSiteActivationExceptionprotected Collection<CatalogVersionModel> collectCatalogVersions(T site) throws IllegalArgumentException
CatalogVersionModels for a given site.IllegalArgumentExceptionprotected Set<CatalogModel> collectContentCatalogs(T site)
CatalogModels using a base information for BaseStoreModel.getCatalogs()Copyright © 2017 SAP SE. All Rights Reserved.