com.atlassian.jira.issue.customfields.config.item
Class FieldPresentationConfigItem

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.config.item.FieldPresentationConfigItem
All Implemented Interfaces:
BasicConfigItemType, FieldConfigItemType

public class FieldPresentationConfigItem
extends java.lang.Object
implements BasicConfigItemType


Field Summary
static java.lang.String OBJECT_KEY
           
 
Constructor Summary
FieldPresentationConfigItem(GenericConfigManager genericConfigManager)
           
 
Method Summary
 java.lang.String getBaseEditUrl()
          Creates the base of the URL that links to the configuration screen for this type of configuration.
 BasicConfigDescriptor getBasicConfigDescriptor()
           
 java.lang.Object getConfigurationObject(Issue issue, FieldConfig config)
          Returns an Object that holds the the configuration.
 java.lang.String getDisplayName()
          The user interface name for this dimension of configuration.
 java.lang.String getDisplayNameKey()
          The i18n key for the user interface name for this dimension of configuration.
 java.lang.String getObjectKey()
          Returns a key unique among FieldConfigItemType implementations for the configuration value so it can be retrieved from a key-value pair store.
 java.lang.String getViewHtml(FieldConfig fieldConfig, FieldLayoutItem fieldLayoutItem)
          Renders a view of the current configuration as html.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_KEY

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

FieldPresentationConfigItem

public FieldPresentationConfigItem(GenericConfigManager genericConfigManager)
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: FieldConfigItemType
The user interface name for this dimension of configuration.

Specified by:
getDisplayName in interface FieldConfigItemType
Returns:
the name.

getDisplayNameKey

public java.lang.String getDisplayNameKey()
Description copied from interface: FieldConfigItemType
The i18n key for the user interface name for this dimension of configuration.

Specified by:
getDisplayNameKey in interface FieldConfigItemType
Returns:
the i18n key.

getViewHtml

public java.lang.String getViewHtml(FieldConfig fieldConfig,
                                    FieldLayoutItem fieldLayoutItem)
Description copied from interface: FieldConfigItemType
Renders a view of the current configuration as html.

Specified by:
getViewHtml in interface FieldConfigItemType
Returns:
the view html.

getObjectKey

public java.lang.String getObjectKey()
Description copied from interface: FieldConfigItemType
Returns a key unique among FieldConfigItemType implementations for the configuration value so it can be retrieved from a key-value pair store.

Specified by:
getObjectKey in interface FieldConfigItemType
Returns:
the configuration key.

getConfigurationObject

public java.lang.Object getConfigurationObject(Issue issue,
                                               FieldConfig config)
Description copied from interface: FieldConfigItemType
Returns an Object that holds the the configuration.

Specified by:
getConfigurationObject in interface FieldConfigItemType
Returns:
the configuration value.

getBaseEditUrl

public java.lang.String getBaseEditUrl()
Description copied from interface: FieldConfigItemType
Creates the base of the URL that links to the configuration screen for this type of configuration.

Specified by:
getBaseEditUrl in interface FieldConfigItemType
Returns:
the URL.

getBasicConfigDescriptor

public BasicConfigDescriptor getBasicConfigDescriptor()
Specified by:
getBasicConfigDescriptor in interface BasicConfigItemType


Copyright © 2002-2010 Atlassian. All Rights Reserved.