com.atlassian.jira.web.component.issue
Class PeopleBlock

java.lang.Object
  extended by com.atlassian.jira.web.component.AbstractWebComponent
      extended by com.atlassian.jira.web.component.issue.PeopleBlock

public class PeopleBlock
extends AbstractWebComponent


Nested Class Summary
 class PeopleBlock.CustomFieldHelper
           
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.component.AbstractWebComponent
applicationProperties, velocityManager
 
Constructor Summary
PeopleBlock(com.atlassian.velocity.VelocityManager velocityManager, ApplicationProperties applicationProperties, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext, WatcherManager watcherManager, UserFormatManager userFormatManager, FieldVisibilityManager fieldVisibilityManager, FieldScreenRendererFactory fieldScreenRendererFactory, VoteManager voteManager)
           
 
Method Summary
 String getAssigneeDisplayHtml(Issue issue)
          Returns a HTML displayable string of the issues assignee.
 String getHtml(Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, webwork.action.Action action)
           
 String getReporterDisplayHtml(Issue issue)
          Returns a HTML displayable string of the issues reporter.
 
Methods inherited from class com.atlassian.jira.web.component.AbstractWebComponent
getHtml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeopleBlock

public PeopleBlock(com.atlassian.velocity.VelocityManager velocityManager,
                   ApplicationProperties applicationProperties,
                   PermissionManager permissionManager,
                   JiraAuthenticationContext authenticationContext,
                   WatcherManager watcherManager,
                   UserFormatManager userFormatManager,
                   FieldVisibilityManager fieldVisibilityManager,
                   FieldScreenRendererFactory fieldScreenRendererFactory,
                   VoteManager voteManager)
Method Detail

getHtml

public String getHtml(Issue issue,
                      com.atlassian.crowd.embedded.api.User remoteUser,
                      webwork.action.Action action)

getAssigneeDisplayHtml

public String getAssigneeDisplayHtml(Issue issue)
Returns a HTML displayable string of the issues assignee. if the issue:

Parameters:
issue - issue to get the assignee from
Returns:
HTML displayable string of the issues assignee

getReporterDisplayHtml

public String getReporterDisplayHtml(Issue issue)
Returns a HTML displayable string of the issues reporter. if the issue:

Parameters:
issue - issue to get the reporter from
Returns:
HTML displayable string of the issues reporter


Copyright © 2002-2011 Atlassian. All Rights Reserved.