Actions and Action Results

A variation is linked to actions of a CxAbstractAction type. Each action represents a changed element of the customization that makes the storefront more personalized.

An example of such a change could be:
  • display a specific component,
  • activate a specific promotion.
Technically, the CxAbstractAction type extends the AbstractAction, which is a part of the processing extension. The AbstractAction has a target attribute which in the case of personalization is a reference to an executable spring bean. As a result, when an action is activated, its executable bean is proceeded. The result of this process is an object extending the class CxAbstractActionResult. Such action results are generated beans and are persisted in the database, however they have effect only when loaded in the current session.