com.atlassian.jira.imports.project.core
Interface BackupProject

All Known Implementing Classes:
BackupProjectImpl

public interface BackupProject

Represents information about a single project gleaned from an XML backup.

Since:
v3.13

Method Summary
 boolean containsIssue(String id)
           
 ExternalCustomFieldConfiguration getCustomFieldConfiguration(String customFieldId)
           
 Collection getCustomFields()
           
 Collection getIssueIds()
           
 ExternalProject getProject()
           
 Collection getProjectComponents()
           
 Collection getProjectVersions()
           
 

Method Detail

getProject

ExternalProject getProject()
Returns:
the ExternalProject that is represented in the XML backup.

getProjectVersions

Collection getProjectVersions()
Returns:
the ExternalVersion's that are associated with the project returned from getProject().

getProjectComponents

Collection getProjectComponents()
Returns:
the ExternalComponent's that are associated with the project returned from getProject().

getIssueIds

Collection getIssueIds()
Returns:
the issue id's that are associated with the project returned from getProject().

getCustomFields

Collection getCustomFields()
Returns:
the ExternalCustomFieldConfiguration's that describe the custom fields and their configurations for this project.

getCustomFieldConfiguration

ExternalCustomFieldConfiguration getCustomFieldConfiguration(String customFieldId)
Parameters:
customFieldId - the id of the custom field configuration to retrieve
Returns:
the ExternalCustomFieldConfiguration for the custom field with the specified id, null if the project does not have the custom field with the id.

containsIssue

boolean containsIssue(String id)
Parameters:
id - an issue id that can be converted to a Long
Returns:
true if the backup project contains the issue, false otherwise.


Copyright © 2002-2008 Atlassian. All Rights Reserved.