Class ViewUserHover

java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.user.ViewUserHover
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class ViewUserHover extends JiraWebActionSupport
Displays the contents of the user hover dialog.
Since:
4.2
See Also:
  • Constructor Details

  • Method Details

    • doDefault

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

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

      public ApplicationUser getUser()
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getAvatarUrl

      public String getAvatarUrl()
    • getAssigneeQuery

      public String getAssigneeQuery()
    • getFormattedEmail

      public String getFormattedEmail()
    • getTime

      public String getTime()
    • getDayOfWeek

      public String getDayOfWeek()
    • getHourOfDay

      public String getHourOfDay()
      Returns the hour of day in the current user's time zone, in 24-hour format.
      Returns:
      the hour of day in the current user's time zone
    • getIsWeekend

      @Nullable public Boolean getIsWeekend()
    • getFirstHoverLink

      public SimpleLink getFirstHoverLink()
    • getRemainingLinks

      public List<SimpleLink> getRemainingLinks()
    • getHoverLinks

      public List<SimpleLink> getHoverLinks()
    • isShowUploadAvatarLink

      public boolean isShowUploadAvatarLink()
    • getTimeZoneCity

      public String getTimeZoneCity()