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

java.lang.Object
  extended by com.atlassian.greenhopper.web.rapid.issue.fields.OriginalEstimateFieldEntryFactory
All Implemented Interfaces:
ComplexEditableFieldEntryFactory, FieldEntryFactory

public class OriginalEstimateFieldEntryFactory
extends java.lang.Object
implements FieldEntryFactory, ComplexEditableFieldEntryFactory


Field Summary
static java.lang.String ORIGINAL_ESTIMATE_ID
           
 
Constructor Summary
OriginalEstimateFieldEntryFactory(com.atlassian.jira.util.I18nHelper.BeanFactory i18nHelperFactory, com.atlassian.jira.web.bean.TimeTrackingGraphBeanFactory timeTrackingGraphBeanFactory, TimeTrackingService timeTrackingService)
           
 
Method Summary
 FieldEntry createEditEntry(I18n2 i18n, com.atlassian.jira.issue.Issue issue, com.atlassian.crowd.embedded.api.User user)
           
 FieldEntry createViewEntry(I18n2 i18n, com.atlassian.jira.issue.Issue issue, com.atlassian.crowd.embedded.api.User user)
           
 java.lang.String getId()
           
 ServiceOutcome<java.lang.Void> updateField(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue issue, java.lang.String newValue)
          Field will update the issue itself to the new value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORIGINAL_ESTIMATE_ID

public static final java.lang.String ORIGINAL_ESTIMATE_ID
See Also:
Constant Field Values
Constructor Detail

OriginalEstimateFieldEntryFactory

public OriginalEstimateFieldEntryFactory(com.atlassian.jira.util.I18nHelper.BeanFactory i18nHelperFactory,
                                         com.atlassian.jira.web.bean.TimeTrackingGraphBeanFactory timeTrackingGraphBeanFactory,
                                         TimeTrackingService timeTrackingService)
Method Detail

getId

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

createViewEntry

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

createEditEntry

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

updateField

@NotNull
public ServiceOutcome<java.lang.Void> updateField(com.atlassian.crowd.embedded.api.User user,
                                                          com.atlassian.jira.issue.Issue issue,
                                                          java.lang.String newValue)
Description copied from interface: ComplexEditableFieldEntryFactory
Field will update the issue itself to the new value.

Specified by:
updateField in interface ComplexEditableFieldEntryFactory
Parameters:
user - the user performing the update
issue - the issue to be updated
newValue - the new value
Returns:
the outcome - may contain errors


Copyright © 2007-2012 Atlassian. All Rights Reserved.