Class WelcomePageModel.Builder
java.lang.Object
de.xima.fc.user_portal.view_model.pages.WelcomePageModel.Builder
- Enclosing class:
WelcomePageModel
Builder for configuring an instance of the welcome page model.
- Since:
- 8.2.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new instance of the welcome page model with the configured properties.formsButtonLabel(String formsButtonLabel) Sets the display text for the forms button on the welcome page.labelAccessibility(String labelAccessibility) Sets the display text for the accessibility page of the user portal.labelDataPrivacy(String labelDataPrivacy) Sets the display text for the data privacy page of the user portal.Sets the display text for the help page of the user portal.labelImprint(String labelImprint) Sets the display text for the imprint page of the user portal.labelMailSupport(String labelMailSupport) Sets the display text for the email support page of the user portal.labelTermsConditions(String labelTermsConditions) Sets the display text for the terms and conditions page of the user portal.linkAccessibility(String linkAccessibility) Sets the link for the accessibility page of the user portal.linkDataPrivacy(String linkDataPrivacy) Sets the link for the data privacy page of the user portal.Sets the link for the help page of the user portal.linkImprint(String linkImprint) Sets the link for the imprint of the user portal.linkMailSupport(String linkMailSupport) Sets the link for the email support page of the user portal.linkTermsConditions(String linkTermsConditions) Sets the display text for the terms and conditions page of the user portal.loginButtonLabel(String loginButtonLabel) Sets the display text for the login button on the welcome page.Sets the subtitle for the welcome page, displayed below the main title.Sets the main title for the welcome page.Sets all properties from the localization of the given user portal resource.
-
Method Details
-
build
Builds a new instance of the welcome page model with the configured properties. The builder can be reused after calling this method. The returned instance is immutable.- Returns:
- A new welcome page model.
-
formsButtonLabel
Sets the display text for the forms button on the welcome page.- Parameters:
formsButtonLabel- The forms button text.- Returns:
- This builder for chaining method calls.
-
labelAccessibility
Sets the display text for the accessibility page of the user portal.- Parameters:
labelAccessibility- The accessibility text.- Returns:
- This builder for chaining method calls.
-
labelDataPrivacy
Sets the display text for the data privacy page of the user portal.- Parameters:
labelDataPrivacy- The data privacy text.- Returns:
- This builder for chaining method calls.
-
labelHelp
Sets the display text for the help page of the user portal.- Parameters:
labelHelp- The help text.- Returns:
- This builder for chaining method calls.
-
labelImprint
Sets the display text for the imprint page of the user portal.- Parameters:
labelImprint- The imprint text.- Returns:
- This builder for chaining method calls.
-
labelMailSupport
Sets the display text for the email support page of the user portal.- Parameters:
labelMailSupport- The email support text.- Returns:
- This builder for chaining method calls.
-
labelTermsConditions
Sets the display text for the terms and conditions page of the user portal.- Parameters:
labelTermsConditions- The terms and conditions text.- Returns:
- This builder for chaining method calls.
-
linkAccessibility
Sets the link for the accessibility page of the user portal.- Parameters:
linkAccessibility- The accessibility link.- Returns:
- This builder for chaining method calls.
-
linkDataPrivacy
Sets the link for the data privacy page of the user portal.- Parameters:
linkDataPrivacy- The data privacy link.- Returns:
- This builder for chaining method calls.
-
linkHelp
Sets the link for the help page of the user portal.- Parameters:
linkHelp- The help link.- Returns:
- This builder for chaining method calls.
-
linkImprint
Sets the link for the imprint of the user portal.- Parameters:
linkImprint- The imprint link.- Returns:
- This builder for chaining method calls.
-
linkMailSupport
Sets the link for the email support page of the user portal.- Parameters:
linkMailSupport- The email support link.- Returns:
- This builder for chaining method calls.
-
linkTermsConditions
Sets the display text for the terms and conditions page of the user portal.- Parameters:
linkTermsConditions- The terms and conditions link.- Returns:
- This builder for chaining method calls.
-
loginButtonLabel
Sets the display text for the login button on the welcome page.- Parameters:
loginButtonLabel- The login button text.- Returns:
- This builder for chaining method calls.
-
subtitle
Sets the subtitle for the welcome page, displayed below the main title.- Parameters:
subtitle- The subtitle text.- Returns:
- This builder for chaining method calls.
-
title
Sets the main title for the welcome page.- Parameters:
title- The title text.- Returns:
- This builder for chaining method calls.
-
userPortalLocalizations
Sets all properties from the localization of the given user portal resource.- Parameters:
portal- A user portal resource.- Returns:
- This builder for chaining method calls.
-