com.atlassian.greenhopper.web.rapid.list
Class AssigneeCallbackComponent

java.lang.Object
  extended by com.atlassian.greenhopper.web.rapid.list.AssigneeCallbackComponent
All Implemented Interfaces:
RapidIssueEntryCallbackComponent

public class AssigneeCallbackComponent
extends java.lang.Object
implements RapidIssueEntryCallbackComponent

Fetch assignee data and related things. This is all pretty inefficient, hence we're caching it internally in the collector. This is based on the idea that on a work tab, we'll be looking at a large number of issues, but likely only at a pretty limited number of assignees.


Constructor Summary
AssigneeCallbackComponent(com.atlassian.crowd.embedded.api.User user, GHAvatarService avatarService, com.atlassian.jira.avatar.AvatarService jiraAvatarService)
           
 
Method Summary
 java.util.Set<java.lang.String> getFields()
          Get the lucene fields required by this component
 void processFieldData(java.lang.Long issueId, java.lang.String issueKey, IssueFieldValueProvider data, RapidIssueEntry entry)
          Process the result for a given issue and store the outcome into the issue entry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssigneeCallbackComponent

public AssigneeCallbackComponent(com.atlassian.crowd.embedded.api.User user,
                                 GHAvatarService avatarService,
                                 com.atlassian.jira.avatar.AvatarService jiraAvatarService)
Method Detail

getFields

public java.util.Set<java.lang.String> getFields()
Description copied from interface: RapidIssueEntryCallbackComponent
Get the lucene fields required by this component

Specified by:
getFields in interface RapidIssueEntryCallbackComponent

processFieldData

public void processFieldData(java.lang.Long issueId,
                             java.lang.String issueKey,
                             IssueFieldValueProvider data,
                             RapidIssueEntry entry)
Description copied from interface: RapidIssueEntryCallbackComponent
Process the result for a given issue and store the outcome into the issue entry

Specified by:
processFieldData in interface RapidIssueEntryCallbackComponent


Copyright © 2007-2014 Atlassian. All Rights Reserved.