public class DefaultActivateBaseSiteInSessionStrategy<T extends BaseSiteModel> extends java.lang.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 java.util.Collection<CatalogVersionModel> |
collectCatalogVersions(T site)
Collects a
CatalogVersionModels for a given site. |
protected java.util.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)
ActivateBaseSiteInSessionStrategyBaseSiteActivationException is
thrown.activate in interface ActivateBaseSiteInSessionStrategy<T extends BaseSiteModel>protected java.util.Collection<CatalogVersionModel> collectCatalogVersions(T site)
CatalogVersionModels for a given site.protected java.util.Set<CatalogModel> collectContentCatalogs(T site)
CatalogModels using a base information for BaseStoreModel.getCatalogs()Copyright © 2018 SAP SE. All Rights Reserved.