Class FocusListInlineMenuHelper<F extends FocusType>

java.lang.Object
com.evolveum.midpoint.web.component.util.FocusListInlineMenuHelper<F>
All Implemented Interfaces:
Serializable

public class FocusListInlineMenuHelper<F extends FocusType> extends Object implements Serializable
Provides common inline menu functionality for focal objects: enable, disable, reconcile, delete. TODO deduplicate this functionality with the one in PageUsers
See Also:
  • Constructor Details

    • FocusListInlineMenuHelper

      public FocusListInlineMenuHelper(@NotNull @NotNull Class<F> objectClass, @NotNull @NotNull PageBase parentPage, @NotNull @NotNull MainObjectListPanel<F> focusListComponent)
  • Method Details

    • createRowActions

      public List<InlineMenuItem> createRowActions(Class<F> objectType)
    • deleteConfirmedPerformed

      public void deleteConfirmedPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<SelectableBean<F>> selectedObject)
    • isObjectEnabled

      public static boolean isObjectEnabled(org.apache.wicket.model.IModel<?> rowModel, boolean isHeader)
    • isObjectDisabled

      public static boolean isObjectDisabled(org.apache.wicket.model.IModel<?> rowModel, boolean isHeader)
    • isShowConfirmationDialog

      protected boolean isShowConfirmationDialog(ColumnMenuAction<?> action)
    • getConfirmationMessageModel

      protected org.apache.wicket.model.IModel<String> getConfirmationMessageModel(ColumnMenuAction<?> action, String actionName)