Interface ActivateBaseSiteInSessionStrategy<T extends BaseSiteModel>
-
- All Known Implementing Classes:
DefaultActivateBaseSiteInSessionStrategy,DefaultCMSActivateBaseSiteInSessionStrategy,MarketplaceActivateBaseSiteInSessionStrategy
public interface ActivateBaseSiteInSessionStrategy<T extends BaseSiteModel>Strategy to abstract a session injection from possibly content related logic.- Since:
- 4.5
- Spring Bean ID:
- activateBaseSiteInSessionStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivate(T site)Adjusts a session state based on the given site information.
-
-
-
Method Detail
-
activate
void activate(T site)
Adjusts a session state based on the given site information. Depends of the context basecommerce/cms wher used a specific data is being adjusted. If activation fails for some reason aBaseSiteActivationExceptionis thrown.- Throws:
BaseSiteActivationException
-
-