com.atlassian.greenhopper.web.rapid.issue.fields
Class EpicLinkFieldEntryFactory

java.lang.Object
  extended by com.atlassian.greenhopper.web.rapid.issue.fields.ReadOnlyFieldEntryFactory
      extended by com.atlassian.greenhopper.web.rapid.issue.fields.EpicLinkFieldEntryFactory
All Implemented Interfaces:
FieldEntryFactory

public class EpicLinkFieldEntryFactory
extends ReadOnlyFieldEntryFactory
implements FieldEntryFactory

Generates the FieldEntry for the epic label field. This field is special in that it also contains information about the epic color


Constructor Summary
EpicLinkFieldEntryFactory(FieldHelper helper, EpicCustomFieldService epicCustomFieldService, PermissionService permissionService)
           
 
Method Summary
 EpicLinkFieldEntry createEpicLinkViewEntryForIssue(I18n2 i18n, com.atlassian.jira.issue.Issue epic, com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue issue)
          Creates a view entry for an issue with corresponding epic.
 EpicLinkFieldEntry createViewEntry(I18n2 i18n, com.atlassian.jira.issue.Issue issue, com.atlassian.crowd.embedded.api.User user)
           
 java.lang.String getId()
           
 
Methods inherited from class com.atlassian.greenhopper.web.rapid.issue.fields.ReadOnlyFieldEntryFactory
createEditEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.greenhopper.web.rapid.issue.fields.FieldEntryFactory
createEditEntry
 

Constructor Detail

EpicLinkFieldEntryFactory

public EpicLinkFieldEntryFactory(FieldHelper helper,
                                 EpicCustomFieldService epicCustomFieldService,
                                 PermissionService permissionService)
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface FieldEntryFactory

createEpicLinkViewEntryForIssue

public EpicLinkFieldEntry createEpicLinkViewEntryForIssue(I18n2 i18n,
                                                          com.atlassian.jira.issue.Issue epic,
                                                          com.atlassian.crowd.embedded.api.User user,
                                                          com.atlassian.jira.issue.Issue issue)
Creates a view entry for an issue with corresponding epic. In this case the field value actually comes from the epic, not the issue


createViewEntry

public EpicLinkFieldEntry createViewEntry(I18n2 i18n,
                                          com.atlassian.jira.issue.Issue issue,
                                          com.atlassian.crowd.embedded.api.User user)
Specified by:
createViewEntry in interface FieldEntryFactory


Copyright © 2007-2012 Atlassian. All Rights Reserved.