com.atlassian.jira.web.util
Class SubTaskQuickCreationConfigImpl

java.lang.Object
  extended bycom.atlassian.jira.web.util.SubTaskQuickCreationConfigImpl
All Implemented Interfaces:
SubTaskQuickCreationConfig

public class SubTaskQuickCreationConfigImpl
extends Object
implements SubTaskQuickCreationConfig

Used to provide the SubTaskQuickCreationWebComponent with configuration parameters. For example, what fields should be displayed


Constructor Summary
SubTaskQuickCreationConfigImpl(ApplicationProperties applicationProperties, FieldManager fieldManager)
           
 
Method Summary
 Collection getDisplayFieldIds()
          Returns a collection of field ids taht shodu be shown on the sub task quick creation form.
 Collection getFieldIds()
          Same as getDisplayFieldIds(), only all the emty strings are stripped out of the retuned collection.
 String getPreset(String fieldId)
           
 Collection getPresetFieldIds()
           
 String getVelocityTemplate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubTaskQuickCreationConfigImpl

public SubTaskQuickCreationConfigImpl(ApplicationProperties applicationProperties,
                                      FieldManager fieldManager)
Method Detail

getDisplayFieldIds

public Collection getDisplayFieldIds()
Description copied from interface: SubTaskQuickCreationConfig
Returns a collection of field ids taht shodu be shown on the sub task quick creation form. The collection uses empty strings to denote taht an empty cell should be shown instead of a field. See IssueFieldConstants for possible field ids.

Specified by:
getDisplayFieldIds in interface SubTaskQuickCreationConfig

getFieldIds

public Collection getFieldIds()
Description copied from interface: SubTaskQuickCreationConfig
Same as SubTaskQuickCreationConfig.getDisplayFieldIds(), only all the emty strings are stripped out of the retuned collection. This method is used by validation code.

Specified by:
getFieldIds in interface SubTaskQuickCreationConfig

getPresetFieldIds

public Collection getPresetFieldIds()
Specified by:
getPresetFieldIds in interface SubTaskQuickCreationConfig

getPreset

public String getPreset(String fieldId)
Specified by:
getPreset in interface SubTaskQuickCreationConfig

getVelocityTemplate

public String getVelocityTemplate()
Specified by:
getVelocityTemplate in interface SubTaskQuickCreationConfig


Copyright © 2002-2007 Atlassian. All Rights Reserved.