Interface IPageTemplate
- All Known Subinterfaces:
IOfflinePageTemplate
,IOnlinePageTemplate
- All Known Implementing Classes:
AggregationPage
,ChildDisaggregationPage
,CommissionPage
,DecommissionPage
,DisaggregationPage
,HierarchyInspectionPage
,MenuPage
,ReceivingPage
,ShippingPage
,TracingPage
public interface IPageTemplate
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Configures this page with user selected configuration.A page configuration editor to render the configuration form and get the configuration for this page.The mobile page template ID.com.persequor.extension.frontend.IString
getTitle()
-
Method Details
-
getTemplateId
String getTemplateId()The mobile page template ID. It must be unique across pages. It is used to match which configuration to use in mobile pages.- Returns:
- the template ID of the page.
-
getTitle
com.persequor.extension.frontend.IString getTitle()- Returns:
- The template title to be displayed on the frontend.
-
getConfigurationEditor
IPageConfigurationEditor getConfigurationEditor()A page configuration editor to render the configuration form and get the configuration for this page.- Returns:
- The page configuration editor to be used for the current page.
-
configure
Configures this page with user selected configuration. This is called when the page is requested by a Saga mobile application.- Parameters:
page
- The current page.
-