Class AssignToUsersAction

All Implemented Interfaces:
Action, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.SecuredAction

@StudioAction(target="io.jmix.ui.component.ListComponent", description="Assign the role to selected users") @ActionType("assignToUsers") public class AssignToUsersAction extends SecuredListAction implements Action.ExecutableAction
  • Field Details

  • Constructor Details

    • AssignToUsersAction

      public AssignToUsersAction()
    • AssignToUsersAction

      public AssignToUsersAction(String id)
  • Method Details

    • setScreenBuilders

      @Autowired public void setScreenBuilders(ScreenBuilders screenBuilders)
    • setNotifications

      @Autowired public void setNotifications(Notifications notifications)
    • setMessages

      @Autowired public void setMessages(Messages messages)
    • setDataManager

      @Autowired public void setDataManager(DataManager dataManager)
    • setUserRepository

      @Autowired public void setUserRepository(UserRepository userRepository)
    • setIcons

      @Autowired protected void setIcons(Icons icons)
    • actionPerform

      public void actionPerform(Component component)
      Description copied from interface: Action
      Invoked by owning component to execute the action.
      Specified by:
      actionPerform in interface Action
      Overrides:
      actionPerform in class BaseAction
      Parameters:
      component - invoking component
    • execute

      public void execute()
      Description copied from interface: Action.ExecutableAction
      Executes the Action
      Specified by:
      execute in interface Action.ExecutableAction
    • openDialog

      protected void openDialog()
    • configureScreenLoader

      protected void configureScreenLoader(DataLoader loader)
    • findScreenLoader

      protected DataLoader findScreenLoader(Screen view, Class<?> userClass)
    • selectHandler

      protected void selectHandler(Collection<?> userDetails)
    • showNotification

      protected void showNotification(int selectedItemsCount)
    • findParent

      protected Screen findParent()
    • getRoleType

      protected String getRoleType(BaseRoleModel selectedItem)