com.pyxis.greenhopper.jira.fields
Class AbstractSelectField

java.lang.Object
  extended by com.pyxis.greenhopper.jira.fields.AbstractIssueField
      extended by com.pyxis.greenhopper.jira.fields.AbstractSelectField
All Implemented Interfaces:
IssueField
Direct Known Subclasses:
Assignee, Component, CustomFieldSelect, FixForVersion, IssueType, PriorityField, Reporter, ResolutionField, Security

public abstract class AbstractSelectField
extends AbstractIssueField


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
AbstractSelectField(java.lang.String id, java.lang.String label)
           
 
Method Summary
 void doValidate(BoardIssue boardIssue, java.lang.String value)
           
abstract  java.util.LinkedList<FieldOption> getAllAvailableValuesForSelect(BoardIssue boardIssue)
           
 java.lang.String getCreateTemplate()
           
 java.lang.String getDisplayTemplate()
           
 java.lang.String getEditTemplate()
           
 java.lang.String getInputType()
           
 java.lang.String getUpdateTemplate()
           
 java.lang.Object getValueFromString(java.lang.String values)
           
 int lines()
           
 int weight()
           
 
Methods inherited from class com.pyxis.greenhopper.jira.fields.AbstractIssueField
equals, getCssType, getId, getIdAsLong, getJsonDisplayTemplate, getLabel, getLink, getTransitionTemplate, hashCode, isClickable, isCorner, isCustomField, 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
canEdit, getDefaultDisplayValue, getDefaultValue, getDisplayValue, getTooltipValue, getValue, updateValue
 

Constructor Detail

AbstractSelectField

public AbstractSelectField(java.lang.String id,
                           java.lang.String label)
Method Detail

getAllAvailableValuesForSelect

public abstract java.util.LinkedList<FieldOption> getAllAvailableValuesForSelect(BoardIssue boardIssue)

getDisplayTemplate

public java.lang.String getDisplayTemplate()

getEditTemplate

public java.lang.String getEditTemplate()

getCreateTemplate

public java.lang.String getCreateTemplate()

getUpdateTemplate

public java.lang.String getUpdateTemplate()
Specified by:
getUpdateTemplate in interface IssueField
Overrides:
getUpdateTemplate in class AbstractIssueField

getInputType

public java.lang.String getInputType()

getValueFromString

public java.lang.Object getValueFromString(java.lang.String values)

lines

public int lines()

weight

public int weight()

doValidate

public void doValidate(BoardIssue boardIssue,
                       java.lang.String value)
                throws GreenHopperException
Specified by:
doValidate in class AbstractIssueField
Throws:
GreenHopperException


Copyright © 2007-2014 Atlassian. All Rights Reserved.