com.atlassian.jira.imports.project.customfield
Interface ProjectImportableCustomFieldParser

All Superinterfaces:
CustomFieldValueParser
All Known Subinterfaces:
ProjectImportLabelFieldParser
All Known Implementing Classes:
LabelsCFType, ProjectImportLabelFieldParserImpl

public interface ProjectImportableCustomFieldParser
extends CustomFieldValueParser

If a custom field chooses to persist it's data in a table separate to the custom field values table, then it's custom field type will need to implement this interface in order to make it importable via project import.

The CustomField Type will have to return the entity name of the database table that its values are stored in. Additionally it will have to implement the methods from the CustomFieldValueParser interface. This means that the storage of the customfield is very much constrained by it fitting into a ExternalCustomFieldValue domain object.

Since:
v4.2

Field Summary
 
Fields inherited from interface com.atlassian.jira.imports.project.parser.CustomFieldValueParser
CUSTOM_FIELD_VALUE_ENTITY_NAME
 
Method Summary
 String getEntityName()
          The table name of the ofbiz entity (read database table) in which the custom field values for this custom field type are persisted
 
Methods inherited from interface com.atlassian.jira.imports.project.parser.CustomFieldValueParser
getEntityRepresentation, parse
 

Method Detail

getEntityName

String getEntityName()
The table name of the ofbiz entity (read database table) in which the custom field values for this custom field type are persisted

Returns:
The ofbiz table name for this custom field type


Copyright © 2002-2012 Atlassian. All Rights Reserved.