Class DeleteGroup

All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class DeleteGroup extends IssueActionSupport
See Also:
  • Constructor Details

  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Overrides:
      doDefault in class webwork.action.ActionSupport
      Throws:
      Exception
    • doValidation

      protected void doValidation()
      Overrides:
      doValidation in class webwork.action.ActionSupport
    • doExecute

      protected String doExecute() throws Exception
      Overrides:
      doExecute in class webwork.action.ActionSupport
      Throws:
      Exception
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • isConfirm

      public boolean isConfirm()
    • setConfirm

      public void setConfirm(boolean confirm)
    • getSwapGroup

      public String getSwapGroup()
    • setSwapGroup

      public void setSwapGroup(String swapGroup)
    • getMatchingCommentsAndWorklogsCount

      public long getMatchingCommentsAndWorklogsCount() throws org.ofbiz.core.entity.GenericEntityException
      Throws:
      org.ofbiz.core.entity.GenericEntityException
    • getOtherGroups

      public Collection getOtherGroups()
      Returns:
      all other groups except this one
    • hasSubscriptions

      public boolean hasSubscriptions()
    • getSubscriptions

      public Collection<String> getSubscriptions()
    • isAssociatedToAnyApplication

      public boolean isAssociatedToAnyApplication()
      Returns true if the currently set group is associated with (ie: grants access to) any application (ApplicationRole).
    • getRolesForGroup

      public List<ApplicationRole> getRolesForGroup()
      Returns the list of unique ApplicationRoles that are associated to the current group name, ordered alphabetically.
      Since:
      7.0
    • getApplicationUsersAffected

      public Integer getApplicationUsersAffected()
      Returns the total number of users that would lose access to one or more application(s) if the currently set group were deleted.
      Since:
      7.0