com.atlassian.jira.issue.fields
Class DefaultCustomFieldFactory

java.lang.Object
  extended by com.atlassian.jira.issue.fields.DefaultCustomFieldFactory
All Implemented Interfaces:
CustomFieldFactory

public class DefaultCustomFieldFactory
extends Object
implements CustomFieldFactory


Constructor Summary
DefaultCustomFieldFactory(JiraAuthenticationContext authenticationContext, FieldConfigSchemeManager fieldConfigSchemeManager, PermissionManager permissionManager, RendererManager rendererManager, FieldConfigSchemeClauseContextUtil contextUtil, CustomFieldDescription customFieldDescription, FeatureManager featureManager, TranslationManager translationManager, CustomFieldScopeFactory scopeFactory, CustomFieldTypeModuleDescriptors customFieldTypeModuleDescriptors, CustomFieldSearcherModuleDescriptors customFieldSearcherModuleDescriptors)
           
 
Method Summary
 CustomField copyOf(CustomField customField)
          Creates a new instance of CustomField, which is a copy of the given one.
 CustomField create(org.ofbiz.core.entity.GenericValue genericValue)
          Creates a new instance of CustomField.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCustomFieldFactory

public DefaultCustomFieldFactory(JiraAuthenticationContext authenticationContext,
                                 FieldConfigSchemeManager fieldConfigSchemeManager,
                                 PermissionManager permissionManager,
                                 RendererManager rendererManager,
                                 FieldConfigSchemeClauseContextUtil contextUtil,
                                 CustomFieldDescription customFieldDescription,
                                 FeatureManager featureManager,
                                 TranslationManager translationManager,
                                 CustomFieldScopeFactory scopeFactory,
                                 CustomFieldTypeModuleDescriptors customFieldTypeModuleDescriptors,
                                 CustomFieldSearcherModuleDescriptors customFieldSearcherModuleDescriptors)
Method Detail

create

public CustomField create(org.ofbiz.core.entity.GenericValue genericValue)
Description copied from interface: CustomFieldFactory
Creates a new instance of CustomField.

Specified by:
create in interface CustomFieldFactory
Parameters:
genericValue - A GenericValue that represents the custom field.
Returns:
A new instance of CustomField, created from the given generic value.

copyOf

public CustomField copyOf(CustomField customField)
Description copied from interface: CustomFieldFactory
Creates a new instance of CustomField, which is a copy of the given one.

Specified by:
copyOf in interface CustomFieldFactory
Parameters:
customField - The CustomField to copy from.
Returns:
A new instance of CustomField, copied from the given one.


Copyright © 2002-2014 Atlassian. All Rights Reserved.