com.atlassian.greenhopper.customfield
Interface CustomFieldService

All Known Implementing Classes:
CustomFieldServiceImpl

public interface CustomFieldService

Service for encapsulating custom field logic, especially the rather complex JIRA logic behind creating and working with these things.

Author:
ahennecke

Field Summary
static java.lang.String SERVICE
           
 
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)
           
 

Field Detail

SERVICE

static final java.lang.String SERVICE
See Also:
Constant Field Values
Method Detail

createCustomField

com.atlassian.jira.issue.fields.CustomField createCustomField(CustomFieldMetadata fieldMetadata)
Create a new custom field in JIRA with the given configuration


getCustomField

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

associateWithDefaultScreen

void associateWithDefaultScreen(com.atlassian.jira.issue.fields.CustomField customField)
Associate the custom field with the "Default Screen". Note that the first screen tab found will be used.



Copyright © 2007-2011 Atlassian. All Rights Reserved.