Class RemoveGroupAction

All Implemented Interfaces:
WebInterface, ExternalUserManagementAware, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class RemoveGroupAction extends AbstractGroupAction
See Also:
  • Constructor Details

    • RemoveGroupAction

      public RemoveGroupAction()
  • Method Details

    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • doDefault

      public String doDefault() throws Exception
      prevents last admin group from being deleted
      Overrides:
      doDefault in class ConfluenceActionSupport
      Throws:
      Exception
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • getGlobalPermissionsForThisGroup

      public List<SpacePermission> getGlobalPermissionsForThisGroup()
    • getGroupSpacePermissionsForSpace

      public List<SpacePermission> getGroupSpacePermissionsForSpace(Space space)
    • getSpaces

      public List<Space> getSpaces()
    • getUsers

      @Deprecated public com.atlassian.user.search.page.Pager<String> getUsers()
      Deprecated.
      since 3.3. Use UserAccessor.getMemberNames(Group) directly instead.
      Retrieve a pager over all the users in the group.
    • hasMembers

      public boolean hasMembers()
    • setConfirm

      public void setConfirm(String confirm)
    • getSpaceManager

      public SpaceManager getSpaceManager()
    • setSpaceManager

      public void setSpaceManager(SpaceManager spaceManager)