com.pyxis.greenhopper.jira.fields
Class AbstractCustomFieldDate

java.lang.Object
  extended by com.pyxis.greenhopper.jira.fields.AbstractIssueField
      extended by com.pyxis.greenhopper.jira.fields.AbstractDateField
          extended by com.pyxis.greenhopper.jira.fields.AbstractCustomFieldDate
All Implemented Interfaces:
CustomIssueField, IssueField
Direct Known Subclasses:
CustomFieldDate, CustomFieldDateTime

public abstract class AbstractCustomFieldDate
extends AbstractDateField
implements CustomIssueField


Field Summary
 
Fields inherited from class com.pyxis.greenhopper.jira.fields.AbstractIssueField
GREENHOPPER_PLUGIN, GROUP_PICKER, id, idLong, label, log, MULTI_GROUP_PICKER, MULTI_SELECT, MULTI_USER_PICKER, NUMBER, SELECT, TEXT, TEXT_AREA, TEXT_FIELD, USER_PICKER
 
Constructor Summary
AbstractCustomFieldDate(com.atlassian.jira.issue.fields.CustomField field)
           
 
Method Summary
 boolean canEdit(BoardIssue boardIssue)
           
 void doValidate(BoardIssue boardIssue, java.lang.String newValue)
           
 com.atlassian.jira.issue.fields.CustomField getCustomField()
           
 java.lang.String getDefaultDisplayValue(BoardIssue boardIssue)
           
 java.lang.Object getDefaultValue(BoardIssue boardIssue)
           
 java.lang.String getDisplayValue(BoardIssue boardIssue)
           
 java.lang.String getTooltipValue(BoardIssue boardIssue)
           
 java.lang.Object getValue(BoardIssue boardIssue)
           
 java.lang.Object getValueFromString(java.lang.String values)
           
 boolean isCustomField()
           
 void updateValue(BoardIssue boardIssue, java.lang.String newValue)
           
 
Methods inherited from class com.pyxis.greenhopper.jira.fields.AbstractDateField
formatDate, getCalendarFormat, getCreateTemplate, getDisplayTemplate, getEditTemplate, getInputType, getTimeFormat, isClickable, isDateTime, lines, weight
 
Methods inherited from class com.pyxis.greenhopper.jira.fields.AbstractIssueField
equals, getCssType, getId, getIdAsLong, getJsonDisplayTemplate, getLabel, getLink, getTransitionTemplate, getUpdateTemplate, hashCode, isCorner, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.pyxis.greenhopper.jira.fields.IssueField
getCreateTemplate, getCssType, getDisplayTemplate, getEditTemplate, getId, getIdAsLong, getInputType, getJsonDisplayTemplate, getLabel, getLink, getUpdateTemplate, isClickable, isCorner, lines, validate, weight
 

Constructor Detail

AbstractCustomFieldDate

public AbstractCustomFieldDate(com.atlassian.jira.issue.fields.CustomField field)
Method Detail

getCustomField

public com.atlassian.jira.issue.fields.CustomField getCustomField()
Specified by:
getCustomField in interface CustomIssueField

canEdit

public boolean canEdit(BoardIssue boardIssue)
Specified by:
canEdit in interface IssueField

getDisplayValue

public java.lang.String getDisplayValue(BoardIssue boardIssue)
Specified by:
getDisplayValue in interface IssueField

getValue

public java.lang.Object getValue(BoardIssue boardIssue)
Specified by:
getValue in interface IssueField

getTooltipValue

public java.lang.String getTooltipValue(BoardIssue boardIssue)
Specified by:
getTooltipValue in interface IssueField

getValueFromString

public java.lang.Object getValueFromString(java.lang.String values)
Specified by:
getValueFromString in interface IssueField

getDefaultDisplayValue

public java.lang.String getDefaultDisplayValue(BoardIssue boardIssue)
Specified by:
getDefaultDisplayValue in interface IssueField

getDefaultValue

public java.lang.Object getDefaultValue(BoardIssue boardIssue)
Specified by:
getDefaultValue in interface IssueField

updateValue

public void updateValue(BoardIssue boardIssue,
                        java.lang.String newValue)
                 throws GreenHopperException,
                        java.lang.Exception
Specified by:
updateValue in interface IssueField
Throws:
GreenHopperException
java.lang.Exception

isCustomField

public boolean isCustomField()
Specified by:
isCustomField in interface IssueField
Overrides:
isCustomField in class AbstractIssueField

doValidate

public void doValidate(BoardIssue boardIssue,
                       java.lang.String newValue)
                throws GreenHopperException
Overrides:
doValidate in class AbstractDateField
Throws:
GreenHopperException


Copyright © 2007-2014 Atlassian. All Rights Reserved.