All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
DeleteUser, EditUserGroups, SetPassword, UserProperty, UserRememberMeCookies

public class ViewUser extends IssueActionSupport
See Also:
  • Field Details

    • name

      protected String name
    • user

      protected ApplicationUser user
    • crowdService

      protected final com.atlassian.crowd.embedded.api.CrowdService crowdService
    • crowdDirectoryService

      protected final com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService
    • userPropertyManager

      protected final UserPropertyManager userPropertyManager
    • userManager

      protected final UserManager userManager
    • featureManager

      protected final FeatureManager featureManager
  • Constructor Details

    • ViewUser

      public ViewUser(com.atlassian.crowd.embedded.api.CrowdService crowdService, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, UserPropertyManager userPropertyManager, UserManager userManager, FeatureManager featureManager, UserApplicationHelper applicationHelper)
    • ViewUser

      public ViewUser(com.atlassian.crowd.embedded.api.CrowdService crowdService, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, UserPropertyManager userPropertyManager, UserManager userManager)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getUser

      public ApplicationUser getUser()
    • getApplicationUser

      public ApplicationUser getApplicationUser()
    • getUserGroups

      public List<GroupView> getUserGroups()
    • getDirectoryName

      public String getDirectoryName()
    • doExecute

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

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

      protected void retrieveUserMetaProperties()
      This method retrieves a user's meta properties
    • isShowPasswordUpdateMsg

      public boolean isShowPasswordUpdateMsg()
    • setShowPasswordUpdateMsg

      public void setShowPasswordUpdateMsg(boolean showPasswordUpdateMsg)
    • getUserProperties

      public Map<String,String> getUserProperties()
    • isRemoteUserPermittedToEditSelectedUser

      public boolean isRemoteUserPermittedToEditSelectedUser()
    • isSelectedUserEditable

      public boolean isSelectedUserEditable()
    • isAnyActionPossible

      public boolean isAnyActionPossible()
    • isStatusEditable

      public boolean isStatusEditable()
    • isRemovableInternally

      public boolean isRemovableInternally()
    • isSelectedUsersGroupsEditable

      public boolean isSelectedUsersGroupsEditable()
    • isSelectedUserApplicationAccessEditable

      public boolean isSelectedUserApplicationAccessEditable()
    • canUpdateUserPassword

      public boolean canUpdateUserPassword()
    • getShowNoAppsWarning

      public boolean getShowNoAppsWarning()
    • getSelectableApplications

      @Nonnull public Collection<UserApplicationHelper.ApplicationSelection> getSelectableApplications()