com.atlassian.greenhopper.customfield
Class CustomFieldServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.customfield.CustomFieldServiceImpl
All Implemented Interfaces:
CustomFieldService

@Service(value="gh-customFieldService")
public class CustomFieldServiceImpl
extends java.lang.Object
implements CustomFieldService


Field Summary
 
Fields inherited from interface com.atlassian.greenhopper.customfield.CustomFieldService
SERVICE
 
Constructor Summary
CustomFieldServiceImpl()
           
 
Method Summary
 void associateWithDefaultScreen(com.atlassian.jira.issue.fields.CustomField customField)
          Associate the custom field with the default screen.
 com.atlassian.jira.issue.fields.CustomField createCustomField(CustomFieldMetadata fieldMetadata)
          Create a new custom field in JIRA with the given configuration
 com.atlassian.jira.issue.fields.CustomField getCustomField(java.lang.Long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFieldServiceImpl

public CustomFieldServiceImpl()
Method Detail

createCustomField

public com.atlassian.jira.issue.fields.CustomField createCustomField(CustomFieldMetadata fieldMetadata)
Description copied from interface: CustomFieldService
Create a new custom field in JIRA with the given configuration

Specified by:
createCustomField in interface CustomFieldService

getCustomField

public com.atlassian.jira.issue.fields.CustomField getCustomField(java.lang.Long id)
Specified by:
getCustomField in interface CustomFieldService
Returns:
the CustomField instance for the given ID, or null if it doesn't exist

associateWithDefaultScreen

public void associateWithDefaultScreen(com.atlassian.jira.issue.fields.CustomField customField)
Associate the custom field with the default screen.

Specified by:
associateWithDefaultScreen in interface CustomFieldService


Copyright © 2007-2011 Atlassian. All Rights Reserved.