Class PageEventConverter
java.lang.Object
com.aquima.web.api.model.page.converters.PageEventConverter
Converts PageEvent objects.
- Since:
- 9.6
- Author:
- Radu Batori
-
Method Summary
Modifier and TypeMethodDescriptioncom.aquima.interactions.portal.PortalEvent
toPortalEvent
(PageEvent event) Converts a PageEvent to a PortalEventcom.aquima.interactions.portal.PortalEvent
toPortalEvent
(PageEvent event, IRuntimeKeyParser parser) Converts a PageEvent to a PortalEvent with a parser.static PageEventConverter
Gets a converter instance that applies no value formatting during conversions.static PageEventConverter
withFormatter
(com.aquima.interactions.foundation.IValueFormatter formatter) Gets a converter instance that uses a value formatter during conversions.
-
Method Details
-
unformatted
Gets a converter instance that applies no value formatting during conversions.- Returns:
- PageEventConverter
-
withFormatter
public static PageEventConverter withFormatter(com.aquima.interactions.foundation.IValueFormatter formatter) Gets a converter instance that uses a value formatter during conversions.- Parameters:
formatter
- the value formatter- Returns:
- PageEventConverter
-
toPortalEvent
Converts a PageEvent to a PortalEvent- Parameters:
event
- the page event- Returns:
- PortalEvent
-
toPortalEvent
public com.aquima.interactions.portal.PortalEvent toPortalEvent(PageEvent event, IRuntimeKeyParser parser) Converts a PageEvent to a PortalEvent with a parser.- Parameters:
event
- the page eventparser
- the parser- Returns:
- PortalEvent
-