Class ConfirmationWithOptionsDto.Builder<T extends Describable>

java.lang.Object
com.evolveum.midpoint.web.component.dialog.ConfirmationWithOptionsDto.Builder<T>
Enclosing class:
ConfirmationWithOptionsDto<T extends Describable>

public static final class ConfirmationWithOptionsDto.Builder<T extends Describable> extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • confirmationTitle

      public ConfirmationWithOptionsDto.Builder<T> confirmationTitle(org.apache.wicket.model.StringResourceModel confirmationTitle)
      Used as a confirmation popup title.
    • titleIconCssClass

      public ConfirmationWithOptionsDto.Builder<T> titleIconCssClass(String titleIconCssClass)
    • confirmationSubtitle

      public ConfirmationWithOptionsDto.Builder<T> confirmationSubtitle(org.apache.wicket.model.StringResourceModel confirmationSubtitle)
      Used as a subtitle or description of a confirmation panel.
    • confirmationOptionsTitle

      public ConfirmationWithOptionsDto.Builder<T> confirmationOptionsTitle(org.apache.wicket.model.StringResourceModel confirmationOptionsTitle)
      Used as a title for the list of confirmation options, if they are present.
    • confirmationInfoMessage

      public ConfirmationWithOptionsDto.Builder<T> confirmationInfoMessage(org.apache.wicket.model.StringResourceModel confirmationInfoMessage)
      Used as a message shown in the info panel. If it is set to null, the info panel will not be shown.
    • externalLinkButtonLabel

      public ConfirmationWithOptionsDto.Builder<T> externalLinkButtonLabel(org.apache.wicket.model.StringResourceModel externalLinkButtonLabel)
      Used as a label on the external link button.
    • externalLinkUrl

      public ConfirmationWithOptionsDto.Builder<T> externalLinkUrl(String externalLinkUrl)
      Used as a url for the external link button. If it is set to null, the external link button will not be shown.
    • confirmationButtonLabel

      public ConfirmationWithOptionsDto.Builder<T> confirmationButtonLabel(org.apache.wicket.model.StringResourceModel confirmationButtonLabel)
      Used as a label for the confirmation button.
    • confirmationButtonClass

      public ConfirmationWithOptionsDto.Builder<T> confirmationButtonClass(String confirmationButtonClass)
      Used as additional css class for the confirmation button.
    • cancelButtonLabel

      public ConfirmationWithOptionsDto.Builder<T> cancelButtonLabel(org.apache.wicket.model.StringResourceModel cancelButtonLabel)
      Used as a label for the cancel button.
    • cancelButtonClass

      public ConfirmationWithOptionsDto.Builder<T> cancelButtonClass(String cancelButtonClass)
      Used as additional css class for the cancel button.
    • confirmationOptions

      public ConfirmationWithOptionsDto.Builder<T> confirmationOptions(List<ConfirmationOption<T>> confirmationOptions)
      Used to show panel with the list of options, which user can select. Selected options are confirmed byt the confirmation button.
    • build

      public ConfirmationWithOptionsDto<T> build()