|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.util.SubTaskQuickCreationConfigImpl
public class SubTaskQuickCreationConfigImpl
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. |
String |
getFieldI18nLabelKey(String fieldId)
Returns the i18n key for the given field id if such label for such field was defined, otherwise null. |
Collection |
getFieldIds()
Same as SubTaskQuickCreationConfig.getDisplayFieldIds() , only all the emty strings are stripped out of the returned collection. |
String |
getPreset(String fieldId)
Returns the default field value |
Collection |
getPresetFieldIds()
Returns a collection of field ids that have default values. |
String |
getVelocityTemplate()
Returns the path to the template. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubTaskQuickCreationConfigImpl(ApplicationProperties applicationProperties, FieldManager fieldManager)
Method Detail |
---|
public Collection getDisplayFieldIds()
SubTaskQuickCreationConfig
IssueFieldConstants
for possible field ids.
getDisplayFieldIds
in interface SubTaskQuickCreationConfig
public Collection getFieldIds()
SubTaskQuickCreationConfig
SubTaskQuickCreationConfig.getDisplayFieldIds()
, only all the emty strings are stripped out of the returned collection.
This method is used by validation code.
getFieldIds
in interface SubTaskQuickCreationConfig
public Collection getPresetFieldIds()
SubTaskQuickCreationConfig
getPresetFieldIds
in interface SubTaskQuickCreationConfig
public String getFieldI18nLabelKey(String fieldId)
SubTaskQuickCreationConfig
getFieldI18nLabelKey
in interface SubTaskQuickCreationConfig
fieldId
- field id
public String getPreset(String fieldId)
SubTaskQuickCreationConfig
getPreset
in interface SubTaskQuickCreationConfig
fieldId
- field id
public String getVelocityTemplate()
SubTaskQuickCreationConfig
getVelocityTemplate
in interface SubTaskQuickCreationConfig
APKeys.JIRA_SUBTASK_QUICKCREATE_TEMPLATE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |